chromium/third_party/pdfium/fxbarcode/cfx_barcode_unittest.cpp

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

#include "fxbarcode/cfx_barcode.h"

#include <memory>
#include <string>
#include <utility>

#include "core/fxcrt/fx_coordinates.h"
#include "core/fxcrt/fx_string.h"
#include "core/fxge/cfx_defaultrenderdevice.h"
#include "core/fxge/cfx_renderdevice.h"
#include "core/fxge/dib/cfx_dibitmap.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/utils/bitmap_saver.h"
#include "testing/utils/hash.h"

class BarcodeTest : public testing::Test {};

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Code39
#else
#define MAYBE_Code39
#endif
TEST_F(BarcodeTest, MAYBE_Code39) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_CodaBar
#else
#define MAYBE_CodaBar
#endif
TEST_F(BarcodeTest, MAYBE_CodaBar) {}

TEST_F(BarcodeTest, CodaBarLetters) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Code128
#else
#define MAYBE_Code128
#endif
TEST_F(BarcodeTest, MAYBE_Code128) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Code128B
#else
#define MAYBE_Code128B
#endif
TEST_F(BarcodeTest, MAYBE_Code128B) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Code128C
#else
#define MAYBE_Code128C
#endif
TEST_F(BarcodeTest, MAYBE_Code128C) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Code128CLetters
#else
#define MAYBE_Code128CLetters
#endif
TEST_F(BarcodeTest, MAYBE_Code128CLetters) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Ean8
#else
#define MAYBE_Ean8
#endif
TEST_F(BarcodeTest, MAYBE_Ean8) {}

TEST_F(BarcodeTest, Ean8Letters) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_UPCA
#else
#define MAYBE_UPCA
#endif
TEST_F(BarcodeTest, MAYBE_UPCA) {}

TEST_F(BarcodeTest, UPCALetters) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Ean13
#else
#define MAYBE_Ean13
#endif
TEST_F(BarcodeTest, MAYBE_Ean13) {}

TEST_F(BarcodeTest, Ean13Letters) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_Pdf417
#else
#define MAYBE_Pdf417
#endif
TEST_F(BarcodeTest, MAYBE_Pdf417) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_DataMatrix
#else
#define MAYBE_DataMatrix
#endif
TEST_F(BarcodeTest, MAYBE_DataMatrix) {}

// https://crbug.com/pdfium/738
#if defined(PDF_USE_SKIA)
#define MAYBE_QrCode
#else
#define MAYBE_QrCode
#endif
TEST_F(BarcodeTest, MAYBE_QrCode) {}