diff options
Diffstat (limited to 'tests/GpuDrawPathTest.cpp')
-rw-r--r-- | tests/GpuDrawPathTest.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/tests/GpuDrawPathTest.cpp b/tests/GpuDrawPathTest.cpp index fa844d05b8..f2a321f756 100644 --- a/tests/GpuDrawPathTest.cpp +++ b/tests/GpuDrawPathTest.cpp @@ -1,4 +1,3 @@ - /* * Copyright 2013 Google Inc. * @@ -18,9 +17,9 @@ #include "SkRect.h" #include "SkRRect.h" #include "Test.h" +#include "TestClassDef.h" -static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) -{ +static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) { // Filling an empty path should not crash. SkPaint paint; canvas->drawRect(SkRect(), paint); @@ -43,7 +42,7 @@ static void test_drawPathEmpty(skiatest::Reporter*, SkCanvas* canvas) } -static void TestGpuDrawPath(skiatest::Reporter* reporter, GrContextFactory* factory) { +DEF_GPUTEST(GpuDrawPath, reporter, factory) { return; for (int type = 0; type < GrContextFactory::kLastGLContextType; ++type) { @@ -74,7 +73,4 @@ static void TestGpuDrawPath(skiatest::Reporter* reporter, GrContextFactory* fact } } -#include "TestClassDef.h" -DEFINE_GPUTESTCLASS("GpuDrawPath", TestGpuDrawPathClass, TestGpuDrawPath) - #endif |