kaswhy
1cab76c7b8
Docs: Add mention of `gtest_recreate_environments_when_repeating`
1 year ago
kaswhy
778badf63a
Docs: add conditions for calling SetUp and TearDown()
1 year ago
kaswhy
dda72ef321
Docs: add conditions for calling TearDown()
1 year ago
Elior Schneider
722daa3da6
Update advanced.md
...
http to https
2 years ago
sthd
8ca57f194a
Changed 2 public links from http to https
2 years ago
Abseil Team
7e33b6a1c4
Specify SetUpTestSuite is required to be public.
...
PiperOrigin-RevId: 555578256
Change-Id: I9366fc99ae953c29e468fcddb4be203c9c05661b
2 years ago
Abseil Team
e9fb5c7bac
Replace `const char*` with `absl::string_view` as the latter is preferred.
...
PiperOrigin-RevId: 519122695
Change-Id: I7dcf969d15d26ccc4b376e3ab6db7f4c08c7386f
2 years ago
Phoebe Liang
3288c4deae
Revise documentation to include AbslStringify
...
PiperOrigin-RevId: 518039451
Change-Id: Ife548d0f83266746ce1981bea31e70e6b43027c9
2 years ago
Abseil Team
d0ba3ccc76
Added a missing semicolon for GTEST_FLAG_SET code snippet.
...
PiperOrigin-RevId: 511858980
Change-Id: I0f9e6ffdeb8ae809d662eb3ff46eab5a109a8d93
2 years ago
Abseil Team
4b4c56aff6
Make document and example code more clear in the caveat section for potential memory leak with `SetUpTestSuite`.
...
PiperOrigin-RevId: 504706717
Change-Id: I5842a4569f81f6c0d636099b5cdaabe778996949
2 years ago
Abseil Team
66366cea56
Add documentation for `--gunit_recreate_environments_when_repeating`.
...
PiperOrigin-RevId: 485895339
Change-Id: I09b0f535941531ef7bcb74593d385891d56b3e32
3 years ago
Abseil Team
03597a01ee
Clarify that parameter generator does not evaluate immediately
...
This aims to avoid confusion as to what kinds of computations are valid inside
a parameter generator expression, calling out flags as a supported use case.
PiperOrigin-RevId: 483397027
Change-Id: I2d036fae95120d617f30a5566ea7498ce1f9bfb6
3 years ago
Abseil Team
9fbb657503
Update the POSIX Extended section of the Regular Expression Wikipedia page
...
PiperOrigin-RevId: 479667644
Change-Id: I4ab03bd5f0520f8586667de8bd1b9443f241337a
3 years ago
assafpr
df4b8edee0
Update advanced.md
...
master branch changed to main branch in links
3 years ago
Abseil Team
b1f84bf176
Update googletest docs to indicate that RE2 is now used for regexp implementation when building with Bazel and using Abseil.
...
PiperOrigin-RevId: 454012698
Change-Id: I3a9df78368ffe3cb7cf3d315001125b97b1aebbe
3 years ago
elixir
6cd3823783
Clarify that `this->` is needed to access members of type-parameterized tests.
...
PiperOrigin-RevId: 451439108
Change-Id: I8929df21d53cbe6c42e38653e1bb0cac72fc36f9
3 years ago
Szymon Sobik
132059ba0c
Adjust documentation regarding xml and json source file location otput.
3 years ago
Abseil Team
9ca071b6e5
Googletest export
...
Revert CL that updated example for SetUpTestSuite/TearDownTestSuite to initialize static member variables inline.
It seems that non-const static data members for some reason still must be initialized out-of-line.
PiperOrigin-RevId: 408913846
4 years ago
Abseil Team
79efd968bf
Googletest export
...
Update example for SetUpTestSuite/TearDownTestSuite to use modern C++ standards.
Currently it is using an outdated C++ construct (defining static member variables separately from the declaration).
PiperOrigin-RevId: 408663014
4 years ago
Abseil Team
aa486f165e
Googletest export
...
Add missing InitGoogleTest line in "Registering tests" example code
Copying the original code gives the following error message
"""
IMPORTANT NOTICE - DO NOT IGNORE:
This test program did NOT call testing::InitGoogleTest() before calling RUN_ALL_TESTS(). This is INVALID. Soon Google Test will start to enforce the valid usage. Please fix it ASAP, or IT WILL START TO FAIL.
"""
PiperOrigin-RevId: 408385714
4 years ago
Abseil Team
d4e084a1cc
Googletest export
...
Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent.
PiperOrigin-RevId: 407660542
4 years ago
Abseil Team
7cf37a18d1
Googletest export
...
Add docs section on test sharding
Fixes #3622
PiperOrigin-RevId: 405712812
4 years ago
Abseil Team
6bfab0becc
Googletest export
...
Add a caveat section for potential memory leak with derived classes using `SetUpTestSuite`.
PiperOrigin-RevId: 396986728
4 years ago
Abseil Team
2f80c2ba71
Googletest export
...
Standardize access to GoogleTest flags on GTEST_FLAG_GET/GTEST_FLAG_SET
Custom implementations can decide how access to flags is performed depending on the implementation of flags being used.
PiperOrigin-RevId: 391971115
4 years ago
Abseil Team
5b40153003
Googletest export
...
Format documentation
PiperOrigin-RevId: 388592443
4 years ago
Abseil Team
c22ce88775
Googletest export
...
Standardize access to GoogleTest flags on GTEST_FLAG_GET/GTEST_FLAG_SET
Custom implementations can decide how access to flags is performed depending on the implementation of flags being used.
PiperOrigin-RevId: 388181424
4 years ago
Abseil Team
29d2540622
Googletest export
...
Proliferation of inclusive language.
PiperOrigin-RevId: 387535677
4 years ago
Abseil Team
53495a2a7d
Googletest export
...
Create new Testing API reference
PiperOrigin-RevId: 376969148
4 years ago
Abseil Team
d5d6ff940b
Googletest export
...
Create Assertions Reference
PiperOrigin-RevId: 375824718
4 years ago
Abseil Team
9741c42200
Googletest export
...
Add missing link
PiperOrigin-RevId: 374774097
4 years ago
Abseil Team
f8519738b0
Googletest export
...
Remove inapplicable example
PiperOrigin-RevId: 374762004
4 years ago
Abseil Team
d69a112956
Googletest export
...
Fix code in googletest parameterized name example.
PiperOrigin-RevId: 373262838
4 years ago
Abseil Team
065a0c8140
Googletest export
...
Clean up links to Matchers Reference
PiperOrigin-RevId: 370821457
4 years ago
Abseil Team
680a5aa337
Googletest export
...
Move matchers reference from cheat sheet into its own document
PiperOrigin-RevId: 370749693
4 years ago
Sebastian Krämer
124e87a303
Apply missing suggestions from code review for GTEST_SKIP
...
Co-authored-by: Eric Schmidt <shibumi@google.com>
4 years ago
Sebastian Krämer
1de97fd1c3
Apply suggestions from code review for GTEST_SKIP documentation
...
Extended example and some rewording by @ericschmidtatwork , thank you.
Co-authored-by: Eric Schmidt <shibumi@google.com>
4 years ago
Sebastian Krämer
c4ed56eb75
Add subsection for GTEST_SKIP documentation
...
A subsection "Skipping test execution" was added to document GTEST_SKIP
and where it can be used.
relates issue #1544
4 years ago
Abseil Team
486a4a6be5
Googletest export
...
Adds a warning about anonymous namespaces in relation to private testing.
PiperOrigin-RevId: 367730808
4 years ago
Abseil Team
6dabd081e9
Googletest export
...
Code style cleanup in docs
PiperOrigin-RevId: 364907938
4 years ago
Abseil Team
5142ccd2d4
Googletest export
...
Update advanced.md
PiperOrigin-RevId: 364839958
4 years ago
Abseil Team
32983d211b
Googletest export
...
Fix enum names in a value-parameterized test example.
PiperOrigin-RevId: 360559723
4 years ago
Abseil Team
d9c309fdab
Googletest export
...
Add files for GitHub Pages
PiperOrigin-RevId: 358289110
4 years ago
Abseil Team
bc32a87452
Googletest export
...
Update the custom name example to not use underscores.
The NOTE a few blocks above specifically calls out that test names should not contain undersccores, so probably the example should not suggest using underscores.
PiperOrigin-RevId: 357204578
4 years ago
Abseil Team
e935e6c387
Googletest export
...
Internal change
PiperOrigin-RevId: 356867746
4 years ago
Abseil Team
609281088c
Googletest export
...
Docs cleanup
PiperOrigin-RevId: 356798444
4 years ago
Abseil Team
8599d312ce
Googletest export
...
Fix terminal output formatting in advanced guide
PiperOrigin-RevId: 355233178
4 years ago
Abseil Team
8a7618672a
Googletest export
...
Delete internal tags from docs
PiperOrigin-RevId: 353769887
4 years ago
Abseil Team
14098f2015
Googletest export
...
Merge CONTRIBUTORS, delete LICENSEs in googletest/ and googlemock/
PiperOrigin-RevId: 352558822
4 years ago
Abseil Team
d128fc8252
Googletest export
...
Fixes #3222 , fixes #3225 , closes #3223
PiperOrigin-RevId: 352066131
4 years ago
Krystian Kuzniarek
1b4e47767f
fix a broken link
4 years ago