From 0506b9d7d531fdfc9536895481d789a48626a86b Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Mon, 22 Apr 2013 16:43:07 +0000 Subject: 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 --- tests/Test.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Test.h') 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{ -- cgit v1.2.3