| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Move all docs into top-level docs/ directory
PiperOrigin-RevId: 350211277
|
|
|
|
| |
PiperOrigin-RevId: 349349288
|
|
|
|
|
|
| |
Internal change: Add self-shortlink
PiperOrigin-RevId: 343960442
|
|
|
|
|
|
|
|
| |
Update note on static const data members for C++17.
Using `constexpr` provides a tidier solution, where applicable.
PiperOrigin-RevId: 343276402
|
| |
|
|
|
|
|
|
| |
I'm not sure how this relates to the GitHub repo. Could you please advise?
PiperOrigin-RevId: 339060470
|
|
|
|
|
|
| |
Fix typo in the "Assertion Placement" section
PiperOrigin-RevId: 337435223
|
|
|
|
|
|
| |
Prefer using over typedef.
PiperOrigin-RevId: 337080404
|
|
|
|
|
|
| |
Update faq.md on underscore to mention `DISABLED_` prefix.
PiperOrigin-RevId: 334507963
|
|
|
|
|
|
| |
Address OSS Issue #2463 https://github.com/google/googletest/issues/2463
PiperOrigin-RevId: 333289989
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
internal change
PiperOrigin-RevId: 325799949
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Adding std:: namespace to string in the example
PiperOrigin-RevId: 320327910
|
|
|
|
|
|
| |
Modify NULL to nullptr in code examples
PiperOrigin-RevId: 314150792
|
|\
| |
| |
| | |
PiperOrigin-RevId: 312342956
|
| |
| |
| | |
fix a documentation link on "how to customize the printing of the arguments"
|
| |
| |
| |
| |
| |
| | |
Remove broken URL.
PiperOrigin-RevId: 311377660
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 309958629
|
| |\ \ |
|
| | | |
| | | |
| | | |
| | | | |
Only prints failures and a total pass count
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Fix documentation. This address https://github.com/google/googletest/pull/2827.
PiperOrigin-RevId: 309241571
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Use InitGoogleTest() instead of InitGoogle() in code example
PiperOrigin-RevId: 308070819
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Internal change
PiperOrigin-RevId: 307040308
|
|\ \ \ \
| | | | |
| | | | |
| | | | | |
PiperOrigin-RevId: 304617903
|
| | | | | |
|
|\ \ \ \ \
| |_|_|/ /
|/| | | |
| | | | | |
PiperOrigin-RevId: 303742575
|
| | |/ /
| |/| | |
|
|/ / /
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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
|
| |/
|/|
| |
| |
| |
| | |
Add documentation for ASSERT_DEBUG_DEATH/EXPECT_DEBUG_DEATH
PiperOrigin-RevId: 292138974
|
| |
| |
| |
| |
| |
| | |
Fix SCOPED_TRACE() message header in example
PiperOrigin-RevId: 290800241
|
| |
| |
| |
| |
| |
| | |
Correct the spelling of PARAMETERIZED.
PiperOrigin-RevId: 289897278
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
| |
| |
| |
| |
| |
| | |
Update example Environment class destructor annotation
PiperOrigin-RevId: 283986183
|
| | |
|
|/
|
|
|
|
| |
Fix typo in the predicate assertion table.
PiperOrigin-RevId: 281973457
|
|
|
|
|
|
| |
Editorial cleanup of the "write the main function" section
PiperOrigin-RevId: 277102507
|
|
|
|
|
|
| |
Make it clearer that users should _not_ write their own main functions.
PiperOrigin-RevId: 277079721
|
| |
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Typo in Registering tests programmatically section. Changed "were" to "where".
PiperOrigin-RevId: 276060801
|
|\
| |
| |
| | |
PiperOrigin-RevId: 273585026
|
| |
| |
| |
| |
| | |
This fixes up f2fb48c3 (a manual merge) that has abandoned some things
from PR #2407.
|
|\ \
| | |
| | |
| | | |
PiperOrigin-RevId: 273346440
|
| |/ |
|
|\ \
| |/
|/|
| | |
PiperOrigin-RevId: 273342665
|
|/ |
|
|
|
|
|
|
|
|
|
| |
Merge 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd into fb49e6c164490a227bbb7cf5223b846c836a0305
Closes #2407
COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2407 from kuzkry:StaticAssertTypeEq 3bdefdb473d304803d2a38e2a2cd5cdc1827c3bd
PiperOrigin-RevId: 269255328
|
|
|
|
|
|
| |
In the text fixtures section, point to the specific FAQ entry on constructors vs. `SetUp`.
PiperOrigin-RevId: 268509969
|