chromium/ui/views/border_unittest.cc

// Copyright 2016 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/views/border.h"

#include <algorithm>
#include <memory>
#include <set>
#include <utility>
#include <vector>

#include "base/memory/raw_ptr.h"
#include "cc/paint/paint_recorder.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkPaint.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/core/SkRefCnt.h"
#include "ui/gfx/canvas.h"
#include "ui/gfx/geometry/size.h"
#include "ui/gfx/geometry/skia_conversions.h"
#include "ui/views/painter.h"
#include "ui/views/test/views_test_base.h"
#include "ui/views/view.h"

namespace {

class MockCanvas : public SkCanvas {};

// Simple Painter that will be used to test BorderPainter.
class MockPainter : public views::Painter {};

}  // namespace

namespace views {

class BorderTest : public ViewsTestBase {};

TEST_F(BorderTest, NullBorder) {}

TEST_F(BorderTest, SolidBorder) {}

TEST_F(BorderTest, RoundedRectBorder) {}

TEST_F(BorderTest, EmptyBorder) {}

TEST_F(BorderTest, SolidSidedBorder) {}

TEST_F(BorderTest, BorderPainter) {}

TEST_F(BorderTest, ExtraInsetsBorder) {}

}  // namespace views