- Jul 29, 2020
-
-
srz_zumix authored
-
- Jul 16, 2020
- Jul 11, 2020
-
-
Ashik Paul authored
-
- Jul 10, 2020
-
-
Abseil Team authored
Adding std:: namespace to string in the example PiperOrigin-RevId: 320327910
-
Gennadiy Rozental authored
PiperOrigin-RevId: 320224740
-
Gennadiy Rozental authored
PiperOrigin-RevId: 320222294
-
Gennadiy Rozental authored
PiperOrigin-RevId: 320191208
-
ofats authored
Replace ByRef with std::ref everywhere in docs. PiperOrigin-RevId: 320002303
-
Abseil Team authored
Cleanup: Error message grammar fix. PiperOrigin-RevId: 319992912
-
Abseil Team authored
Fix mismatch between `int` and `int32_t` in the parse function. On some platforms, those are different types. PiperOrigin-RevId: 319991862
-
- Jul 06, 2020
-
-
Abseil Team authored
Improve compatibility with strict compilers targeting Windows Remove an unnecessary ##, which could result in warnings about invalid preprocessor tokens when pasting to an initial '(' PiperOrigin-RevId: 319277617
-
- Jul 02, 2020
-
-
Olivier Ldff authored
If target_compile_features is available and cxx_std_11. This fix compilation with clang and gcc when c++11 isn't specified by user.
-
- Jun 27, 2020
-
-
Abseil Team authored
Add Bazel build rules for gtest_list_output_unittest.py and correct some off-by-one line number expectations. PiperOrigin-RevId: 318466071
-
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
-
-
Vladimir Goncharov authored
EXPECT_THROW and EXPECT_NO_THROW will now print exception type and message when an unexpected std::exception-derived error is thrown. Fixes #2878
-
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 31, 2020
-
-
Eli Lindsey authored
Building on OpenBSD 6.7 current fails due to implicit numeric conversions: OpenBSD clang version 8.0.1 (tags/RELEASE_801/final) (based on LLVM 8.0.1) Target: amd64-unknown-openbsd6.7 Thread model: posix InstalledDir: /usr/bin In file included from /tmp/u/build/_deps/googletest-src/googletest/src/gtest-all.cc:45: /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:201:19: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] mib[5] = size / mib[4]; ~ ^~~~~~ /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:211:33: error: implicit conversion changes signedness: 'int' to 'unsigned long' [-Werror,-Wsign-conversion] for (size_t i = 0; i < size / mib[4]; i++) { ~ ^~~~~~ /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:215:10: error: implicit conversion changes signedness: 'int' to 'size_t' (aka 'unsigned long') [-Werror,-Wsign-conversion] return nthreads; ~~~~~~ ^~~~~~~~ /tmp/u/build/_deps/googletest-src/googletest/src/gtest-port.cc:201:17: error: implicit conversion loses integer precision: 'unsigned long' to 'int' [-Werror,-Wshorten-64-to-32] mib[5] = size / mib[4]; ~ ~~~~~^~~~~~~~ 4 errors generated.
-
- May 29, 2020
-
-
Krystian Kuzniarek authored
-
Krystian Kuzniarek authored
-