chromium/printing/backend/print_backend_utils_unittest.cc

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

#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  // BUILDFLAG(USE_CUPS)

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  // BUILDFLAG(USE_CUPS)

}  // namespace printing