1. 02 Dec, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · ae8d1fc8
      Abseil Team authored
      Clarify use of IsTrue and IsFalse matchers.
      
      These matchers are subtle and confusing: what are they for?
      The docs in the code are clear, but not very accessible.
      googletest/googlemock/include/gmock/gmock-more-matchers.h
      
      PiperOrigin-RevId: 283393275
      ae8d1fc8
  2. 25 Nov, 2019 1 commit
  3. 22 Nov, 2019 7 commits
  4. 21 Nov, 2019 1 commit
  5. 20 Nov, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 4bf46623
      Abseil Team authored
      Add a breadcrumb about nullopt comparison near the Optional() matcher.
      
      Also add a note about how otherwise-spurious 'Eq()' may be needed in some cases. Without this, something like Field(&MyStruct::optional_field_without_equals_equals, absl::nullopt) doesn't work - it converts the nullopt to an optional<> of the non-equalable type, and fails to select the operator==(optional<>, nullopt_t) overload. The Eq() lets the type persist later into the match.
      
      PiperOrigin-RevId: 281305519
      4bf46623
  6. 19 Nov, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 50cfbb72
      Abseil Team authored
      Update stale comments to point to proper location.
      
      PiperOrigin-RevId: 281157036
      50cfbb72
  7. 05 Nov, 2019 1 commit
  8. 02 Nov, 2019 3 commits
  9. 31 Oct, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · 2db3df9c
      Abseil Team authored
      Change variable name to match comment.
      
      PiperOrigin-RevId: 277713621
      2db3df9c
    • Abseil Team's avatar
      Googletest export · e2fc3a9c
      Abseil Team authored
      Tolerate std::string's explicit copy construction from std::string_view.
      
      PiperOrigin-RevId: 277583394
      e2fc3a9c
  10. 30 Oct, 2019 1 commit
    • misterg's avatar
      Googletest export · 0a034808
      misterg authored
      Remove outdated unsupported scripts
      
      PiperOrigin-RevId: 277556831
      0a034808
  11. 29 Oct, 2019 4 commits
    • misterg's avatar
      Googletest export · ba33a887
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 277336786
      ba33a887
    • mhermas's avatar
      Googletest export · fff8dabb
      mhermas authored
      Merge 65032e28cba171c000accc85ffaf6f1e62921b86 into 8c91ecef
      
      Closes #2470
      
      COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2470 from hermas55:bugfix/default_const_param 65032e28cba171c000accc85ffaf6f1e62921b86
      PiperOrigin-RevId: 277118535
      fff8dabb
    • Abseil Team's avatar
      Googletest export · 755f853c
      Abseil Team authored
      Avoid temporary matcher instances.
      They are unnecessary and can be relatively more expensive than the rest of the
      algorithm.
      
      PiperOrigin-RevId: 277084853
      755f853c
    • Abseil Team's avatar
      Googletest export · a1f71dd5
      Abseil Team authored
      Remove badly formatted suggestion in gmock cheat sheet.
      
      PiperOrigin-RevId: 277060475
      a1f71dd5
  12. 25 Oct, 2019 3 commits
  13. 24 Oct, 2019 1 commit
  14. 23 Oct, 2019 3 commits
  15. 22 Oct, 2019 4 commits
  16. 18 Oct, 2019 2 commits
  17. 17 Oct, 2019 1 commit
  18. 11 Oct, 2019 3 commits
    • Joshua Cannon's avatar
      Avoid recursive macros · e1b67b07
      Joshua Cannon authored
      e1b67b07
    • Robert Luberda's avatar
      Add more override keywords · 3cddd56e
      Robert Luberda authored
      Mark more functions with "override" keyword, just like
      it was done in commit 2460f971.
      
      This should prevent compiler from complaining while compiling both
      user code, and the googletest code itself with the -Wsuggest-override
      option turned on; with the exception of:
       * calls to new MOCK_METHOD() in test/gmock-function-mocker_test.cc
       * calls to old MOCK_METHODx()/MOCK_CONST_METHODx() in other
         unit test files.
      
      Closes #2493
      3cddd56e
    • Joshua Cannon's avatar
      Removing extraneous parenthesis · 3e813465
      Joshua Cannon authored
      3e813465