Skip to content
Snippets Groups Projects
  1. Aug 05, 2020
  2. Aug 02, 2020
  3. Jul 29, 2020
  4. Jul 16, 2020
  5. Jul 11, 2020
  6. Jul 10, 2020
  7. Jul 06, 2020
    • Abseil Team's avatar
      Googletest export · 356f2d26
      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
      356f2d26
  8. Jul 02, 2020
  9. Jun 27, 2020
  10. Jun 20, 2020
  11. Jun 19, 2020
    • Abseil Team's avatar
      Googletest export · c6e309b2
      Abseil Team authored
      gtest.cc: fix a couple typos
      
      s/paramaterized/parameterized/
      
      PiperOrigin-RevId: 316878900
      c6e309b2
  12. Jun 16, 2020
    • Abseil Team's avatar
      Googletest export · 549c5d06
      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
      549c5d06
  13. Jun 13, 2020
    • dmauro's avatar
      Googletest export · 8567b092
      dmauro authored
      Adds support for printing pointers of types char8_t, char16_t, and char32_t.
      
      PiperOrigin-RevId: 316112767
      8567b092
  14. Jun 11, 2020
    • Abseil Team's avatar
      Googletest export · 13a433a9
      Abseil Team authored
      Change string matchers, like HasSubstr, to accept `string_view` input if available.
      
      PiperOrigin-RevId: 315726484
      13a433a9
    • Abseil Team's avatar
      Googletest export · 9f287b46
      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
      9f287b46
    • Abseil Team's avatar
      Googletest export · ec94d9f2
      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
      ec94d9f2
    • dmauro's avatar
      Googletest export · 1b0cdaae
      dmauro authored
      Add missing static_cast to char32_t printer
      
      PiperOrigin-RevId: 314925583
      1b0cdaae
  15. Jun 10, 2020
  16. Jun 05, 2020
    • dmauro's avatar
      Googletest export · 4fe01803
      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
      4fe01803
    • Gennadiy Rozental's avatar
      Merge pull request #2742 from kuzkry:c++17-type-printers · 07d4a6e9
      Gennadiy Rozental authored
      PiperOrigin-RevId: 314593695
      07d4a6e9
    • Abseil Team's avatar
      Googletest export · 210aab09
      Abseil Team authored
      gMock Cookbook: Slight rewording
      
      Remove "I" because documentation can have multiple authors. And remove unnecessary "guy".
      
      PiperOrigin-RevId: 314533746
      210aab09
  17. Jun 03, 2020
  18. May 31, 2020
    • Eli Lindsey's avatar
      fix compilation on OpenBSD 6.7 · a2533417
      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.
      a2533417
Loading