Abseil Team
489283524e
Googletest export
...
Move all docs into top-level docs/ directory
PiperOrigin-RevId: 350211277
2021-01-13 20:59:12 -05:00
Derek Mauro
d72813110c
Merge pull request #3189 from ellert:gtest-help-test-GNU/kFreeBSD
...
PiperOrigin-RevId: 349349288
2021-01-13 20:58:40 -05:00
Abseil Team
b1fbd33c06
Googletest export
...
Internal change: Add self-shortlink
PiperOrigin-RevId: 343960442
2020-11-24 03:46:27 -05:00
Abseil Team
efe703618c
Googletest export
...
Update note on static const data members for C++17.
Using `constexpr` provides a tidier solution, where applicable.
PiperOrigin-RevId: 343276402
2020-11-24 03:46:19 -05:00
Elliott Brossard
bd619dee05
Add instructions for sanitizer integration
2020-10-27 15:31:34 +00:00
Abseil Team
1845b85a0e
Googletest export
...
I'm not sure how this relates to the GitHub repo. Could you please advise?
PiperOrigin-RevId: 339060470
2020-10-27 10:17:15 -04:00
Abseil Team
620659ed92
Googletest export
...
Fix typo in the "Assertion Placement" section
PiperOrigin-RevId: 337435223
2020-10-19 14:01:36 -04:00
Abseil Team
b2cb220eb7
Googletest export
...
Prefer using over typedef.
PiperOrigin-RevId: 337080404
2020-10-14 18:26:24 -04:00
Abseil Team
1fb1bb23bb
Googletest export
...
Update faq.md on underscore to mention `DISABLED_` prefix.
PiperOrigin-RevId: 334507963
2020-09-30 20:52:45 -04:00
Abseil Team
df94fc5f7e
Googletest export
...
Address OSS Issue #2463 https://github.com/google/googletest/issues/2463
PiperOrigin-RevId: 333289989
2020-09-24 12:06:34 -04:00
krzysio
adeef19294
Googletest export
...
Mention matchers as an alternative to assertions in subroutines.
Matchers are often the better choice - they can provide more informative error messages and circumvent all of the complexity described in this section.
PiperOrigin-RevId: 326332149
2020-08-14 03:16:24 -04:00
Abseil Team
3d93f88081
Googletest export
...
internal change
PiperOrigin-RevId: 325799949
2020-08-12 02:41:02 -04:00
Abseil Team
68ca04c261
Googletest export
...
Updated documentation for Value-Parameterized Tests: Per-default, a TEST_P without a corresponding INSTANTIATE_TEST_SUITE_P now causes a failing test.
PiperOrigin-RevId: 323622468
2020-07-29 15:48:29 -04:00
Ashik Paul
c4a5ee3ac0
Fixed some minor typos
2020-07-11 12:13:05 +05:30
Abseil Team
70b90929b1
Googletest export
...
Adding std:: namespace to string in the example
PiperOrigin-RevId: 320327910
2020-07-09 13:35:53 -04:00
Abseil Team
df6813f5e0
Googletest export
...
Modify NULL to nullptr in code examples
PiperOrigin-RevId: 314150792
2020-06-02 20:45:03 -04:00
Derek Mauro
99ea9ca3fe
Merge pull request #2698 from aribibek:patch-1
...
PiperOrigin-RevId: 312342956
2020-05-28 19:54:19 -04:00
Abseil Team
011959aafd
Googletest export
...
Remove broken URL.
PiperOrigin-RevId: 311377660
2020-05-13 20:36:05 -04:00
vslashg
e589a33717
Merge pull request #2751 from calumr:quiet-flag
...
PiperOrigin-RevId: 309958629
2020-05-05 17:07:14 -04:00
Abseil Team
0eea2e9fc6
Googletest export
...
Fix documentation. This address https://github.com/google/googletest/pull/2827 .
PiperOrigin-RevId: 309241571
2020-05-01 17:12:28 -04:00
Abseil Team
d7ca9af004
Googletest export
...
Use InitGoogleTest() instead of InitGoogle() in code example
PiperOrigin-RevId: 308070819
2020-05-01 17:11:26 -04:00
Abseil Team
a677010564
Googletest export
...
Internal change
PiperOrigin-RevId: 307040308
2020-05-01 17:10:51 -04:00
Andy Getz
e3f0319d89
Merge pull request #2715 from kuzkry:document-premature-exit-file-protocol
...
PiperOrigin-RevId: 304617903
2020-04-04 18:05:39 -04:00
Andy Getz
dc82a33473
Merge pull request #2765 from kuzkry:unsupported-build-systems
...
PiperOrigin-RevId: 303742575
2020-03-31 19:23:30 -04:00
vslashg
189299e957
Merge branch 'master' into quiet-flag
2020-03-27 15:36:58 -04:00
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
Krystian Kuzniarek
acabdf65fb
remove chapters on Autotools, Meson and plain Makefiles
2020-03-24 15:37:34 +01:00
Calum Robinson
fb19f57880
Add GTEST_BRIEF option
...
Only prints failures and a total pass count
2020-03-19 20:33:58 +00: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
aribibek
461bd03fc7
fix a link to documentation
...
fix a documentation link on "how to customize the printing of the arguments"
2020-02-06 18:41:20 +06: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
Krystian Kuzniarek
dee725b053
add documentation for the premature-exit-file protocol
2019-11-11 17:17:52 +01: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