From 8883b42f2a78976dde09f31ca72806072e33bd5f Mon Sep 17 00:00:00 2001 From: vladlosev Date: Wed, 5 Oct 2011 05:52:34 +0000 Subject: Implements the timestamp attribute for the testsuites element in the output XML (external contribution by Dirk Meister). git-svn-id: http://googletest.googlecode.com/svn/trunk@600 861a406c-534a-0410-8894-cb66d6ee9925 --- include/gtest/gtest.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include') diff --git a/include/gtest/gtest.h b/include/gtest/gtest.h index cd01c7b..432ee2d 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; -- cgit v1.2.1