#include "pdf/ui/document_properties.h"
#include <optional>
#include <string>
#include "base/i18n/number_formatting.h"
#include "base/i18n/rtl.h"
#include "pdf/document_metadata.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
namespace chrome_pdf {
namespace {
IsEmpty;
class FormatPageSizeTest : public testing::Test { … };
}
TEST_F(FormatPageSizeTest, NoUniformSize) { … }
class FormatPageSizeMillimetersTest : public FormatPageSizeTest { … };
TEST_F(FormatPageSizeMillimetersTest, EmptySize) { … }
TEST_F(FormatPageSizeMillimetersTest, Portrait) { … }
TEST_F(FormatPageSizeMillimetersTest, Landscape) { … }
TEST_F(FormatPageSizeMillimetersTest, Square) { … }
TEST_F(FormatPageSizeMillimetersTest, Large) { … }
class FormatPageSizeMillimetersPeriodSeparatorTest : public FormatPageSizeTest { … };
TEST_F(FormatPageSizeMillimetersPeriodSeparatorTest, Large) { … }
class FormatPageSizeInchesTest : public FormatPageSizeTest { … };
TEST_F(FormatPageSizeInchesTest, EmptySize) { … }
TEST_F(FormatPageSizeInchesTest, Portrait) { … }
TEST_F(FormatPageSizeInchesTest, Landscape) { … }
TEST_F(FormatPageSizeInchesTest, Square) { … }
TEST_F(FormatPageSizeInchesTest, Large) { … }
TEST(FormatPdfVersion, Valid) { … }
TEST(FormatPdfVersion, Invalid) { … }
}