more tests (need more meat in there)
git-svn-id: http://skia.googlecode.com/svn/trunk@97 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/MatrixTest.cpp b/tests/MatrixTest.cpp
index 1e4e341..659672a 100644
--- a/tests/MatrixTest.cpp
+++ b/tests/MatrixTest.cpp
@@ -94,26 +94,5 @@
}
}
-///////////////////////////////////////////////////////////////////////////////
-
-namespace skiatest {
-
- class MatrixTest : public Test {
- public:
- static Test* Factory(void*) {
- return SkNEW(MatrixTest);
- }
-
- protected:
- virtual void onGetName(SkString* name) {
- name->set("Matrix");
- }
-
- virtual void onRun(Reporter* reporter) {
- TestMatrix(reporter);
- }
- };
-
- static TestRegistry gReg(MatrixTest::Factory);
-}
-
+#include "TestClassDef.h"
+DEFINE_TESTCLASS("Matrix", MatrixTestClass, TestMatrix)