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

Unified Diff: tests/Test.h

Issue 14267022: Make it clearer what's going on at the end of tests. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Also make --matched make more sense. 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
diff --git a/tests/Test.h b/tests/Test.h
index 1aa038748f247598e4d61f44eb3d5916c7caf33f..a4baf5b13c6606b48e299da02639223410d41357 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -12,6 +12,7 @@
#include "SkString.h"
#include "SkTRegistry.h"
#include "SkThread.h"
+#include "SkTypes.h"
class GrContextFactory;
@@ -70,6 +71,7 @@ namespace skiatest {
const char* getName();
void run();
bool passed() const { return fPassed; }
+ SkMSec elapsedMs() const { return fElapsed; }
static const SkString& GetTmpDir();
@@ -85,6 +87,7 @@ namespace skiatest {
Reporter* fReporter;
SkString fName;
bool fPassed;
+ SkMSec fElapsed;
};
class GpuTest : public Test{
« 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