#include "printing/backend/print_backend_utils.h"
#include <map>
#include <memory>
#include "printing/buildflags/buildflags.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "ui/gfx/geometry/size.h"
#if BUILDFLAG(USE_CUPS)
#include "printing/backend/cups_printer.h"
#include "printing/backend/print_backend.h"
#include "printing/units.h"
#include "ui/gfx/geometry/rect.h"
#endif
namespace printing {
TEST(PrintBackendUtilsTest, ParsePaperSizeA4) { … }
TEST(PrintBackendUtilsTest, ParsePaperSizeNaLetter) { … }
TEST(PrintBackendUtilsTest, ParsePaperSizeNaIndex4x6) { … }
TEST(PrintBackendUtilsTest, ParsePaperSizeNaNumber10) { … }
TEST(PrintBackendUtilsTest, ParsePaperSizeBadUnit) { … }
TEST(PrintBackendUtilsTest, ParsePaperSizeBadOneDimension) { … }
#if BUILDFLAG(USE_CUPS)
TEST(PrintBackendUtilsTest, GetDisplayName) { … }
TEST(PrintBackendUtilsTest, GetPrinterDescription) { … }
TEST(PrintBackendUtilsCupsTest, PrintableAreaFromMarginsA4) { … }
TEST(PrintBackendUtilsCupsTest, MarginsFromPrintableAreaA4) { … }
#endif
}