1. 08 Mar, 2022 1 commit
    • Abseil Team's avatar
      Mark ACTION_Pn()-generated functions as must-use-result, adding non-compilation tests. · ae1b7ad4
      Abseil Team authored
      This catches when a client creates an action and discards it, thinking that the action has actually been applied to something.
      
      This will help people who make the mistake of defining, for example, both `void Use(Foo*, Bar)` and `ACTION_P(Use, bar) { Use(arg, bar); }` for later application to a Foo.  With such an overload, a client may then write `Use(bar);`, selecting the Action<> overload and being confused why nothing happens.
      
      This also catches when a client defines their own action in terms of an ACTION_P()-generated one, invokes the Action<>'s builder, and then fails to invoke the resulting action, thinking it's operating on the outer action's parameters.
      
      PiperOrigin-RevId: 433197479
      Change-Id: I98e4389150d01a5e753230113016d9fc38b1d260
      ae1b7ad4
  2. 10 Feb, 2022 1 commit
  3. 26 Jan, 2022 1 commit
  4. 18 Jan, 2022 1 commit
  5. 06 Jan, 2022 1 commit
  6. 27 Dec, 2021 1 commit
  7. 03 Dec, 2021 1 commit
  8. 28 Sep, 2021 1 commit
  9. 24 Sep, 2021 1 commit
  10. 23 Sep, 2021 1 commit
  11. 15 Sep, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 6202251f
      Abseil Team authored
      Introduce GMOCK_FLAG_GET and GMOCK_FLAG_SET macros.
      
      PiperOrigin-RevId: 396649214
      6202251f
  12. 13 Aug, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 21514e0b
      Abseil Team authored
      Identify bad specs of the type (const something, ...).
      
      PiperOrigin-RevId: 390346843
      21514e0b
  13. 04 Aug, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 652ec31f
      Abseil Team authored
      Introduce a new matcher for unescaping Base-64 strings to gmock.
      
      PiperOrigin-RevId: 388471904
      652ec31f
  14. 29 Jul, 2021 1 commit
  15. 24 Jul, 2021 1 commit
  16. 22 Jul, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 96f4ce02
      Abseil Team authored
      Delete GOOGLETEST_CM.* tags from C++ code.
      
      PiperOrigin-RevId: 386268534
      96f4ce02
  17. 09 Jul, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 43cf5291
      Abseil Team authored
      Suppress a clang-tidy warning in the MATCHER(name, description) macro.
      
      PiperOrigin-RevId: 383587271
      43cf5291
  18. 07 Jul, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 8306020a
      Abseil Team authored
      Add `Conditional` wrapper to gtest
      
      This follows an initial proposal for an 'EqIff` matcher. `Conditional` was considered more precise as an EqIff() matcher may suffer from `Iff` not being universally understood.
      
      PiperOrigin-RevId: 383407665
      8306020a
  19. 30 Jun, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 4ec4cd23
      Abseil Team authored
      Implement 'Contains(e).Times(n)' matcher modifier which allows to test for arbitrary occurrences including absence with Times(0).
      
      PiperOrigin-RevId: 382210276
      4ec4cd23
  20. 15 Jun, 2021 1 commit
  21. 13 May, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 662fe38e
      Abseil Team authored
      Support templating MockFunction over function objects besides std::function.
      
      PiperOrigin-RevId: 373586967
      662fe38e
  22. 15 Apr, 2021 1 commit
  23. 13 Apr, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · c3fc92f0
      Abseil Team authored
      Update docs to point to the github.io pages.
      
      PiperOrigin-RevId: 367711335
      c3fc92f0
  24. 17 Mar, 2021 1 commit
  25. 16 Mar, 2021 1 commit
  26. 09 Mar, 2021 1 commit
  27. 18 Feb, 2021 2 commits
  28. 11 Feb, 2021 4 commits
  29. 05 Feb, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · d1143988
      Abseil Team authored
      Remove uses of GTEST_HAS_TYPED_TEST_P and GTEST_HAS_TYPED_TEST.
      
      PiperOrigin-RevId: 353935996
      d1143988
  30. 26 Jan, 2021 4 commits
    • ofats's avatar
      Googletest export · 59dea67b
      ofats authored
      Remove scripts for code generating together with related files.
      
      PiperOrigin-RevId: 352805926
      59dea67b
    • Abseil Team's avatar
      Googletest export · 997c36c1
      Abseil Team authored
      Stop using pump for generating internal/custom/gmock-generated-actions.h
      
      PiperOrigin-RevId: 352660735
      997c36c1
    • Abseil Team's avatar
      Googletest export · 2c06d021
      Abseil Team authored
      Internal change
      
      PiperOrigin-RevId: 352607401
      2c06d021
    • Abseil Team's avatar
      Googletest export · 14098f20
      Abseil Team authored
      Merge CONTRIBUTORS, delete LICENSEs in googletest/ and googlemock/
      
      PiperOrigin-RevId: 352558822
      14098f20
  31. 14 Jan, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · c13c27a5
      Abseil Team authored
      Change Matcher<T> to allow binding an implementation by value directly:
       - Drop the requirement of MatcherInterface. Doing manual type erasure avoid
         extra layers in many cases.
       - Avoid the adaptor for `MatcherInterface<T>` and `MatcherInterface<const T&>` mismatch.
       - Use a small object optimization when possible. This makes things like
         `_` and `Eq(1)` really cheap and do not require memory allocations.
       - Migrate some matchers to the new model to speed them up and to test the new framework. More matchers to come in future changes.
      
      PiperOrigin-RevId: 350580998
      c13c27a5
  32. 29 Dec, 2020 1 commit
  33. 22 Dec, 2020 1 commit
    • Abseil Team's avatar
      Googletest export · ca4b7c9f
      Abseil Team authored
      Give each of Naggy/Nice/StrictMock a base class whose constructor runs before
      the mocked class's constructor, and a destructor that runs after the mocked
      class's destructor, so that any mock methods run in either the constructor or
      destructor use the same strictness as other calls.
      
      PiperOrigin-RevId: 348511612
      ca4b7c9f