From d8730ea8b25d692c0656f8cf03f02aecfab2a17c Mon Sep 17 00:00:00 2001 From: "reed@android.com" Date: Fri, 27 Feb 2009 22:06:06 +0000 Subject: more tests (need more meat in there) git-svn-id: http://skia.googlecode.com/svn/trunk@97 2bbb7eff-a529-9590-31e7-b0007b416f81 --- tests/UtilsTest.cpp | 25 ++----------------------- 1 file changed, 2 insertions(+), 23 deletions(-) (limited to 'tests/UtilsTest.cpp') diff --git a/tests/UtilsTest.cpp b/tests/UtilsTest.cpp index 810cb51650..f6b02112f0 100644 --- a/tests/UtilsTest.cpp +++ b/tests/UtilsTest.cpp @@ -105,26 +105,5 @@ static void TestUTF(skiatest::Reporter* reporter) { test_search(reporter); } -/////////////////////////////////////////////////////////////////////////////// - -namespace skiatest { - - class UtfTest : public Test { - public: - static Test* Factory(void*) { - return SkNEW(UtfTest); - } - - protected: - virtual void onGetName(SkString* name) { - name->set("UTF"); - } - - virtual void onRun(Reporter* reporter) { - TestUTF(reporter); - } - }; - - static TestRegistry gReg(UtfTest::Factory); -} - +#include "TestClassDef.h" +DEFINE_TESTCLASS("UTF", UtfTestClass, TestUTF) -- cgit v1.2.3