1. 31 Oct, 2019 1 commit
    • 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
  2. 29 Oct, 2019 1 commit
    • 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
  3. 22 Oct, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · 611a321a
      Abseil Team authored
      Remove bool_constant in favor of std::integral_constant<bool, ...>;
      The one non-trivial use of bool_constant has been changed to have significantly
      fewer template specializations.
      
      PiperOrigin-RevId: 275842490
      611a321a
    • 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
  4. 18 Oct, 2019 1 commit
  5. 17 Oct, 2019 1 commit
  6. 27 Sep, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · cb3f7ce1
      Abseil Team authored
      Makes testing::ResultOf() work with non-copyable arguments.
      
      PiperOrigin-RevId: 271222632
      cb3f7ce1
  7. 16 Sep, 2019 2 commits
  8. 06 Sep, 2019 1 commit
  9. 26 Aug, 2019 1 commit
    • misterg's avatar
      Googletest export · 6a3d632f
      misterg authored
      Add tuple version of Optional() matches. This allows Optional() to be used in Pointwise matchers.
      
      PiperOrigin-RevId: 265501882
      6a3d632f
  10. 24 Aug, 2019 1 commit
  11. 23 Aug, 2019 2 commits
    • Abseil Team's avatar
      Googletest export · ed2eef65
      Abseil Team authored
      Add tuple version of Optional() matches. This allows Optional() to be used in Pointwise matchers.
      
      PiperOrigin-RevId: 265110864
      ed2eef65
    • kuzkry's avatar
      Googletest export · db1b7399
      kuzkry authored
      Merge b8ca465e73ac0954a0c9eec2a84bdd8913d5763b into 90a443f9
      
      Closes #2396
      
      COPYBARA_INTEGRATE_REVIEW=https://github.com/google/googletest/pull/2396 from kuzkry:custom-type-traits-true/false_type-and-bool_constant b8ca465e73ac0954a0c9eec2a84bdd8913d5763b
      PiperOrigin-RevId: 265064856
      db1b7399
  12. 20 Aug, 2019 1 commit
  13. 14 Aug, 2019 1 commit
  14. 13 Aug, 2019 1 commit
  15. 30 Jul, 2019 1 commit
  16. 09 Apr, 2019 1 commit
  17. 01 Apr, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · d9825431
      Abseil Team authored
      Remove support for "global" ::string and ::wstring types.
      This support existed for legacy codebases that existed from before namespaces
      where a thing. It is no longer necessary.
      
      PiperOrigin-RevId: 241335738
      d9825431
  18. 23 Jan, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · fdc59ffd
      Abseil Team authored
      Add AllOfArray matcher that verifies a value matches all member of some array/container/list/set/..., e.g:
      EXPECT_THAT(1, AnyOfArray({1, 2, 3}))
      In the simplest form this is identical to AnyOf(1, 2, 3). But unlike that one it works on containers.
      
      Add AnyOfArray matcher that verifies a value matches any member of some
      array/container/list/set/...
      
      PiperOrigin-RevId: 230403653
      fdc59ffd
  19. 14 Jan, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 9acd065a
      Abseil Team authored
      Add move-only argument support to almost all remaining matchers.
      
      PiperOrigin-RevId: 229030728
      9acd065a
  20. 08 Jan, 2019 1 commit
    • misterg's avatar
      Googletest export · f31bf1d3
      misterg authored
      Replace testing::internal::ImplicitlyConvertible with std::is_convertible
      Fixes #2054
      
      PiperOrigin-RevId: 228334305
      f31bf1d3
  21. 02 Jan, 2019 2 commits
    • misterg's avatar
      Googletest export · 14c2fba7
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 227575279
      14c2fba7
    • Abseil Team's avatar
      Googletest export · f8b1c1af
      Abseil Team authored
      Remove the #ifs for old, unsupported and buggy compilers:
      * old versions of GCC & MSVC
      * Symbian
      
      PiperOrigin-RevId: 227116941
      f8b1c1af
  22. 20 Dec, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · e26a3fa1
      Abseil Team authored
      Unifdef c++11-related macros from googletest now that it requires C++11.
      
      PiperOrigin-RevId: 225905601
      e26a3fa1
  23. 17 Dec, 2018 2 commits
    • Abseil Team's avatar
      Googletest export · b7dd6651
      Abseil Team authored
      Remove GTEST_REFERENCE_TO_CONST_ usage from GMock. In C++11, it's redundant.
      
      PiperOrigin-RevId: 225719210
      b7dd6651
    • Abseil Team's avatar
      Googletest export · 1ec20f87
      Abseil Team authored
      Allow container matchers to accept move-only containers.
      
      PiperOrigin-RevId: 225667441
      1ec20f87
  24. 12 Dec, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · 6ef59138
      Abseil Team authored
      The gmock matchers have a concept of MatchAndExpain; where the details of the
      matching are written to a "result listener". A matcher can avoid creating
      expensive debug info by checking result_listener->IsInterested(); but,
      unfortunately, the default matcher code (called from EXPECT_THAT) is always
      "interested".
      
      This change implements EXPECT_THAT matching to first run the matcher in a "not
      interested" mode; and then run it a second time ("interested") only if the
      match fails.
      
      PiperOrigin-RevId: 225036073
      6ef59138
  25. 11 Dec, 2018 2 commits
    • misterg's avatar
      Googletest export · 6cbd3753
      misterg authored
      rollback of 224929783
      
      PiperOrigin-RevId: 225008559
      6cbd3753
    • Abseil Team's avatar
      Googletest export · 06bb8d4d
      Abseil Team authored
      The gmock matchers have a concept of MatchAndExpain; where the details of the
      matching are written to a "result listener". A matcher can avoid creating
      expensive debug info by checking result_listener->IsInterested(); but,
      unfortunately, the default matcher code (called from EXPECT_THAT) is always
      "interested".
      
      This change implements EXPECT_THAT matching to first run the matcher in a "not
      interested" mode; and then run it a second time ("interested") only if the
      match fails.
      
      PiperOrigin-RevId: 224929783
      06bb8d4d
  26. 04 Dec, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · 3d71ab4c
      Abseil Team authored
      Deduce SizeType for SizeIs() from the return value of the size() member function
      
      PiperOrigin-RevId: 223835674
      3d71ab4c
  27. 03 Dec, 2018 2 commits
    • Abseil Team's avatar
      Googletest export · 26743363
      Abseil Team authored
      Applied fixes for ClangTidy modernize-use-override and modernize-use-using.
      
      PiperOrigin-RevId: 223800219
      26743363
    • Abseil Team's avatar
      Googletest export · a42cdf2a
      Abseil Team authored
      Replace pump'd Args() matcher with variadic templates.
      
      PiperOrigin-RevId: 223794430
      a42cdf2a
  28. 29 Nov, 2018 1 commit
    • durandal's avatar
      Googletest export · b22d2366
      durandal authored
      Accept gmock matchers in EXPECT_EXIT and friends to allow matches other than simple regex matches on death output.
      
      PiperOrigin-RevId: 223035409
      b22d2366
  29. 20 Nov, 2018 1 commit
    • durandal's avatar
      Googletest export · 8e86f672
      durandal authored
      Move the Matcher<T> interface to googletest so I can use it to extend death test regex matching in a subsequent change.
      
      PiperOrigin-RevId: 221675910
      8e86f672
  30. 13 Nov, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · b18d39bd
      Abseil Team authored
      Include type_traits header
      
      ElementsAre, UnorderedElementsAre, AllOf, and AnyOf are all defined in terms of std::decay, which is in the type_traits header.
      
      PiperOrigin-RevId: 220818637
      b18d39bd
  31. 10 Nov, 2018 1 commit
  32. 29 Oct, 2018 1 commit
    • misterg's avatar
      Googletest export · 80b43d90
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 219129336
      80b43d90
  33. 26 Oct, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · b57c7039
      Abseil Team authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218618184
      b57c7039