| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Get rid of code generation for NiceMock / StrictMock.
They got small enough that it doesn't make sense to generate them.
PiperOrigin-RevId: 226455689
|
|
|
|
|
|
| |
Add public entry point testing::RegisterTest.
PiperOrigin-RevId: 226350937
|
|
|
|
|
|
|
|
|
|
|
|
| |
Use std::function to implement type erasure in Action, wrapping the legacy
ActionInterface if necessary.
This makes functors / std::function the primary way to implement Action; the
existing ActionInterface implementations are handled through ActionAdaptor.
The existing actions are not (yet) migrated though; they'll pay the cost of one
additional indirection - but that should be negligible.
PiperOrigin-RevId: 226126137
|
|
|
|
|
|
| |
Unifdef c++11-related macros from googletest now that it requires C++11.
PiperOrigin-RevId: 225905601
|
|
|
|
|
|
| |
Suppress C4503 for MCVS , again
PiperOrigin-RevId: 225895719
|
|
|
|
|
|
| |
Suppress C4503 for MCVS
PiperOrigin-RevId: 225871050
|
|
|
| |
Update build badge to point to the correct location
|
|
|
|
|
|
| |
Internal Change
PiperOrigin-RevId: 225849972
|
|
|
|
|
|
| |
Remove GTEST_REFERENCE_TO_CONST_ usage from GMock. In C++11, it's redundant.
PiperOrigin-RevId: 225719210
|
|
|
|
|
|
| |
Allow container matchers to accept move-only containers.
PiperOrigin-RevId: 225667441
|
|
|
|
|
|
| |
Replace pump'd code for DoAll with variadic templates.
PiperOrigin-RevId: 225584656
|
|\
| |
| |
| | |
PiperOrigin-RevId: 225552792
|
| | |
|
| |
| |
| | |
Removed global chmod +x for Travis scripts in favor of just applying it to PlatformIO builds.
|
| |
| |
| |
| |
| | |
Added initial library.json config for PlatformIO
Version will be synced to proper googletest version once the PIO library has been registered and proven out round trip.
|
| | |
|
| |
| |
| |
| |
| |
| | |
Support skipped in XML and JSON output
PiperOrigin-RevId: 225386540
|
| |
| |
| |
| |
| |
| | |
Internal Change
PiperOrigin-RevId: 225231727
|
| |
| |
| | |
point build badge back to proper repo path
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The gmock matchers have a concept of MatchAndExpain; where the details of the
matching are written to a "result listener". A matcher can avoid creating
expensive debug info by checking result_listener->IsInterested(); but,
unfortunately, the default matcher code (called from EXPECT_THAT) is always
"interested".
This change implements EXPECT_THAT matching to first run the matcher in a "not
interested" mode; and then run it a second time ("interested") only if the
match fails.
PiperOrigin-RevId: 225036073
|
|\ \
| | |
| | | |
Cache gcc and clang APT packages
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
rollback of 224929783
PiperOrigin-RevId: 225008559
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The gmock matchers have a concept of MatchAndExpain; where the details of the
matching are written to a "result listener". A matcher can avoid creating
expensive debug info by checking result_listener->IsInterested(); but,
unfortunately, the default matcher code (called from EXPECT_THAT) is always
"interested".
This change implements EXPECT_THAT matching to first run the matcher in a "not
interested" mode; and then run it a second time ("interested") only if the
match fails.
PiperOrigin-RevId: 224929783
|
|\ \
| |/
|/|
| | |
PiperOrigin-RevId: 224054240
|
| | |
|
|\ \
| | |
| | | |
Fixed typo
|
| | | |
|
| |/
|/|
| |
| |
| |
| | |
Deduce SizeType for SizeIs() from the return value of the size() member function
PiperOrigin-RevId: 223835674
|
| |
| |
| |
| |
| |
| | |
Fix bazel issue
PiperOrigin-RevId: 223829127
|
| |
| |
| | |
Need this for bazel change
|
| | |
|
| |
| |
| | |
Fix build icon location
|
| |
| |
| |
| |
| |
| | |
Fix bazel issue
PiperOrigin-RevId: 223823930
|
| |
| |
| |
| |
| |
| | |
Applied fixes for ClangTidy modernize-use-override and modernize-use-using.
PiperOrigin-RevId: 223800219
|
|/
|
|
|
|
| |
Replace pump'd Args() matcher with variadic templates.
PiperOrigin-RevId: 223794430
|
|
|
|
|
| |
Fix: remove two added testcases that depend on gmock; I'll put them back later in a way that doesn't break the build.
PiperOrigin-RevId: 223227562
|
|
|
|
|
|
| |
Accept gmock matchers in EXPECT_EXIT and friends to allow matches other than simple regex matches on death output.
PiperOrigin-RevId: 223035409
|
|\
| |
| |
| | |
PiperOrigin-RevId: 222861732
|
| | |
|
| |
| |
| |
| |
| |
| | |
Internal Change
PiperOrigin-RevId: 222412033
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
| |
|