Krystian Kuzniarek
d51cce4fc7
remove a dead metafunction
2019-08-08 00:36:31 +02:00
Gennadiy Civil
90a443f9c2
Merge pull request #2378 from kuzkry:markdown-table
...
PiperOrigin-RevId: 262135359
2019-08-07 11:57:30 -04:00
Gennadiy Civil
79690c5375
Merge pull request #2372 from pitrou:issue2371-windows-crt-asserts
...
PiperOrigin-RevId: 262040609
2019-08-07 11:57:04 -04:00
Yannic Bonenberger
6fd262ecf7
Prepare for Bazel incompatible changes
...
Fixes googletest for upcoming `--incompatible_load_cc_rules_from_bzl` (https://github.com/bazelbuild/bazel/issues/8743 ) and `--incompatible_load_python_rules_from_bzl` (https://github.com/bazelbuild/bazel/issues/9006 ).
This change was automatically generated with `buildifier -lint=fix -warnings=all $(find . -name "BUILD" -o -name "BUILD.bazel" -o -name "*.bzl")`.
2019-08-07 17:08:10 +02:00
Krystian Kuzniarek
6aa98d5cdc
fix an improperly generated table
2019-08-07 00:38:37 +02:00
Gennadiy Civil
2f499db00e
Merge pull request #2111 from knuto:pr/remove_slash
...
PiperOrigin-RevId: 261906004
2019-08-06 13:14:49 -04:00
Antoine Pitrou
c39ee9c460
Fix #2371 : Redirect Windows CRT assertions to stderr
2019-08-06 13:11:40 +02:00
misterg
11be5f534c
Googletest export
...
Internal Change
PiperOrigin-RevId: 261683482
2019-08-05 13:27:00 -04:00
Gennadiy Civil
4e29e48840
Merge pull request #2358 from kuzkry:adjustment-of-similar-comments
...
PiperOrigin-RevId: 261355792
2019-08-02 14:16:53 -04:00
Gennadiy Civil
6c7a8bec8d
Merge pull request #2341 from ChrisBaish:master
...
PiperOrigin-RevId: 261344735
2019-08-02 13:27:07 -04:00
Gennadiy Civil
cc34e8fa7c
Merge pull request #2357 from kuzkry:obsolete-documentation
...
PiperOrigin-RevId: 261343928
2019-08-02 13:26:55 -04:00
Gennadiy Civil
47092933fd
Merge pull request #2361 from guillemglez:master
...
PiperOrigin-RevId: 261340959
2019-08-02 13:06:47 -04:00
Gennadiy Civil
c8d338c629
Merge pull request #2353 from anttsov:patch-1
...
PiperOrigin-RevId: 261198930
2019-08-02 11:32:15 -04:00
Abseil Team
8756ef9058
Googletest export
...
Add links to "sampleK_unittest.cc" examples. Fix some broken docs crosslinks.
PiperOrigin-RevId: 261169561
2019-08-01 16:06:11 -04:00
Abseil Team
b15335dfa7
Googletest export
...
Fix signed conversion warning for wchar_t -> wint_t.
Fixes Github issue #2300
PiperOrigin-RevId: 261045497
2019-08-01 16:05:49 -04:00
Abseil Team
a3eee98cad
Googletest export
...
Document the fact that {Setup,TearDown}TestSuite failures are currently being dropped.
PiperOrigin-RevId: 260962695
2019-08-01 16:05:41 -04:00
misterg
2221875d0b
Googletest export
...
Internal Change
PiperOrigin-RevId: 260939845
2019-08-01 16:05:33 -04:00
Guillem González Vela
210239e800
Fix table formatting in advanced.md
2019-08-01 20:39:07 +02:00
Krystian Kuzniarek
96c851d051
adjust a comment to the similar section in advanced.md
...
in addition, fix typo of use -> us
2019-07-31 19:40:10 +02:00
Gennadiy Civil
9311242db4
Merge pull request #2356 from kuzkry:typos
...
PiperOrigin-RevId: 260786935
2019-07-30 18:47:55 -04:00
Gennadiy Civil
4cd6e4d359
Merge pull request #2355 from kuzkry:markdown-numbering
...
PiperOrigin-RevId: 260782065
2019-07-30 18:47:37 -04:00
Krystian Kuzniarek
bf6df7eaee
fix typos
2019-07-30 12:52:27 +02:00
Krystian Kuzniarek
d384b8831f
fix numbering of ordered lists in Markdown
2019-07-30 11:16:21 +02:00
Gennadiy Civil
c205468b65
Merge pull request #2338 from kuzkry:environment-documentation
...
PiperOrigin-RevId: 260559531
2019-07-29 16:43:23 -04:00
Gennadiy Civil
05747d2ee7
Merge pull request #2342 from Jauler:master
...
PiperOrigin-RevId: 260556093
2019-07-29 15:36:45 -04:00
Adam Badura
1be5ce0907
Correct CMake to cover Cygwin
2019-07-27 22:25:32 +02:00
Abseil Team
2134e3fd85
Googletest export
...
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
2019-07-25 20:53:46 -04:00
Rytis Karpuška
e93b5e06ba
Fix small errors in primer.md
2019-07-23 18:51:35 +03:00
Chris Baish
3525e39842
Moved explanation to single line as well
2019-07-19 07:33:26 +01:00
Chris Baish
af11cda565
Moved table to single lines
2019-07-19 07:31:15 +01:00
Chris Baish
d64e4cf14e
Merge remote-tracking branch 'upstream/master' into primer_md_table_update
2019-07-19 07:12:46 +01:00
Gennadiy Civil
b77e5c7625
Manual docs tweaks still in preparation for including docs with code pushes
2019-07-18 15:27:51 -04:00
Gennadiy Civil
a743249a55
Manual docs tweaks still in preparation for including docs with code pushes
2019-07-18 13:32:59 -04:00
Gennadiy Civil
15756aa0c8
Manual docs tweaks still in preparation for including docs with code pushes
2019-07-18 11:39:49 -04:00
Gennadiy Civil
34ddfff946
Manual docs tweaks still in preparation for including docs with code pushes
2019-07-18 11:34:17 -04:00
Krystian Kuzniarek
2fa7be9326
explicitly show overriding to align examples to their comments
2019-07-18 17:07:53 +02:00
Krystian Kuzniarek
cc49f5b27a
document a missing parent class
2019-07-18 17:06:22 +02:00
Chris Baish
adb490773e
Update primer.md
...
Correct formatting in table
2019-07-18 10:12:27 +01:00
Gennadiy Civil
f899e81e43
Preparation for including docs in round-trip with OSS. Manual review and merge docs internal-OSS
2019-07-16 14:42:35 -04:00
Gennadiy Civil
4ab6f4d709
Preparation for including docs in round-trip with OSS. Manual review and merge docs internal-OSS
2019-07-16 14:38:15 -04:00
Abseil Team
f38f4d8f27
Googletest export
...
[Fuchsia] Update exception APIs used by death test.
Migrates to the new channel-based exception APIs as the
port APIs are deprecated and will be removed.
PiperOrigin-RevId: 258175830
2019-07-16 11:21:19 -04:00
Krystian Kuzniarek
275bbc7884
rename and apply snake_case on CheatSheet.md
2019-07-13 07:47:14 +02:00
Gennadiy Civil
437e1008c9
Documentation sync in preparation to including docs with full source sync
2019-06-24 13:52:17 -04:00
Gennadiy Civil
834dff3b52
Documentation sync in preparation to including docs with full source sync
2019-06-24 11:16:58 -04:00
Prashant Jaikumar
ce58a5972b
Remove google internal links from documentation on github
2019-06-19 15:18:55 -07:00
Gennadiy Civil
b4676595c0
Incremental doc changes in preparation for doc sync
2019-06-19 17:04:47 -04:00
Gennadiy Civil
5ed950c9e3
Renaming doc files to make the file names more palatable and in preparation for including documentation in sync process
2019-06-19 16:48:38 -04:00
Gennadiy Civil
ac31db8fac
small docs restucture and cleanup
2019-06-19 16:23:44 -04:00
Gennadiy Civil
ba68290cb3
small docs restucture and cleanup
2019-06-19 16:20:19 -04:00
Abseil Team
d7003576dd
Googletest export
...
Project import generated by Copybara.
PiperOrigin-RevId: 253600369
2019-06-17 16:34:31 -04:00
misterg
d1185b9ffd
Googletest export
...
Internal Change
PiperOrigin-RevId: 253581166
2019-06-17 16:34:23 -04:00
Gennadiy Civil
176eccfb8f
Merge pull request #2287 from PhilLab/patch-1
...
docs/primer: Fixed usage of test case
2019-06-17 11:44:48 -04:00
Gennadiy Civil
fd20d1ecce
Merge pull request #2286 from gennadiycivil/master
...
Removing make and automake.
2019-06-17 11:05:13 -04:00
Philipp Hasper
b72b1bee95
docs/primer: Fixed usage of test case
...
According to the nomenclature, what was called a test case
is actually a test suite
2019-06-16 15:00:02 +02:00
Gennadiy Civil
e110929a7b
Documentation sync working on the documentation being included with the code
2019-06-14 11:36:35 -04:00
Gennadiy Civil
f7c178ecb3
Makefiles are no longer supported. Adding pseudo-break with their impending removal to make sure that people who are interested will notice
2019-06-13 17:16:43 -04:00
Gennadiy Civil
38d967e889
doc is still valid
2019-06-13 16:48:25 -04:00
Gennadiy Civil
6b8c138154
Removing make and automake. The only supported build systems are Bazel internally and CMake community supported
2019-06-13 13:49:42 -04:00
Matthias Walter
e580d99193
Setting CMP0054 policy to NEW. This allows to use the string "SHARED" without interpreting it as a variable.
2019-06-12 23:50:01 +02:00
Gennadiy Civil
af4c2cb098
Formatting Changes
2019-06-12 13:23:06 -04:00
Gennadiy Civil
076b7f7788
remove obsolete codegear files
2019-06-10 13:20:02 -04:00
Gennadiy Civil
fbcb2eb200
removing obsolete language from docs, CMake and Bazel is the only supporeted build methods
2019-06-10 10:51:41 -04:00
Gennadiy Civil
b93980dda7
removing xcode files , as CMake and Bazel is the only supporeted build methods
2019-06-10 10:33:14 -04:00
Gennadiy Civil
60a6d5fc34
removing msvc solution, as CMake and Bazel is the only supporeted build methods
2019-06-10 10:32:16 -04:00
Gennadiy Civil
da10da05c2
Merge pull request #2268 from kalaxy/fuse_spi_in_header
...
Fuse gtest-spi.h into the resulting header.
2019-06-07 13:08:18 -04:00
Abseil Team
31200def0d
Googletest export
...
fdio_pipe_half is now the same as fdio_pipe_half2. We can switch back to the cleaner name.
PiperOrigin-RevId: 251633832
2019-06-05 11:52:45 -04:00
misterg
08a68b6fb7
Googletest export
...
comment change
PiperOrigin-RevId: 251231524
2019-06-05 11:52:33 -04:00
Kalon Mills
6044c267e8
Fuse gtest-spi.h into the resulting header.
...
Previously this was fused into the source file, but this prevents users of the
fused file from using those utilities directly.
2019-06-03 17:09:08 -07:00
Abseil Team
899c082633
Googletest export
...
Add a safety nullptr check to catch the case where the /tmp file used for capturing a stream cannot be created.
PiperOrigin-RevId: 250523012
2019-05-29 23:35:59 -04:00
gennadiycivil
7f1c0f6f81
Merge pull request #2260 from 741g:master
...
PiperOrigin-RevId: 249660276
2019-05-23 16:20:24 -04:00
Lingfeng Yang
2f58f41d1a
unbreak windows build
...
windows msvc toolchain with werror and wconversion
will break if converting long to DWORD.
2019-05-22 08:57:06 -07:00
Enji Cooper
699943fe40
Fix typo introduced in 63be3dcc24
(maintaners -> maintainers)
...
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-05-19 23:31:04 -07:00
Gennadiy Civil
f71fb4f9a9
Update advanced.md
...
Adding back section that was lost in merge
2019-05-17 15:10:47 -04:00
Gennadiy Civil
03273a8982
Merge pull request #2254 from chaoran:master
...
PiperOrigin-RevId: 248759825
2019-05-17 15:05:44 -04:00
Chaoran Yang
5b4a135f62
add unit test for overload & operator
2019-05-13 15:39:18 +00:00
Gennadiy Civil
9d4cde44a4
Added docs for testing::RegisterTest
2019-05-13 10:35:10 -04:00
Chaoran Yang
2fc2383165
Use std::addressof to instead of plain '&'.
...
Otherwise the code won't compile if the '&' operater is overloaded and
return something that cannot be casted to void *.
2019-05-12 00:14:54 +00:00
Abseil Team
5299815377
Googletest export
...
Print the test output on assertion failure.
PiperOrigin-RevId: 247283764
2019-05-10 15:28:12 -04:00
gennadiycivil
bf3ef5c9b7
Merge pull request #2245 from daquexian:fix_wsign_conversion
...
PiperOrigin-RevId: 246550729
2019-05-03 15:11:30 -04:00
misterg
63be3dcc24
Googletest export
...
Clarify build system support - CMake and automake community supported
PiperOrigin-RevId: 245821927
2019-05-03 15:11:22 -04:00
daquexian
ca642a925e
Fix -Wsign-conversion error by adding static_cast
2019-05-03 00:21:44 +08:00
Gennadiy Civil
9997a830ee
Merge pull request #2242 from SylvestreG:master
...
PiperOrigin-RevId: 245798478
2019-04-29 15:22:54 -04:00
Gennadiy Civil
87348c217f
Removing obsolete codegear and msvc 2010
2019-04-29 14:39:48 -04:00
misterg
82f9c8d65d
Googletest export
...
Internal Change
PiperOrigin-RevId: 245788057
2019-04-29 14:32:28 -04:00
Sylvestre Gallon
9037e9bda1
Fix compilation on CentOS 7
2019-04-26 13:48:37 +02:00
Enji Cooper
bd47c09b73
Address fallout from -Wsign-conversion work on Windows
...
Some Windows users builds were broken after a0d60be
. This change
addresses the lingering -Wsign-conversion issues with those platforms
by adding some missing `static_cast` calls as needed.
Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
2019-04-26 04:08:16 -07:00
Knut Omang
b953e05bcf
Remove / from parameterized test names if base test name is empty
...
This is useful to let a subsystem generate test names based on parameterized tests
without exposing them as such to the user.
Signed-off-by: Knut Omang <knut.omang@oracle.com>
2019-04-26 06:33:41 +02:00
Abseil Team
84d986531e
Googletest export
...
Add GTEST_FAIL_AT, an equivalent to ADD_FAILURE_AT but that
spawns a fatal failure rather than a non-fatal, eg. the equivalent
of an ASSERT* failure rather than an EXPECT* failure.
PiperOrigin-RevId: 244746609
2019-04-24 09:34:40 -04:00
misterg
0c68c865f3
Googletest export
...
Fixes https://github.com/google/googletest/issues/2232
PiperOrigin-RevId: 244237560
2019-04-18 15:46:04 -04:00
misterg
fa52cd6363
Googletest export
...
Expose more information in SuiteApiResolver diagnostic output
PiperOrigin-RevId: 244179347
2019-04-18 15:45:49 -04:00
Gennadiy Civil
a0d60bed4d
Merge pull request #2170 from ngie-eign:issue-2146-ver2
...
PiperOrigin-RevId: 244069956
2019-04-18 09:44:24 -04:00
Abseil Team
9f893b9959
Googletest export
...
[googletest] Fix death test condition.
PiperOrigin-RevId: 243742424
2019-04-16 16:17:41 -04:00
Abseil Team
6d66818066
Googletest export
...
Migrate ZX_WAIT_ASYNC_REPEATING to ZX_WAIT_ASYNC_ONCE
ZX_WAIT_ASYNC_REPEATING is deprecated so convert code to use
ZX_WAIT_ASYNC_ONCE instead.
PiperOrigin-RevId: 243707147
2019-04-16 16:17:34 -04:00
Calvin Hill
698d45d3a4
Sort Haiku platform definition alphabetically.
...
Fixes a minor ordering issue when defining the platform macro.
Also fixes a minor typo: 'Max OS X' -> 'Mac OS X'.
2019-04-12 19:26:07 +01:00
Gennadiy Civil
adc8a88ff0
Merge pull request #2226 from davidben:msvc-5046
...
PiperOrigin-RevId: 243121568
2019-04-11 15:59:46 -04:00
Gennadiy Civil
ea9c49b9cd
Merge pull request #2229 from return:haiku-support
...
PiperOrigin-RevId: 243104604
2019-04-11 14:31:18 -04:00
Calvin Hill
0a00ba64d5
Add Haiku platform support.
...
This allows googletest to recognize the Haiku operating system when
running tests in other projects.
2019-04-11 17:28:06 +01:00
Rong Ou
f658dcbaa0
replace test case with test suite in the primer
2019-04-11 09:13:44 -07:00
David Benjamin
8e9297b503
MSVC C5046 warning is unavailable in MSVC 2015.
...
Per the MSVC documentation the warning is new as of Visual Studio 2017,
version 15.8.
https://docs.microsoft.com/en-us/cpp/error-messages/compiler-warnings/c5046?view=vs-2019
GTest users building on MSVC 2015 or older versions of 2017 will, when
C4616 is enabled, see a warning like:
[...]gtest-matchers.h(53): error C2220: warning treated as error - no 'object' file generated
[...]gtest-matchers.h(53): warning C4619: #pragma warning: there is no warning number '5046'
Guard the mention of 5046 by an _MSC_VER check. VS2017 15.8 corresponds
to an _MSC_VER of 1915.
https://docs.microsoft.com/en-us/cpp/preprocessor/predefined-macros?view=vs-2019
2019-04-09 18:13:32 -05:00
Rong Ou
d622dfe8ab
add missing period
2019-04-09 10:04:58 -07:00