Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(81)

Unified Diff: tests/DeviceLooperTest.cpp

Issue 100113004: Use DEFINE_TESTCLASS_SHORT macro in tests. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/DequeTest.cpp ('k') | tests/DrawBitmapRectTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
« no previous file with comments | « tests/DequeTest.cpp ('k') | tests/DrawBitmapRectTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698