chromium/ui/base/test/skia_gold_pixel_diff_unittest.cc

// Copyright 2019 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_pixel_diff.h"

#include "base/command_line.h"
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/scoped_environment_variable_override.h"
#include "base/test/bind.h"
#include "base/test/gtest_util.h"
#include "base/test/test_switches.h"
#include "base/threading/thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkImageInfo.h"
#include "ui/base/test/skia_gold_matching_algorithm.h"
#include "ui/gfx/image/image.h"
#include "ui/gfx/native_widget_types.h"

_;
AllOf;
AnyNumber;
HasSubstr;
Property;

namespace ui {
namespace test {

class SkiaGoldPixelDiffTest : public ::testing::Test {};

TEST_F(SkiaGoldPixelDiffTest, CompareScreenshotBySkBitmap) {}

TEST_F(SkiaGoldPixelDiffTest, BypassSkiaGoldFunctionality) {}

TEST_F(SkiaGoldPixelDiffTest, LuciAuthSwitch) {}

TEST_F(SkiaGoldPixelDiffTest, NoLuciAuthSwitch) {}

TEST_F(SkiaGoldPixelDiffTest, LocalNoLuciAuth) {}

TEST_F(SkiaGoldPixelDiffTest, FuzzyMatching) {}

TEST_F(SkiaGoldPixelDiffTest, FuzzyMatchingWithIgnoredBorder) {}

TEST_F(SkiaGoldPixelDiffTest, SobelMatching) {}

TEST_F(SkiaGoldPixelDiffTest, DefaultCorpus) {}

TEST_F(SkiaGoldPixelDiffTest, ExplicitCorpus) {}

TEST_F(SkiaGoldPixelDiffTest, DefaultCodeReviewSystem) {}

TEST_F(SkiaGoldPixelDiffTest, ExplicitCodeReviewSystem) {}

TEST_F(SkiaGoldPixelDiffTest, DryRunLocally) {}

TEST_F(SkiaGoldPixelDiffTest, NotDryRunOnBots) {}

TEST_F(SkiaGoldPixelDiffTest, ReuseSessionDefaultParameters) {}

TEST_F(SkiaGoldPixelDiffTest, ReuseSession) {}

// Check that |GetGoldenImageName| contains at least all the parts put into it.
TEST_F(SkiaGoldPixelDiffTest, GetGoldenImageName) {}

TEST_F(SkiaGoldPixelDiffTest, GetGoldenImageNameParameterizedTest) {}

#if DCHECK_IS_ON() && defined(GTEST_HAS_DEATH_TEST)
TEST_F(SkiaGoldPixelDiffTest, MustBeUsedSequentially) {}

TEST_F(SkiaGoldPixelDiffTest, GoldenImageNameCannotHaveIllegalCharacters) {}
#endif

}  // namespace test
}  // namespace ui