| Index: tests/BitmapHeapTest.cpp
|
| diff --git a/tests/BitmapHeapTest.cpp b/tests/BitmapHeapTest.cpp
|
| index 34a2984d40ed79de6cdb62f9034e09cdf072ca06..2b5cf830c5933df2b0a9a84ad9aa0090e9922285 100644
|
| --- a/tests/BitmapHeapTest.cpp
|
| +++ b/tests/BitmapHeapTest.cpp
|
| @@ -1,4 +1,3 @@
|
| -
|
| /*
|
| * Copyright 2012 Google Inc.
|
| *
|
| @@ -15,6 +14,7 @@
|
| #include "SkRefCnt.h"
|
| #include "SkShader.h"
|
| #include "Test.h"
|
| +#include "TestClassDef.h"
|
|
|
| class FlatDictionary : public SkFlatDictionary<SkShader> {
|
|
|
| @@ -37,7 +37,7 @@ public:
|
| }
|
| };
|
|
|
| -static void TestBitmapHeap(skiatest::Reporter* reporter) {
|
| +DEF_TEST(BitmapHeap, reporter) {
|
| // Create a bitmap shader.
|
| SkBitmap bm;
|
| bm.setConfig(SkBitmap::kARGB_8888_Config, 2, 2);
|
| @@ -91,6 +91,3 @@ static void TestBitmapHeap(skiatest::Reporter* reporter) {
|
| REPORTER_ASSERT(reporter, heap.count() == 1);
|
| REPORTER_ASSERT(reporter, SkBitmapHeapTester::GetRefCount(heap.getEntry(0)) == 0);
|
| }
|
| -
|
| -#include "TestClassDef.h"
|
| -DEFINE_TESTCLASS("BitmapHeap", TestBitmapHeapClass, TestBitmapHeap)
|
|
|