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

Unified Diff: tests/StrokeTest.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/StringTest.cpp ('k') | tests/TLSTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/StrokeTest.cpp
diff --git a/tests/StrokeTest.cpp b/tests/StrokeTest.cpp
index 9336bed33abef7794d0ac7ff51f4e611edd4169c..1278bd4b853c435d0b2c93b527762edf2f5875ff 100644
--- a/tests/StrokeTest.cpp
+++ b/tests/StrokeTest.cpp
@@ -6,6 +6,7 @@
*/
#include "Test.h"
+#include "TestClassDef.h"
#include "SkPaint.h"
#include "SkPath.h"
#include "SkRect.h"
@@ -55,9 +56,6 @@ static void test_strokerect(skiatest::Reporter* reporter) {
}
}
-static void TestStroke(skiatest::Reporter* reporter) {
+DEF_TEST(Stroke, reporter) {
test_strokerect(reporter);
}
-
-#include "TestClassDef.h"
-DEFINE_TESTCLASS("Stroke", TestStrokeClass, TestStroke)
« no previous file with comments | « tests/StringTest.cpp ('k') | tests/TLSTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698