chromium/pdf/pdfium/pdfium_permissions_unittest.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "pdf/pdfium/pdfium_permissions.h"

#include "testing/gtest/include/gtest/gtest.h"

namespace chrome_pdf {

namespace {

constexpr uint32_t GeneratePermissions2(uint32_t permissions) {}

constexpr uint32_t GeneratePermissions3(uint32_t permissions) {}

// Sanity check the permission constants are correct.
static_assert;
static_assert;
static_assert;
static_assert;

// Sanity check the permission generation functions above do the right thing.
static_assert;
static_assert;
static_assert;
static_assert;

TEST(PDFiumPermissionTest, InvalidSecurityHandler) {}

TEST(PDFiumPermissionTest, Revision2SecurityHandlerNone) {}

TEST(PDFiumPermissionTest, Revision2SecurityHandlerAll) {}

TEST(PDFiumPermissionTest, Revision2SecurityHandlerCopyPrint) {}

TEST(PDFiumPermissionTest, Revision3SecurityHandlerNone) {}

TEST(PDFiumPermissionTest, Revision3SecurityHandlerAll) {}

TEST(PDFiumPermissionTest, Revision3SecurityHandlerCopyPrint) {}

}  // namespace

}  // namespace chrome_pdf