#include "ui/views/controls/separator.h"
#include <memory>
#include "base/memory/raw_ptr.h"
#include "ui/color/color_id.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/color_palette.h"
#include "ui/gfx/image/image_unittest_util.h"
#include "ui/views/border.h"
#include "ui/views/test/views_test_base.h"
namespace views {
class SeparatorTest : public ViewsTestBase { … };
const SkColor SeparatorTest::kBackgroundColor = …;
const ui::ColorId SeparatorTest::kForegroundColorId = …;
const gfx::Size SeparatorTest::kTestImageSize{ … };
void SeparatorTest::SetUp() { … }
void SeparatorTest::TearDown() { … }
SkBitmap SeparatorTest::PaintToCanvas(float image_scale) { … }
void SeparatorTest::ExpectDrawAtLeastOnePixel(float image_scale) { … }
TEST_F(SeparatorTest, GetPreferredSize_VerticalOrientation) { … }
TEST_F(SeparatorTest, GetPreferredSize_HorizontalOrientation) { … }
TEST_F(SeparatorTest, ImageScaleBelowOne) { … }
TEST_F(SeparatorTest, ImageScaleBelowOne_HorizontalLine) { … }
TEST_F(SeparatorTest, Paint_NoInsets_FillsCanvas_Scale100) { … }
TEST_F(SeparatorTest, Paint_NoInsets_FillsCanvas_Scale125) { … }
TEST_F(SeparatorTest, Paint_NoInsets_FillsCanvas_Scale150) { … }
TEST_F(SeparatorTest, Paint_TopInset_Scale100) { … }
TEST_F(SeparatorTest, Paint_TopInset_Scale125) { … }
TEST_F(SeparatorTest, Paint_LeftInset_Scale100) { … }
TEST_F(SeparatorTest, Paint_LeftInset_Scale125) { … }
TEST_F(SeparatorTest, Paint_BottomInset_Scale100) { … }
TEST_F(SeparatorTest, Paint_BottomInset_Scale125) { … }
TEST_F(SeparatorTest, Paint_RightInset_Scale100) { … }
TEST_F(SeparatorTest, Paint_RightInset_Scale125) { … }
TEST_F(SeparatorTest, Paint_Vertical_Scale100) { … }
TEST_F(SeparatorTest, Paint_Vertical_Scale125) { … }
TEST_F(SeparatorTest, Paint_Horizontal_Scale100) { … }
TEST_F(SeparatorTest, Paint_Horizontal_Scale125) { … }
TEST_F(SeparatorTest, Paint_MinimumSize_Scale100) { … }
TEST_F(SeparatorTest, Paint_MinimumSize_Scale125) { … }
}