Abseil Team
1ced315a48
Googletest export
...
Add --gtest_fail_fast support to googletest.
- Analogous functionality to to golang -test.failfast and python --failfast
- Stops test execution upon first test failure.
- Also add support Bazel equivalent env var (TESTBRIDGE_TEST_RUNNER_FAIL_FAST)
PiperOrigin-RevId: 302488880
2020-03-24 17:32:07 -04:00
Abseil Team
7bc671b8e0
Googletest export
...
Add documentation for ASSERT_DEBUG_DEATH/EXPECT_DEBUG_DEATH
PiperOrigin-RevId: 292138974
2020-02-07 13:34:33 -05:00
Abseil Team
10b1902d89
Googletest export
...
Fix SCOPED_TRACE() message header in example
PiperOrigin-RevId: 290800241
2020-01-21 16:26:40 -05:00
Abseil Team
8b4817e3df
Googletest export
...
Correct the spelling of PARAMETERIZED.
PiperOrigin-RevId: 289897278
2020-01-16 13:56:21 -05:00
Abseil Team
0b024bd91a
Googletest export
...
Add GTEST_ALLOW_UNINSTANTIATED_PARAMTERIZED_TEST to mark a paramaterized test as allowed to be un-instantiated.
This allows test suites, that are defined in libraries and, for other reasons, get linked in (which should probably be avoided, but isn't always possible) to be marked as allowed to go uninstantiated.
This can also be used to grandfather existing issues and expedite adoption of the checks with regards to new cases before they can be fixed.
PiperOrigin-RevId: 289581573
2020-01-16 13:55:45 -05:00
Abseil Team
2002f267f0
Googletest export
...
Update example Environment class destructor annotation
PiperOrigin-RevId: 283986183
2019-12-05 14:41:59 -05:00
Oleksandr Yefremov
b8a92f7c86
Rename test case to test suite
2019-11-27 10:30:03 +02:00
Abseil Team
679bfec6db
Googletest export
...
Fix typo in the predicate assertion table.
PiperOrigin-RevId: 281973457
2019-11-22 16:33:37 -05:00
Abseil Team
2bee6da24e
Googletest export
...
Editorial cleanup of the "write the main function" section
PiperOrigin-RevId: 277102507
2019-10-29 16:51:40 -04:00
Abseil Team
757d39a79b
Googletest export
...
Make it clearer that users should _not_ write their own main functions.
PiperOrigin-RevId: 277079721
2019-10-29 16:51:22 -04:00
Krystian Kuzniarek
002905f29f
move the pumping script to googlemock
2019-10-25 17:03:39 +02:00
Abseil Team
aa1146da81
Googletest export
...
Split the scoped trace examples into two snippets.
This doesn't have an effect in the github markdown renderer, but in some other renderers/templates, this leads them to be independently copy-pastable. In particular, the markdown rendering that Google uses internally has a copy button for each code snippet, which, before this change, would copy both lines. Bad copy button, no cookie! After this change, there will be two such buttons, one per line, and clicking a copy button will copy only the one snippet it is next to, and not the other. This is desirable because nobody will ever want to copy both lines, only one or the other.
PiperOrigin-RevId: 276079009
2019-10-23 13:35:16 -04:00
Abseil Team
f1afeaa643
Googletest export
...
Typo in Registering tests programmatically section. Changed "were" to "where".
PiperOrigin-RevId: 276060801
2019-10-22 10:54:55 -04:00
Gennadiy Civil
cb1d5db1a1
Merge pull request #2448 from kuzkry:bad-googletest-export
...
PiperOrigin-RevId: 273585026
2019-10-10 09:21:38 -04:00
Gennadiy Civil
3f5a8c6ee6
Merge pull request #2495 from hyukmyeong:typo
...
PiperOrigin-RevId: 273346440
2019-10-07 15:16:08 -04:00
Gennadiy Civil
4360e4267c
Merge pull request #2491 from SoapGentoo:fix-GNUInstallDirs-pkg-config
...
PiperOrigin-RevId: 273342665
2019-10-07 14:52:49 -04:00
David Seifert
b96832a44b
Add documentation for pkg-config in cross-compilation settings
2019-10-05 15:58:48 +02:00
hyuk.myeong
51f7396d40
Fix typo in documents
2019-10-01 14:24:55 +09:00
Krystian Kuzniarek
3339b97c6a
square away the stuff that hasn't been merged in a manual review
...
This fixes up f2fb48c3
(a manual merge) that has abandoned some things
from PR #2407 .
2019-09-16 19:22:10 +02:00
kuzkry
f2fb48c3b3
Googletest export
...
Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c164
Closes #2407
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd
PiperOrigin-RevId: 269255328
2019-09-16 11:47:35 -04:00
Abseil Team
274afe50cf
Googletest export
...
In the text fixtures section, point to the specific FAQ entry on constructors vs. `SetUp`.
PiperOrigin-RevId: 268509969
2019-09-12 12:10:33 -04:00
Abseil Team
33a0d4f6d7
Googletest export
...
Some mechanical and grammatical fixes to the Primer.
PiperOrigin-RevId: 268200783
2019-09-10 10:54:21 -04:00
Abseil Team
6123df929d
Googletest export
...
Internal Change
PiperOrigin-RevId: 267457395
2019-09-06 08:00:11 -04:00
Abseil Team
eb56ee5a28
Googletest export
...
Fix invalid g3doc syntax highlighting languages.
PiperOrigin-RevId: 265905539
2019-08-28 13:11:18 -04:00
Abseil Team
de38f63807
Googletest export
...
Internal change, documentation only.
PiperOrigin-RevId: 262554386
2019-08-15 17:33:20 -04:00
Gennadiy Civil
90a443f9c2
Merge pull request #2378 from kuzkry:markdown-table
...
PiperOrigin-RevId: 262135359
2019-08-07 11:57:30 -04:00
Krystian Kuzniarek
6aa98d5cdc
fix an improperly generated table
2019-08-07 00:38:37 +02:00
Gennadiy Civil
6c7a8bec8d
Merge pull request #2341 from ChrisBaish:master
...
PiperOrigin-RevId: 261344735
2019-08-02 13:27:07 -04:00
Gennadiy Civil
47092933fd
Merge pull request #2361 from guillemglez:master
...
PiperOrigin-RevId: 261340959
2019-08-02 13:06:47 -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
Guillem González Vela
210239e800
Fix table formatting in advanced.md
2019-08-01 20:39:07 +02: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
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
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
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