Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Unified Diff: tests/Test.h

Issue 14063005: add extended option to Test (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | tests/Test.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/Test.h
===================================================================
--- tests/Test.h (revision 8570)
+++ tests/Test.h (working copy)
@@ -31,6 +31,7 @@
};
void resetReporting();
+ void bumpTestCount() { ++fTestCount; }
int countTests() const { return fTestCount; }
int countResults(Result r) {
SkASSERT((unsigned)r <= kLastResult);
@@ -40,6 +41,7 @@
void startTest(Test*);
void report(const char testDesc[], Result);
void endTest(Test*);
+ virtual bool allowExtendedTest() const { return false; }
// helpers for tests
void assertTrue(bool cond, const char desc[]) {
« no previous file with comments | « no previous file | tests/Test.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698