chromium/content/common/color_parser_unittest.cc

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

#include "content/public/common/color_parser.h"

#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkColor.h"

namespace content {

void RunPassCssTest(const std::string& css_string, SkColor expected_result) {}

void RunFailCssTest(const std::string& css_string) {}

void RunPassHexTest(const std::string& css_string, SkColor expected_result) {}

void RunFailHexTest(const std::string& css_string) {}

void RunPassRgbTest(const std::string& rgb_string, SkColor expected) {}

void RunFailRgbTest(const std::string& rgb_string) {}

TEST(ColorParser, HexNormalCSS) {}

TEST(ColorParser, HexShorCSS) {}

TEST(ColorParser, HexWithAlphaCSS) {}

TEST(ColorParser, HexWithAlphaShortCSS) {}

TEST(ColorParser, FailCSSNoHash) {}

TEST(ColorParser, FailCSSTooShort) {}

TEST(ColorParser, FailCSSTooLong) {}

TEST(ColorParser, FailCSSInvalid) {}

TEST(ColorParser, FailHexWithPlus) {}

TEST(ColorParser, AcceptHsl) {}

TEST(ColorParser, InvalidHsl) {}

TEST(ColorParser, AcceptHsla) {}

TEST(ColorParser, AcceptRgb) {}

TEST(ColorParser, InvalidRgb) {}

TEST(ColorParser, AcceptRgba) {}

TEST(ColorParser, CssBasicKeyword) {}

}  // namespace content