Get rid of DEFINE_TESTCLASS_SHORT() macro.

Instead tests should be written using DEF_TEST() macro, which is much
nicer and simplifies the process of setting up an unit test.

BUG=None
TEST=skpskgr_test, pathops_unittest
R=mtklein@google.com

Review URL: https://codereview.chromium.org/117863005

git-svn-id: http://skia.googlecode.com/svn/trunk@12870 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/PathOpsDQuadTest.cpp b/tests/PathOpsDQuadTest.cpp
index e6f1deb..80d81e8 100644
--- a/tests/PathOpsDQuadTest.cpp
+++ b/tests/PathOpsDQuadTest.cpp
@@ -9,6 +9,7 @@
 #include "SkPathOpsQuad.h"
 #include "SkRRect.h"
 #include "Test.h"
+#include "TestClassDef.h"
 
 static const SkDQuad tests[] = {
     {{{1, 1}, {2, 1}, {0, 2}}},
@@ -36,7 +37,7 @@
 
 static const size_t tests_count = SK_ARRAY_COUNT(tests);
 
-static void PathOpsDQuadTest(skiatest::Reporter* reporter) {
+DEF_TEST(PathOpsDQuad, reporter) {
     for (size_t index = 0; index < tests_count; ++index) {
         const SkDQuad& quad = tests[index];
         SkASSERT(ValidQuad(quad));
@@ -53,7 +54,7 @@
     }
 }
 
-static void PathOpsRRectTest(skiatest::Reporter* reporter) {
+DEF_TEST(PathOpsRRect, reporter) {
     SkPath path;
     SkRRect rRect;
     SkRect rect = {135, 143, 250, 177};
@@ -61,8 +62,3 @@
     rRect.setRectRadii(rect, radii);
     path.addRRect(rRect);
 }
-
-#include "TestClassDef.h"
-DEFINE_TESTCLASS_SHORT(PathOpsDQuadTest)
-
-DEFINE_TESTCLASS_SHORT(PathOpsRRectTest)