Also proxy bumpTestCount.
Example output with -v -x:
...
Finished 127 tests, 0 failures, 0 skipped.
Ran 73094673 Internal tests.
BUG=
R=caryclark@google.com
Author: mtklein@google.com
Review URL: https://chromiumcodereview.appspot.com/13983011
git-svn-id: http://skia.googlecode.com/svn/trunk@8821 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/Test.h b/tests/Test.h
index a4baf5b..dfa12a6 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -32,14 +32,16 @@
kLastResult = kFailed
};
- void bumpTestCount() { sk_atomic_inc(&fTestCount); }
int countTests() const { return fTestCount; }
void startTest(Test*);
void report(const char testDesc[], Result);
void endTest(Test*);
+
virtual bool allowExtendedTest() const { return false; }
virtual bool allowThreaded() const { return false; }
+ virtual void bumpTestCount() { sk_atomic_inc(&fTestCount); }
+
// helpers for tests
void reportFailed(const char desc[]) {
this->report(desc, kFailed);