Add --resourcePath flag to the test program.

Review URL: https://codereview.chromium.org/12521016

git-svn-id: http://skia.googlecode.com/svn/trunk@8252 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/Test.h b/tests/Test.h
index 98ade93..ca2acc6 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -88,7 +88,9 @@
         const char* getName();
         bool run(); // returns true on success
 
-        static const char* GetTmpDir();
+        static const SkString& GetTmpDir();
+
+        static const SkString& GetResourcePath();
 
     protected:
         virtual void onGetName(SkString*) = 0;