Index: tests/LayerDrawLooperTest.cpp |
diff --git a/tests/LayerDrawLooperTest.cpp b/tests/LayerDrawLooperTest.cpp |
index 11ac48869f556ddd87d7afe68af1a38299995198..01ebca1464ffe8bd9c889089e611b32541c43d62 100644 |
--- a/tests/LayerDrawLooperTest.cpp |
+++ b/tests/LayerDrawLooperTest.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "Test.h" |
+#include "TestClassDef.h" |
#include "SkBitmap.h" |
#include "SkBitmapDevice.h" |
#include "SkCanvas.h" |
@@ -145,11 +146,8 @@ static void test_mixed(skiatest::Reporter* reporter) { |
REPORTER_ASSERT(reporter, !looper->next(&canvas, &paint)); |
} |
-static void TestLayerDrawLooper(skiatest::Reporter* reporter) { |
+DEF_TEST(LayerDrawLooper, reporter) { |
test_frontToBack(reporter); |
test_backToFront(reporter); |
test_mixed(reporter); |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS("LayerDrawLooper", TestLayerDrawLooperClass, TestLayerDrawLooper) |