| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
This provides a type-safe way for an action to express that it wants to be
called only once, or to capture move-only objects. It is a generalization of
the type system-evading hack in ByMove, with the improvement that it works for
_any_ action (including user-defined ones), and correctly expresses that the
action can only be used with WillOnce. I'll make existing actions benefit in a
future commit.
PiperOrigin-RevId: 440496139
Change-Id: I4145d191cca5655995ef41360bb126c123cb41d3
|
|
|
|
|
|
|
| |
about mocked classes
PiperOrigin-RevId: 439427291
Change-Id: I3cac035e732fb3fe4f9c314657932a55269e0416
|
|
|
|
|
| |
PiperOrigin-RevId: 436268062
Change-Id: I3161b36121f78acf920d66fe121b2f1d5e5707b9
|
|\
| |
| |
| |
| | |
PiperOrigin-RevId: 434738675
Change-Id: I7c8de4004bac6b750674d19e3e79c0695a42652e
|
|/ |
|
|
|
|
|
|
|
| |
for better error messages.
PiperOrigin-RevId: 427598749
Change-Id: I8c7a5d7b2dde017641534f1c7eed8dd56c33e845
|
|\
| |
| |
| |
| | |
PiperOrigin-RevId: 423920083
Change-Id: I5e172813387f841d5a6c56eea155b876a465d208
|
| | |
|
| |
| |
| |
| |
| | |
PiperOrigin-RevId: 421915817
Change-Id: I22800e8943f9eb050304c521701d4040b1b7a914
|
|/
|
|
|
|
|
| |
dispatch. It will use the definition from the class the constructor of which
PiperOrigin-RevId: 421291241
Change-Id: If81e3d6d3774edfbbb4baaec8a3cd96566b3b09c
|
|
|
|
|
|
|
| |
than `testing` sub-directory.
PiperOrigin-RevId: 417945818
Change-Id: I8686ee0414fb80269528677f291877a231d1c991
|
|\
| |
| |
| |
| | |
PiperOrigin-RevId: 417474317
Change-Id: I4c84f59ba272a6bec3f992f7afae36e1c5617fad
|
| | |
|
|/
|
|
|
| |
PiperOrigin-RevId: 413674665
Change-Id: I466f87348390f42434a70f183efdf0557be9dddd
|
|
|
|
|
| |
PiperOrigin-RevId: 410041507
Change-Id: I6ca514249a54e7fbe6d8fbf4f07317a39af40929
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Style only change. Make use of advanced testing functions `FloatLE` and `DoubleLE` consistent.
PiperOrigin-RevId: 407660542
|
|
|
|
|
|
|
|
| |
Add docs section on test sharding
Fixes #3622
PiperOrigin-RevId: 405712812
|
|
|
|
|
|
| |
add missing using ::testing::DoAll when DoAll used in example
PiperOrigin-RevId: 402416497
|
| |
|
|\
| |
| |
| | |
PiperOrigin-RevId: 397998384
|
| | |
|
|/ |
|
|
|
|
|
|
| |
Add a caveat section for potential memory leak with derived classes using `SetUpTestSuite`.
PiperOrigin-RevId: 396986728
|
|\
| |
| |
| | |
PiperOrigin-RevId: 392720416
|
| | |
|
|/
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
Format documentation
PiperOrigin-RevId: 388592443
|
|
|
|
|
|
| |
Introduce a new matcher for unescaping Base-64 strings to gmock.
PiperOrigin-RevId: 388471904
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
Proliferation of inclusive language.
PiperOrigin-RevId: 387535677
|
|
|
|
|
|
| |
Remove unneeded using ::std::get;
PiperOrigin-RevId: 383688097
|
|
|
|
|
|
|
|
| |
Add `Conditional` wrapper to gtest
This follows an initial proposal for an 'EqIff` matcher. `Conditional` was considered more precise as an EqIff() matcher may suffer from `Iff` not being universally understood.
PiperOrigin-RevId: 383407665
|
|
|
|
|
|
| |
Implement 'Contains(e).Times(n)' matcher modifier which allows to test for arbitrary occurrences including absence with Times(0).
PiperOrigin-RevId: 382210276
|
|\
| |
| |
| | |
PiperOrigin-RevId: 380705469
|
|/ |
|
|
|
|
|
|
| |
Internal change
PiperOrigin-RevId: 378672633
|
|
|
|
|
|
| |
Add CNAME file for custom domain
PiperOrigin-RevId: 378384525
|
|
|
|
|
|
| |
Update broken link
PiperOrigin-RevId: 378272186
|
|
|
|
|
|
| |
Add CNAME file for custom domain
PiperOrigin-RevId: 377604116
|
|
|
|
|
|
| |
Create new Testing API reference
PiperOrigin-RevId: 376969148
|
|
|
|
|
|
| |
Create new Mocking Reference
PiperOrigin-RevId: 376951575
|
|
|
|
|
|
| |
Fix broken link
PiperOrigin-RevId: 375995669
|
|
|
|
|
|
| |
Create Assertions Reference
PiperOrigin-RevId: 375824718
|
|
|
|
|
|
| |
Add Google Analytics & footer
PiperOrigin-RevId: 375539689
|
|
|
|
|
|
| |
Add missing link
PiperOrigin-RevId: 374774097
|
|
|
|
|
|
| |
Remove inapplicable example
PiperOrigin-RevId: 374762004
|