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

Unified Diff: tests/EmptyPathTest.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/DynamicHashTest.cpp ('k') | tests/ErrorTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/EmptyPathTest.cpp
diff --git a/tests/EmptyPathTest.cpp b/tests/EmptyPathTest.cpp
index 153af1f50abf56794cc84576d47c3bb30867fc5a..fa1fd7f489bb92decb77fff42e0d3675eb3b6450 100644
--- a/tests/EmptyPathTest.cpp
+++ b/tests/EmptyPathTest.cpp
@@ -6,6 +6,7 @@
*/
#include "Test.h"
+#include "TestClassDef.h"
#include "SkPath.h"
#include "SkCanvas.h"
@@ -148,9 +149,6 @@ static void test_emptydrawing(skiatest::Reporter* reporter) {
}
}
-static void TestEmptyPath(skiatest::Reporter* reporter) {
+DEF_TEST(EmptyPath, reporter) {
test_emptydrawing(reporter);
}
-
-#include "TestClassDef.h"
-DEFINE_TESTCLASS("EmptyPath", TestEmptyPathClass, TestEmptyPath)
« no previous file with comments | « tests/DynamicHashTest.cpp ('k') | tests/ErrorTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698