Index: tests/DeviceLooperTest.cpp |
diff --git a/tests/DeviceLooperTest.cpp b/tests/DeviceLooperTest.cpp |
index 23e9d1503b420b9942478bbbd2eda95499cd6dfd..2dc94107c38c1a1f2adadc8ca7ab42fb3894a570 100644 |
--- a/tests/DeviceLooperTest.cpp |
+++ b/tests/DeviceLooperTest.cpp |
@@ -6,6 +6,7 @@ |
*/ |
#include "Test.h" |
+#include "TestClassDef.h" |
#include "SkDeviceLooper.h" |
#include "SkRasterClip.h" |
@@ -133,10 +134,7 @@ static void test_complex(skiatest::Reporter* reporter) { |
} |
} |
-static void TestDeviceLooper(skiatest::Reporter* reporter) { |
+DEF_TEST(DeviceLooper, reporter) { |
test_simple(reporter); |
test_complex(reporter); |
} |
- |
-#include "TestClassDef.h" |
-DEFINE_TESTCLASS("DeviceLooper", DeviceLooperClass, TestDeviceLooper) |