#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) { … }
static_assert …;
static_assert …;
static_assert …;
static_assert …;
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) { … }
}
}