chromium/ui/base/test/skia_gold_matching_algorithm.cc

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

#include "ui/base/test/skia_gold_matching_algorithm.h"

#include "base/command_line.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"

namespace ui {
namespace {
constexpr char kMaxDifferentPixels[] =;
constexpr char kPixelDeltaThreshold[] =;
constexpr char kEdgeThreshold[] =;
constexpr char kIgnoredBorderThickness[] =;
}  // namespace

namespace test {

// SkiaGoldMatchingAlgorithm ---------------------------------------------------

SkiaGoldMatchingAlgorithm::SkiaGoldMatchingAlgorithm() = default;

SkiaGoldMatchingAlgorithm::~SkiaGoldMatchingAlgorithm() = default;

void SkiaGoldMatchingAlgorithm::AppendAlgorithmToCmdline(
    base::CommandLine& cmd) const {}

// ExactSkiaGoldMatchingAlgorithm ----------------------------------------------

ExactSkiaGoldMatchingAlgorithm::ExactSkiaGoldMatchingAlgorithm() = default;

ExactSkiaGoldMatchingAlgorithm::~ExactSkiaGoldMatchingAlgorithm() = default;

std::string ExactSkiaGoldMatchingAlgorithm::GetCommandLineSwitchName() const {}

void ExactSkiaGoldMatchingAlgorithm::AppendAlgorithmToCmdline(
    base::CommandLine& cmd) const {}

// FuzzySkiaGoldMatchingAlgorithm ----------------------------------------------

FuzzySkiaGoldMatchingAlgorithm::~FuzzySkiaGoldMatchingAlgorithm() = default;

std::string FuzzySkiaGoldMatchingAlgorithm::GetCommandLineSwitchName() const {}

FuzzySkiaGoldMatchingAlgorithm::FuzzySkiaGoldMatchingAlgorithm(
    int max_different_pixels,
    int pixel_delta_threshold,
    int ignored_border_thickness)
    :{}

void FuzzySkiaGoldMatchingAlgorithm::AppendAlgorithmToCmdline(
    base::CommandLine& cmd) const {}

// SobelSkiaGoldMatchingAlgorithm ----------------------------------------------

SobelSkiaGoldMatchingAlgorithm::~SobelSkiaGoldMatchingAlgorithm() = default;

std::string SobelSkiaGoldMatchingAlgorithm::GetCommandLineSwitchName() const {}

SobelSkiaGoldMatchingAlgorithm::SobelSkiaGoldMatchingAlgorithm(
    int max_different_pixels,
    int pixel_delta_threshold,
    int edge_threshold,
    int ignored_border_thickness)
    :{}

void SobelSkiaGoldMatchingAlgorithm::AppendAlgorithmToCmdline(
    base::CommandLine& cmd) const {}

// PositiveIfOnlyImageAlgorithm ------------------------------------------------

PositiveIfOnlyImageAlgorithm::PositiveIfOnlyImageAlgorithm() = default;

PositiveIfOnlyImageAlgorithm::~PositiveIfOnlyImageAlgorithm() = default;

void PositiveIfOnlyImageAlgorithm::AppendAlgorithmToCmdline(
    base::CommandLine& cmd) const {}

std::string PositiveIfOnlyImageAlgorithm::GetCommandLineSwitchName() const {}

}  // namespace test
}  // namespace ui