aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/HashCacheTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/HashCacheTest.cpp')
-rw-r--r--tests/HashCacheTest.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/tests/HashCacheTest.cpp b/tests/HashCacheTest.cpp
index 1a5c4701cd..437a80c6b7 100644
--- a/tests/HashCacheTest.cpp
+++ b/tests/HashCacheTest.cpp
@@ -5,8 +5,8 @@
* found in the LICENSE file.
*/
-
#include "Test.h"
+#include "TestClassDef.h"
// This is a GR test
#if SK_SUPPORT_GPU
@@ -59,9 +59,7 @@ protected:
int fKey;
};
-////////////////////////////////////////////////////////////////////////////////
-static void TestHashCache(skiatest::Reporter* reporter) {
-
+DEF_TEST(HashCache, reporter) {
GrTHashTable<HashElement, HashKey, 4> cache;
HashElement negHashElements[10] = {
@@ -154,8 +152,4 @@ static void TestHashCache(skiatest::Reporter* reporter) {
}
}
-////////////////////////////////////////////////////////////////////////////////
-#include "TestClassDef.h"
-DEFINE_TESTCLASS("HashCache", HashCacheTestClass, TestHashCache)
-
#endif