Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(78)

Unified Diff: src/gtest-internal-inl.h

Issue 4806042: the XML report should contain the date & time when the test program was run Base URL: http://googletest.googlecode.com/svn/trunk/
Patch Set: Created 12 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gtest.cc ('k') | test/gtest_xml_outfiles_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gtest-internal-inl.h
===================================================================
--- src/gtest-internal-inl.h (revision 587)
+++ src/gtest-internal-inl.h (working copy)
@@ -550,6 +550,9 @@
// Gets the elapsed time, in milliseconds.
TimeInMillis elapsed_time() const { return elapsed_time_; }
+
+ // Gets the start timestamp, in milliseconds.
+ TimeInMillis start_timestamp() const { return start_timestamp_; }
// Returns true iff the unit test passed (i.e. all test cases passed).
bool Passed() const { return !Failed(); }
@@ -882,6 +885,9 @@
// How long the test took to run, in milliseconds.
TimeInMillis elapsed_time_;
+
+ // Start timestamp, in milliseconds.
+ TimeInMillis start_timestamp_;
#if GTEST_HAS_DEATH_TEST
// The decomposed components of the gtest_internal_run_death_test flag,
« no previous file with comments | « src/gtest.cc ('k') | test/gtest_xml_outfiles_test.py » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b