chromium/ui/gfx/color_utils_unittest.cc

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

#include <stdlib.h>

#include "skia/ext/platform_canvas.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkColorPriv.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/color_utils.h"
#include "ui/gfx/geometry/rect.h"

namespace color_utils {

TEST(ColorUtils, SkColorToHSLRed) {}

TEST(ColorUtils, SkColorToHSLGrey) {}

TEST(ColorUtils, HSLToSkColorWithAlpha) {}

TEST(ColorUtils, RGBtoHSLRoundTrip) {}

TEST(ColorUtils, IsWithinHSLRange) {}

TEST(ColorUtils, IsWithinHSLRangeHueWrapAround) {}

TEST(ColorUtils, IsHSLShiftMeaningful) {}

TEST(ColorUtils, ColorToHSLRegisterSpill) {}

TEST(ColorUtils, AlphaBlend) {}

TEST(ColorUtils, SkColorToRgbaString) {}

TEST(ColorUtils, SkColorToRgbString) {}

TEST(ColorUtils, IsDarkDarkestColorChange) {}

TEST(ColorUtils, MidpointLuminanceMatches) {}

TEST(ColorUtils, GetColorWithMaxContrast) {}

TEST(ColorUtils, GetEndpointColorWithMinContrast) {}

TEST(ColorUtils, BlendForMinContrast_ForegroundAlreadyMeetsMinimum) {}

TEST(ColorUtils, BlendForMinContrast_BlendDarker) {}

TEST(ColorUtils, BlendForMinContrast_BlendLighter) {}

TEST(ColorUtils, BlendForMinContrast_StopsAtDarkestColor) {}

TEST(ColorUtils, BlendForMinContrast_ComputesExpectedOpacities) {}

TEST(ColorUtils, BlendTowardMaxContrast_PreservesAlpha) {}

TEST(ColorUtils, BlendForMinContrast_MatchesNaiveImplementation) {}

TEST(ColorUtils, PickGoogleColor) {}

TEST(ColorUtils, PickGoogleColorTwoBackgrounds) {}

}  // namespace color_utils