1. 15 Mar, 2022 1 commit
    • Abseil Team's avatar
      Running clang-format over all of GoogleTest · b007c54f
      Abseil Team authored
      A few tests are examining code locations and looking af the resulting line
      numbers to verify that GoogleTest shows those to users correctly. Some of those
      locations change when clang-format is run. For those locations, I've wrapped
      portions in:
      // clang-format off
      ...
      // clang-format on
      
      There may be other locations that are currently not tickled by running
      clang-format.
      
      PiperOrigin-RevId: 434844712
      Change-Id: I3a9f0a6f39eff741c576b6de389bef9b1d11139d
      b007c54f
  2. 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
  3. 10 Feb, 2022 1 commit
  4. 26 Jan, 2022 1 commit
  5. 18 Jan, 2022 1 commit
  6. 06 Jan, 2022 1 commit
  7. 27 Dec, 2021 1 commit
  8. 03 Dec, 2021 1 commit
  9. 28 Sep, 2021 1 commit
  10. 24 Sep, 2021 1 commit
  11. 23 Sep, 2021 1 commit
  12. 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
  13. 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
  14. 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
  15. 29 Jul, 2021 1 commit
  16. 24 Jul, 2021 1 commit
  17. 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
  18. 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
  19. 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
  20. 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
  21. 15 Jun, 2021 1 commit
  22. 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
  23. 15 Apr, 2021 1 commit
  24. 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
  25. 17 Mar, 2021 1 commit
  26. 16 Mar, 2021 1 commit
  27. 09 Mar, 2021 1 commit
  28. 18 Feb, 2021 2 commits
  29. 11 Feb, 2021 4 commits
  30. 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
  31. 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
  32. 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
  33. 29 Dec, 2020 1 commit