aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Test.h
diff options
context:
space:
mode:
authorGravatar tfarina <tfarina@chromium.org>2014-06-09 12:05:34 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-09 12:05:34 -0700
commit880914c35c8f7fc2e9c57134134c883baf66e538 (patch)
tree5170dfdcc9002502d25fa5b45723e7a04cd96c3d /tests/Test.h
parent4d517fdbb145cb95e5e935470df331e1b6667cfc (diff)
Reland "Clean up Test's resourcePath code."
This relands commit 91359bed48bc006a4319da86eb26db3b2e6d4afb (Clean up Test's resourcePath code." BUG=None TEST=make dm && out/Debug/dm R=mtklein@google.com Author: tfarina@chromium.org Review URL: https://codereview.chromium.org/321723002
Diffstat (limited to 'tests/Test.h')
-rw-r--r--tests/Test.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/Test.h b/tests/Test.h
index 4d2cf2b639..90d072ef66 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -73,6 +73,8 @@ namespace skiatest {
virtual void onRun(Reporter*) = 0;
private:
+ static const char* gResourcePath;
+
Reporter* fReporter;
SkString fName;
bool fPassed;