summaryrefslogtreecommitdiffstats
path: root/googletest/test/gtest_xml_outfiles_test.py
Commit message (Collapse)AuthorAgeFilesLines
* Add missing std includesTom Hughes2023-04-201-1/+1
| | | | | PiperOrigin-RevId: 525794940 Change-Id: Ib2639058610c91cbffbb0f22a5e71573e0cbd651
* Remove int64_t cast in RecordPropertyTom Hughes2023-02-211-5/+5
| | | | | | | | | | Historically, calls to RecordProperty with values that are convertible to int64_t have been casted to int64_t. The result was that types like float or double would be truncated when printed (e.g., 4.75 -> 4). This change removes the cast so that the types are printed in a more appropriate manner. PiperOrigin-RevId: 511238685 Change-Id: I80de5db14462da2a3e1f476086025ae514383a17
* Fix -Wsign-conversion warningsTom Hughes2023-02-021-1/+8
| | | | | | | | | | | | | | | | | | | | | | googletest/test/gtest_xml_outfile2_test_.cc:48:39: warning: implicit conversion turns floating-point number into integer: 'float' to 'int64_t' (aka 'long') [-Wfloat-conversion] RecordProperty("TestFloatProperty", float_prop); ~~~~~~~~~~~~~~ ^~~~~~~~~~ googletest/test/gtest_xml_outfile2_test_.cc:51:40: warning: implicit conversion turns floating-point number into integer: 'double' to 'int64_t' (aka 'long') [-Wfloat-conversion] RecordProperty("TestDoubleProperty", double_prop); ~~~~~~~~~~~~~~ ^~~~~~~~~~~ googletest/test/gtest_xml_outfile2_test_.cc:57:39: warning: implicit conversion changes signedness: 'size_t' (aka 'unsigned long') to 'int64_t' (aka 'long') [-Wsign-conversion] RecordProperty("TestSizetProperty", size_t_prop); ~~~~~~~~~~~~~~ ^~~~~~~~~~~ PiperOrigin-RevId: 506644143 Change-Id: I9c2cd5f52daebe25e73bb97f696687797ed2cabf
* Test current behavior of doubles and floats in RecordPropertyTom Hughes2023-01-271-1/+3
| | | | | PiperOrigin-RevId: 505104193 Change-Id: I4c2758f22ee1321ed6b6662ab2668f6c5b6aa661
* Fix formatting in subset of Python filesTom Hughes2023-01-251-7/+8
| | | | | | | | These files were formatted with automated tools. The remaining Python files require some manual fix ups, so they will be fixed separately. PiperOrigin-RevId: 504579820 Change-Id: I3923bd414bffe3ded6163ec496cd09ace3951928
* Replace deprecated python callsTom Hughes2023-01-171-4/+6
| | | | | | | | assert_ -> assertTrue/assertFalse/assertIn/assertNotIn assertEquals -> assertEqual PiperOrigin-RevId: 502654909 Change-Id: I25d30095a83c3806606cb80d676b3c979495e6bd
* Adjust xml and json unit tests to test for source file and line location.Szymon Sobik2022-03-081-2/+2
|
* Makes the Python imports consistently use full paths from the repository root,Derek Mauro2021-12-221-2/+2
| | | | | | | | | unifying the behavior between Bazel and CMake This fixes one of the CI failures on Windows PiperOrigin-RevId: 417872531 Change-Id: I156989323b7e6d4a4420f4f9691b078829db933d
* Fixed xml unit-tests and added extra testsMario Voorsluys2020-03-261-2/+2
| | | | | The extra tests check that the xml output is correct when a failure occurs before skipping, and that the right skip message is added to the file. The json file had to be fixed because it's the same executable.
* Googletest exportAbseil Team2019-07-261-4/+4
| | | | | | | | Adds ISO8601 timestamps to XML output and RFC3339 timestamps to JSON output. Adds timestamps to testsuites, testsuite and testcases structured JSON/XML output for better reporting how/where time is spent on tests. PiperOrigin-RevId: 260039817
* Googletest exportAbseil Team2019-03-281-2/+2
| | | | | | Update XML and JSON output to be consistent with the standard. PiperOrigin-RevId: 239833242
* Googletest exportmisterg2019-01-021-5/+0
| | | | | | Internal Change PiperOrigin-RevId: 227575279
* Comments changes, no functionality changes. Gennadiy Civil2018-08-141-2/+2
|
* Merging, XML testsrefs/pull/1497/headGennadiy Civil2018-03-071-2/+14
|
* code mergeGennadiy Civil2018-01-221-4/+0
|
* Fixed some typosrefs/pull/1030/headvpfautz2017-02-261-1/+1
|
* Move everything in googletest into googletest/googletestBilly Donahue2015-08-251-0/+132