1. 09 Mar, 2021 2 commits
  2. 04 Mar, 2021 3 commits
    • Abseil Team's avatar
      Googletest export · e7e59176
      Abseil Team authored
      Format WORKSPACE and googlemock/test/BUILD.bazel using buildifier
      
      PiperOrigin-RevId: 360913861
      e7e59176
    • Abseil Team's avatar
      Googletest export · 32983d21
      Abseil Team authored
      Fix enum names in a value-parameterized test example.
      
      PiperOrigin-RevId: 360559723
      32983d21
    • Abseil Team's avatar
      Googletest export · de41f822
      Abseil Team authored
      Add Supported Platforms page to docs
      
      PiperOrigin-RevId: 360307129
      de41f822
  3. 26 Feb, 2021 2 commits
  4. 25 Feb, 2021 1 commit
    • Niels Dekker's avatar
      overload PrintTo for std::type_info and std::type_index · ac3c2a8d
      Niels Dekker authored
      Included the string returned by their `name()` member function with the output of `PrintTo`.
      
      Typical use case:
      
          std::unique_ptr<AbstractProduct> product = FactoryMethod();
          // Assert that the product is of type X:
          ASSERT_EQ(std::type_index{typeid(*product)},
                    std::type_index{typeid(ProductX)});
      
      Possible output in case of a test assert failure, now including the names of the compared type indices:
      
      > error: Expected equality of these values:
      >  std::type_index(typeid(*product))
      >    Which is: 8-byte object <D0-65 54-8C F6-7F 00-00> ("class ProductY")
      >  std::type_index(typeid(ProductX))
      >    Which is: 8-byte object <40-64 54-8C F6-7F 00-00> ("class ProductX")
      
      With help from Krystian Kuzniarek.
      ac3c2a8d
  5. 22 Feb, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 1de637fb
      Abseil Team authored
      Remove anchors from page titles in docs
      
      PiperOrigin-RevId: 358474917
      1de637fb
  6. 19 Feb, 2021 1 commit
  7. 18 Feb, 2021 8 commits
    • Abseil Team's avatar
      Googletest export · daa0df7b
      Abseil Team authored
      Explicitly skip tests after fatal global environment setup errors
      
      Previously the tests were all skipped, but the resulting output claimed all
      tests passed.
      
      Before:
      ```
      [----------] Global test environment set-up.
      <failure message>
      [----------] Global test environment tear-down
      [==========] 1 test from 1 test suite ran. (83 ms total)
      [  PASSED  ] 1 test.
      [  FAILED  ] 0 tests, listed below:
      ```
      
      After:
      ```
      [==========] Running 1 test from 1 test suite.
      [----------] Global test environment set-up.
      <failure message>
      [----------] 1 test from SomeTest
      [ RUN      ] SomeTest.DoesFoo
      <...>: Skipped
      [  SKIPPED ] SomeTest.DoesFoo (0 ms)
      [----------] 1 test from SomeTest (0 ms total)
      
      [----------] Global test environment tear-down
      [==========] 1 test from 1 test suite ran. (68 ms total)
      [  PASSED  ] 0 tests.
      [  SKIPPED ] 1 test, listed below:
      [  SKIPPED ] SomeTest.DoesFoo
      [  FAILED  ] 0 tests, listed below:
      ```
      
      PiperOrigin-RevId: 358026389
      daa0df7b
    • Abseil Team's avatar
      Googletest export · 7fb047bc
      Abseil Team authored
      Explain how to wrap matchers.
      
      PiperOrigin-RevId: 357901293
      7fb047bc
    • Abseil Team's avatar
      Googletest export · 58937787
      Abseil Team authored
      Update stale links to `gmock_cook_book.md`.
      
      I'm a new googletest user and found these links broken when reading the documentation.
      
      PiperOrigin-RevId: 357786392
      58937787
    • Abseil Team's avatar
      Googletest export · bc32a874
      Abseil Team authored
      Update the custom name example to not use underscores.
      
      The NOTE a few blocks above specifically calls out that test names should not contain undersccores, so probably the example should not suggest using underscores.
      
      PiperOrigin-RevId: 357204578
      bc32a874
    • Abseil Team's avatar
      Googletest export · 1a5a78b9
      Abseil Team authored
      Add files for GitHub Pages
      
      PiperOrigin-RevId: 357096486
      1a5a78b9
    • Abseil Team's avatar
      Googletest export · 9e2c7ab0
      Abseil Team authored
      Add issue templates
      
      PiperOrigin-RevId: 357075859
      9e2c7ab0
    • Abseil Team's avatar
      Googletest export · 0a3a3a84
      Abseil Team authored
      Make include guards conform with https://google.github.io/styleguide/cppguide.html#The__define_Guard, attempt #2
      
      PiperOrigin-RevId: 357056902
      0a3a3a84
    • Abseil Team's avatar
      Googletest export · e935e6c3
      Abseil Team authored
      Internal change
      
      PiperOrigin-RevId: 356867746
      e935e6c3
  8. 11 Feb, 2021 9 commits
  9. 05 Feb, 2021 13 commits