#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 { … };
class MockPainter : public views::Painter { … };
}
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) { … }
}