1. 24 Apr, 2023 1 commit
    • Patryk Gawroński's avatar
      gmock: fix issue #4222 · 51eeae5a
      Patryk Gawroński authored
      Rename 'Result' struct to 'NonMoveableStruct' in
      gmock-spec-builders_test.cc in ExpectCallTest.NonMoveableType test
      51eeae5a
  2. 21 Apr, 2023 1 commit
  3. 06 Mar, 2023 1 commit
    • Tom Hughes's avatar
      Use "#ifdef" with public macros · dc10c3b5
      Tom Hughes authored
      This allows compilation with "-Wundef" (#3267).
      
      PiperOrigin-RevId: 513944726
      Change-Id: I1a3854bb2333d5dec6c0ff91ee1eddd9a766ab91
      dc10c3b5
  4. 16 Feb, 2023 1 commit
  5. 07 Feb, 2023 1 commit
  6. 01 Feb, 2023 1 commit
    • Tom Hughes's avatar
      Remove GMOCK_RENAME_MAIN · 394a8a56
      Tom Hughes authored
      GMOCK_RENAME_MAIN appears unused.
      
      PiperOrigin-RevId: 506387823
      Change-Id: I732c1f64f9038991a5c9aea1f2ad6fff07622afa
      394a8a56
  7. 30 Jan, 2023 1 commit
  8. 01 Jul, 2022 1 commit
  9. 27 Jun, 2022 1 commit
  10. 27 May, 2022 1 commit
    • Aaron Jacobs's avatar
      gmock-spec-builders: add support for non-moveable types. · 9d21db9e
      Aaron Jacobs authored
      Do this by ripping out the "untyped perform action" machinery, which isn't
      necessary: we can simply template the entry point on the result type, and use
      RAII to avoid the need to special case void. This makes it easier to understand
      the code and harder to introduce type-related undefined behavior, to boot.
      PiperOrigin-RevId: 451493451
      Change-Id: I225305f83164752ca92f2916721972eafba33168
      9d21db9e
  11. 22 Apr, 2022 1 commit
  12. 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
  13. 15 Nov, 2021 1 commit
    • Taylor Cramer's avatar
      Clarify "Times() after X" error message · 1a3e2a26
      Taylor Cramer authored
      The previous error message could be misinterpreted to mean that `Times` could not be
      used in combination with `WillRepeatedly`, when in fact the call to `Times` just needs to happen *first*.
      
      PiperOrigin-RevId: 410070405
      Change-Id: I747d34a4334cf2e56d589dcad3a08a8f322d77c8
      1a3e2a26
  14. 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
  15. 18 Feb, 2021 1 commit
    • Abseil Team's avatar
      Googletest export · 58937787
      Abseil Team authored
      Update stale links to `gmock_cook_book.md`.
      
      I'm a new googletest user and found these links broken when reading the documentation.
      
      PiperOrigin-RevId: 357786392
      58937787
  16. 12 Sep, 2019 1 commit
  17. 20 Aug, 2019 1 commit
  18. 30 Jul, 2019 1 commit
  19. 16 Jul, 2019 2 commits
    • misterg's avatar
      Googletest export · 3d9cdd58
      misterg authored
      Fix documentation links
      
      PiperOrigin-RevId: 258389329
      3d9cdd58
    • Abseil Team's avatar
      Googletest export · e4f097b5
      Abseil Team authored
      Update a broken link in a comment.
      
      PiperOrigin-RevId: 257493975
      e4f097b5
  20. 19 Jun, 2019 1 commit
    • Gennadiy Civil's avatar
      · 5ed950c9
      Gennadiy Civil authored
      Renaming doc files to make the file names more palatable and in preparation for including documentation in sync process
      5ed950c9
  21. 17 Jan, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 0adeadd2
      Abseil Team authored
      Refactor the `Invoke` and `InvokeWithoutArgs` actions:
       - Replace pump'd classes and functions with templates.
       - Make the polymorphic actions be polymorphic functors instead.
       - Fix Invoke(Callback*) to work with subclasses of the callbacks, instead of trying to diagnose that in gmock_doctor.
      
      PiperOrigin-RevId: 229604112
      0adeadd2
  22. 13 Dec, 2018 1 commit
  23. 03 Dec, 2018 1 commit
    • 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
  24. 20 Nov, 2018 1 commit
  25. 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
  26. 26 Oct, 2018 2 commits
    • Abseil Team's avatar
      Googletest export · b57c7039
      Abseil Team authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218618184
      b57c7039
    • misterg's avatar
      Googletest export · a50e4f05
      misterg authored
      Remove linked_ptr and use std::shared_ptr instead
      
      PiperOrigin-RevId: 218571466
      a50e4f05
  27. 05 Oct, 2018 1 commit
    • Abseil Team's avatar
      Apply clang-tidy modernize-use-nullptr to googletest. · 4bb49ed6
      Abseil Team authored
      Now that googletest has moved to C++11, it should no longer
      use NULL or 0 for the null pointer. This patch converts all
      such usages to nullptr using clang-tidy.
      
      This prevents LLVM from issuing -Wzero-as-null-pointer-constant
      warnings.
      
      PiperOrigin-RevId: 215814400
      4bb49ed6
  28. 14 Aug, 2018 2 commits
    • Gennadiy Civil's avatar
      · 265efde9
      Gennadiy Civil authored
      Comments changes, no functionality changes. 
      265efde9
    • Gennadiy Civil's avatar
      · a3c0dd0f
      Gennadiy Civil authored
      Comments changes, no functionality changes
      a3c0dd0f
  29. 25 Apr, 2018 1 commit
  30. 18 Apr, 2018 1 commit
  31. 12 Apr, 2018 1 commit
  32. 05 Apr, 2018 1 commit
  33. 27 Sep, 2017 1 commit
  34. 28 Aug, 2017 1 commit
  35. 16 Aug, 2017 1 commit
  36. 10 Aug, 2017 1 commit
  37. 15 May, 2017 1 commit
    • Nico Weber's avatar
      Use std::string and ::string explicitly in gtest and gmock code. · 09fd5b3e
      Nico Weber authored
      This merges a Google-internal change (117235625).
      
      Original CL description:
      This CL was created manually in about an hour with sed, a Python script
      to find all the places unqualified 'string' was mentioned, and some help
      from Emacs to add the "std::" qualifications, plus a few manual tweaks.
      09fd5b3e