aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Test.h
diff options
context:
space:
mode:
authorGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-22 16:43:07 +0000
committerGravatar commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-22 16:43:07 +0000
commit0506b9d7d531fdfc9536895481d789a48626a86b (patch)
tree1e7a70957ee41dea7352d1318c719f6d1f50dcbb /tests/Test.h
parent44c661ff151356ba1c49d7942d23aa1507237989 (diff)
Make it clearer what's going on at the end of tests.
BUG= R=reed@google.com Author: mtklein@google.com Review URL: https://chromiumcodereview.appspot.com/14267022 git-svn-id: http://skia.googlecode.com/svn/trunk@8803 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/Test.h')
-rw-r--r--tests/Test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Test.h b/tests/Test.h
index 1aa038748f..a4baf5b13c 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{