chromium/printing/backend/cups_helper_unittest.cc

// Copyright 2012 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/cups_helper.h"

#include "base/files/file_util.h"
#include "base/files/scoped_temp_dir.h"
#include "base/scoped_environment_variable_override.h"
#include "base/strings/stringprintf.h"
#include "build/build_config.h"
#include "printing/backend/print_backend.h"
#include "printing/mojom/print.mojom.h"
#include "printing/print_settings.h"
#include "printing/printing_utils.h"
#include "printing/units.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"

namespace printing {

namespace {

// Returns true if the papers have the same name, vendor ID, and size.
bool PapersEqual(const PrinterSemanticCapsAndDefaults::Paper& lhs,
                 const PrinterSemanticCapsAndDefaults::Paper& rhs) {}

void VerifyCapabilityColorModels(const PrinterSemanticCapsAndDefaults& caps) {}

std::string GeneratePpdResolutionTestData(const char* res_name) {}

}  // namespace

TEST(PrintBackendCupsHelperTest, PpdParsingNoColorDuplexShortEdge) {}

// Test duplex detection code, which regressed in http://crbug.com/103999.
TEST(PrintBackendCupsHelperTest, PpdParsingNoColorDuplexSimples) {}

TEST(PrintBackendCupsHelperTest, PpdParsingNoColorNoDuplex) {}

TEST(PrintBackendCupsHelperTest, PpdParsingColorTrueDuplexShortEdge) {}

TEST(PrintBackendCupsHelperTest, PpdParsingColorFalseDuplexLongEdge) {}

TEST(PrintBackendCupsHelperTest, PpdParsingPageSize) {}

TEST(PrintBackendCupsHelperTest, PpdParsingPageSizeNoDefaultSpecified) {}

TEST(PrintBackendCupsHelperTest, PpdParsingPrintableArea) {}

TEST(PrintBackendCupsHelperTest, PpdParsingBrotherPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingHpPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingCanonPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingEpsonPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingKonicaMinoltaPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingLexmarkPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingOkiPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingSamsungPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingSharpPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingXeroxPrinters) {}

TEST(PrintBackendCupsHelperTest, PpdParsingCupsMaxCopies) {}

TEST(PrintBackendCupsHelperTest, PpdParsingResolutionTagNames) {}

TEST(PrintBackendCupsHelperTest, PpdParsingResolutionInvalidDefaultResolution) {}

TEST(PrintBackendCupsHelperTest,
     PpdParsingResolutionStandaloneDefaultResolution) {}

TEST(PrintBackendCupsHelperTest, PpdParsingResolutionNoResolution) {}

TEST(PrintBackendCupsHelperTest, PpdParsingResolutionNoDefaultResolution) {}

TEST(PrintBackendCupsHelperTest, PpdParsingResolutionDpiFormat) {}

TEST(PrintBackendCupsHelperTest, PpdSetsDestOptions) {}

// For crbug.com/1245412
TEST(PrintBackendCupsHelperTest, NoTempFileLeftBehind) {}

}  // namespace printing