- Jun 27, 2020
-
-
Abseil Team authored
Normalize headers in gMock docs Increasing Header levels on two pages, to better match other pages in the same directory. PiperOrigin-RevId: 318280892
-
Abseil Team authored
Update auto_mock to support C++17 nested namespaces PiperOrigin-RevId: 318192214
-
Mark Barolak authored
PiperOrigin-RevId: 318147761
-
Abseil Team authored
Make sure sanitizers do not tamper with the stack here in StackLowerThanAddress(). PiperOrigin-RevId: 318082465
-
Mark Barolak authored
PiperOrigin-RevId: 317696457
-
Mark Barolak authored
PiperOrigin-RevId: 317666280
-
- Jun 20, 2020
-
-
Mayur Shingote authored
-
- Jun 19, 2020
-
-
Abseil Team authored
gtest.cc: fix a couple typos s/paramaterized/parameterized/ PiperOrigin-RevId: 316878900
-
- Jun 16, 2020
-
-
Abseil Team authored
gMock Cookbook: Fix incorrect comment about EXPECT priority order It's actually the last matching expectation that's used, not the first. PiperOrigin-RevId: 316490770
-
- Jun 13, 2020
-
-
dmauro authored
Adds support for printing pointers of types char8_t, char16_t, and char32_t. PiperOrigin-RevId: 316112767
-
- Jun 11, 2020
-
-
Abseil Team authored
Change string matchers, like HasSubstr, to accept `string_view` input if available. PiperOrigin-RevId: 315726484
-
Abseil Team authored
Make visible ParseInt32 in case users have separate gmock/gtest libraries and hidden-by-default symbols. This function is still considered an internal implementation detail and is subject to change without notice. It is still unsafe/unsupported to link together libraries built at different commits. PiperOrigin-RevId: 315405429
-
Abseil Team authored
Fail TEST_Ps or TYPED_TEST_Ps that are defined but are not instantiated, as well as the opposite case, where INSTANTIATE_TEST_SUITE_P or INSTANTIATE_TYPED_TEST_SUITE_P is used but without any matching TEST_P or TYPED_TEST_P. PiperOrigin-RevId: 315255779
-
dmauro authored
Add missing static_cast to char32_t printer PiperOrigin-RevId: 314925583
-
- Jun 10, 2020
-
-
Ryan Harrison authored
Fixes #2885
-
- Jun 05, 2020
-
-
dmauro authored
Adds support for printing the types char8_t, char16_t, and char32_t This changes prints these types as Unicode code points. It is possible that there is a better way of printing these types, but that change is more complex, and the format in which Googletest prints these types is subject to change if someone implements a better way of printing them. This fixes the C++20 build, which removed support for printing these types. https://en.cppreference.com/w/cpp/io/basic_ostream/operator_ltlt2 Fixes #2854 PiperOrigin-RevId: 314826912
-
Gennadiy Rozental authored
PiperOrigin-RevId: 314593695
-
Abseil Team authored
gMock Cookbook: Slight rewording Remove "I" because documentation can have multiple authors. And remove unnecessary "guy". PiperOrigin-RevId: 314533746
-
- Jun 03, 2020
-
-
Gennadiy Rozental authored
PiperOrigin-RevId: 314427570
-
Abseil Team authored
Note that EXPECT_EQ(actual_value, expected_value) or EXPECT_THAT(actual_value, Eq(expected_value)) is preferred over EXPECT_THAT(actual_value, expected_value). PiperOrigin-RevId: 314350852
-
Abseil Team authored
Modify NULL to nullptr in code examples PiperOrigin-RevId: 314150792
-
- May 29, 2020
-
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-
dmauro authored
Update Travis CI to use Ubuntu Bionic in some cases PiperOrigin-RevId: 313639562
-
dmauro authored
Fix compile error from protected destructor of std::codecvt PiperOrigin-RevId: 313584603
-
Abseil Team authored
Change 'suite' to 'case' in comments. PiperOrigin-RevId: 313429487
-
Derek Mauro authored
PiperOrigin-RevId: 313386267
-
dmauro authored
Rollback of warning on unused ACTION result change PiperOrigin-RevId: 313380971
-
Derek Mauro authored
PiperOrigin-RevId: 313289519
-
Derek Mauro authored
PiperOrigin-RevId: 312530971
-
Derek Mauro authored
PiperOrigin-RevId: 312486861
-
Derek Mauro authored
PiperOrigin-RevId: 312342956
-
Abseil Team authored
Spell out namespace for absl::Notification. PiperOrigin-RevId: 312300192
-
Abseil Team authored
Addresses https://github.com/google/googletest/issues/2848 by using `_wfopen(...)` on Windows PiperOrigin-RevId: 312198825
-
durandal authored
Silence MSVC C4100 (unused formal parameter) to fix breakage from recently added testcase. This warning is silenced in many files throughout googletest, but was not needed here until this testcase was added. PiperOrigin-RevId: 312121200
-
Abseil Team authored
Mark ACTION_Pn()-generated functions as must-use-result. This catches when a client creates an action and discards it, thinking that the action has actually been applied to something. This will help people who make the mistake of defining, for example, both `void Use(Foo*)` and `ACTION(Use) { Use(arg); }` for later application to a Foo. With such an overload, a client may then write `Use();`, forgetting the param and being confused why nothing happens. This also catches when a client defines their own action in terms of an ACTION()-generated one, invokes the ACTION's builder, and then fails to invoke the resulting action, thinking it's operating on the outer action's parameters. PiperOrigin-RevId: 312108101
-
Abseil Team authored
Fix the ACTION* macros to allow for more than 10 arguments in the action. Only the first 10 will be passed as individual arguments as `argN`, but the rest can be accessed from the `args` tuple. PiperOrigin-RevId: 311542098
-
- May 25, 2020
-
-
ppenguin authored
-