1. 03 Jun, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · 26dadc22
      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
      26dadc22
  2. 28 May, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · 6b08b41e
      Abseil Team authored
      Spell out namespace for absl::Notification.
      
      PiperOrigin-RevId: 312300192
      6b08b41e
  3. 13 May, 2020 1 commit
  4. 01 May, 2020 2 commits
  5. 16 Apr, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · 373d72b6
      Abseil Team authored
      Fix link to "After clause". Sorry, reader, but this heading is in another document!
      
      PiperOrigin-RevId: 305947971
      373d72b6
  6. 21 Mar, 2020 1 commit
  7. 17 Mar, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · cfb5ef4e
      Abseil Team authored
      Remove public buganizer reference from googletest cookbook.
      
      It also seems that this bug is obsolete.
      
      PiperOrigin-RevId: 298598298
      cfb5ef4e
  8. 28 Feb, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · fd538161
      Abseil Team authored
      Allow construction of an Action from a callable of zero args
      
      Action already allows construction from a callable with the same args as the mocked function, without needing to wrap the callable in Invoke. However, if you don't care about the arguments to the mocked function you need to either accept all of them or wrap your callable in InvokeWithoutArgs. This change makes both of those unnecessary, since it allows you to pass a no-args callable to Action directly.
      
      PiperOrigin-RevId: 296117034
      fd538161
  9. 07 Feb, 2020 1 commit
  10. 02 Jan, 2020 1 commit
  11. 16 Dec, 2019 1 commit
    • krzysio's avatar
      Googletest export · 0a0c8266
      krzysio authored
      Don't use fully qualified ::std types in code examples.
      
      Having a nested user-defined 'std' namespace anywhere in a program is a minefield and shouldn't be either explicitly supported or implicitly condoned.
      
      PiperOrigin-RevId: 285790182
      0a0c8266
  12. 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
  13. 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
  14. 02 Nov, 2019 1 commit
  15. 29 Oct, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · a1f71dd5
      Abseil Team authored
      Remove badly formatted suggestion in gmock cheat sheet.
      
      PiperOrigin-RevId: 277060475
      a1f71dd5
  16. 25 Oct, 2019 1 commit
  17. 23 Oct, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 37f32278
      Abseil Team authored
      Add a matcher `testing::ReturnRoundRobin` which, on each call, returns the next element in the sequence, restarting at the beginning once it has reached the end.
      
      PiperOrigin-RevId: 276312136
      37f32278
  18. 22 Oct, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 011c4e23
      Abseil Team authored
      Rolling forward IsNan() matcher with fixes in test for -Wconversion issues. Use
      std::nanf and std::nanl where appropriate.
      PiperOrigin-RevId: 275523003
      011c4e23
  19. 18 Oct, 2019 1 commit
  20. 17 Oct, 2019 1 commit
  21. 01 Oct, 2019 1 commit
  22. 27 Sep, 2019 2 commits
  23. 23 Sep, 2019 1 commit
  24. 09 Sep, 2019 3 commits
  25. 21 Aug, 2019 1 commit
  26. 20 Aug, 2019 1 commit
  27. 19 Aug, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · fcffabb5
      Abseil Team authored
      Fix broken link to regex syntax guide in cheat_sheet.md
      
      PiperOrigin-RevId: 263840914
      fcffabb5
    • Abseil Team's avatar
      Googletest export · 410b5298
      Abseil Team authored
      Fix a broken link about selecting overloaded methods.
      
      PiperOrigin-RevId: 263807775
      410b5298
  28. 16 Aug, 2019 2 commits
    • misterg's avatar
      Googletest export · eb78ee17
      misterg authored
      Fix broken link at beginning of "Mocking Non-virtual Methods" section.
      
      PiperOrigin-RevId: 263772074
      eb78ee17
    • misterg's avatar
      Googletest export · 976b37fe
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 263768422
      976b37fe
  29. 15 Aug, 2019 3 commits
  30. 07 Aug, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · f8f5fcab
      Abseil Team authored
      Fix broken links.
      
      PiperOrigin-RevId: 262123510
      f8f5fcab
    • Abseil Team's avatar
      Googletest export · dd5402d9
      Abseil Team authored
      Add general explanation of MOCK_METHOD, including list of supported qualifiers.
      
      PiperOrigin-RevId: 262077180
      dd5402d9
  31. 06 Aug, 2019 1 commit