#include "ui/native_theme/native_theme_aura.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/skia/include/core/SkPath.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/native_theme/native_theme.h"
namespace ui {
namespace {
void VerifyPoint(SkPoint a, SkPoint b) { … }
void VerifyTriangle(SkPath actualPath, SkPoint p0, SkPoint p1, SkPoint p2) { … }
}
class NativeThemeAuraTest : public testing::Test { … };
TEST_F(NativeThemeAuraTest, VerticalArrows) { … }
TEST_F(NativeThemeAuraTest, HorizontalArrows) { … }
TEST_F(NativeThemeAuraTest, ArrowForNonSquareButton) { … }
TEST_F(NativeThemeAuraTest, BoundingRectSquare) { … }
TEST_F(NativeThemeAuraTest, BoundingRectSlightlyRectangular) { … }
TEST_F(NativeThemeAuraTest, BoundingRectVeryRectangular) { … }
TEST_F(NativeThemeAuraTest, BoundingRectSnappedToWholePixels) { … }
}