aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorvladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-10-05 05:52:34 +0000
committervladlosev <vladlosev@861a406c-534a-0410-8894-cb66d6ee9925>2011-10-05 05:52:34 +0000
commit431a8be1662a3bc9601240914f412b0436d94703 (patch)
treedd74052e6e0f73cf9d68b55dab4f438b33c57820 /include
parent69a40b7d4ab4171cbe4ef920e7a5171109e2064c (diff)
downloadgoogletest-431a8be1662a3bc9601240914f412b0436d94703.tar.gz
googletest-431a8be1662a3bc9601240914f412b0436d94703.tar.bz2
googletest-431a8be1662a3bc9601240914f412b0436d94703.zip
Implements the timestamp attribute for the testsuites element in the output XML (external contribution by Dirk Meister).
Diffstat (limited to 'include')
-rw-r--r--include/gtest/gtest.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h
index cd01c7ba..432ee2d6 100644
--- a/include/gtest/gtest.h
+++ b/include/gtest/gtest.h
@@ -1152,6 +1152,10 @@ class GTEST_API_ UnitTest {
// Gets the number of tests that should run.
int test_to_run_count() const;
+ // Gets the time of the test program start, in ms from the start of the
+ // UNIX epoch.
+ TimeInMillis start_timestamp() const;
+
// Gets the elapsed time, in milliseconds.
TimeInMillis elapsed_time() const;