1. 28 Apr, 2023 2 commits
  2. 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
  3. 21 Apr, 2023 2 commits
  4. 20 Apr, 2023 1 commit
  5. 23 Mar, 2023 1 commit
  6. 20 Mar, 2023 1 commit
  7. 06 Mar, 2023 2 commits
  8. 28 Feb, 2023 1 commit
    • Yonggang Luo's avatar
      Fixes the test gmock_output_test.py with MSVC · 6f1c4b3d
      Yonggang Luo authored
      
      
      For MSVC, gmock_output_test.py output struct std::pair<int,bool>, for GCC, it's output
      std::pair<int, bool>, it's not the same, my intention is getting these to be same by removing
      struct  for MSVC's outptu, and strip redundant space for GCC.
      
      As a by-product,
      ```
      #ifdef _MSC_VER
      #define ERROR_DESC "class std::runtime_error"
      #else
      #define ERROR_DESC "std::runtime_error"
      #endif
      ```
      can be simplified to
      
      ```
      #define ERROR_DESC "std::runtime_error"
      ```
      Signed-off-by: default avatarYonggang Luo <luoyonggang@gmail.com>
      6f1c4b3d
  9. 16 Feb, 2023 1 commit
  10. 09 Feb, 2023 1 commit
  11. 07 Feb, 2023 1 commit
  12. 06 Feb, 2023 1 commit
  13. 01 Feb, 2023 3 commits
  14. 30 Jan, 2023 2 commits
  15. 25 Jan, 2023 2 commits
  16. 24 Jan, 2023 2 commits
    • Tom Hughes's avatar
      Fix formatting of C++ files · 24917105
      Tom Hughes authored
      PiperOrigin-RevId: 504325204
      Change-Id: Iaa1d6d0ab1dccaaeef26f9cb109d530835499240
      24917105
    • Derek Mauro's avatar
      Remove FloatingPoint::Max() in favor of std::numeric_limits::max() · 544c96ed
      Derek Mauro authored
      In #4113 a user says Max clashes with a macro. Since it is only used in
      a test, use std::numeric_limits::max() instead.
      
      Note that in headers, the macro issue can be mitigated with
      parenthesis like this: `(std::numeric_limits<T>::max)()`
      
      PiperOrigin-RevId: 504284906
      Change-Id: Ibf430caec1a6afdf6b303534fec6a4fd00a6373f
      544c96ed
  17. 17 Jan, 2023 2 commits
  18. 12 Jan, 2023 1 commit
    • Tom Hughes's avatar
      Fix -Wshadow warnings · 356fc301
      Tom Hughes authored
      ../googlemock/test/gmock-actions_test.cc:687:36: warning: declaration of ‘v’ shadows a member of ‘testing::{anonymous}::ReturnTest_SupportsReferenceLikeReturnType_Test::TestBody()::Result’ [-Wshadow]
        687 |     Result(const std::vector<int>& v) : v(&v) {}  // NOLINT
            |            ~~~~~~~~~~~~~~~~~~~~~~~~^
      ../googlemock/test/gmock-actions_test.cc:686:29: note: shadowed declaration is here
        686 |     const std::vector<int>* v;
            |                             ^
      
      ../googlemock/test/gmock-actions_test.cc: In constructor ‘testing::{anonymous}::ReturnTest_PrefersConversionOperator_Test::TestBody()::Out::Out(int)’:
      ../googlemock/test/gmock-actions_test.cc:720:28: warning: declaration of ‘x’ shadows a member of ‘testing::{anonymous}::ReturnTest_PrefersConversionOperator_Test::TestBody()::Out’ [-Wshadow]
        720 |     explicit Out(const int x) : x(x) {}
            |                  ~~~~~~~~~~^
      ../googlemock/test/gmock-actions_test.cc:718:9: note: shadowed declaration is here
        718 |     int x;
            |         ^
      
      PiperOrigin-RevId: 501580618
      Change-Id: I584710fbbe440ec724f88746e51f3be5653c32d5
      356fc301
  19. 04 Jan, 2023 1 commit
  20. 30 Nov, 2022 1 commit
    • Abseil Team's avatar
      Make SizeIsMatcher::Impl conform to the contract of MatcherDescriberInterface. · 1f643f71
      Abseil Team authored
      MatcherDescriberInterface specifies that DescribeTo "should print a verb phrase", but "size ..." is not a verb phrase. Currently, ElementsAre(SizeIs(9)) is described as "has 1 element that size is equal to 9". With this change, it will be described as "has 1 element that has a size that is equal to 9".
      
      PiperOrigin-RevId: 492022324
      Change-Id: I4083335f2419462464957521c1e033643b53b763
      1f643f71
  21. 29 Nov, 2022 1 commit
  22. 22 Aug, 2022 1 commit
  23. 29 Jul, 2022 1 commit
  24. 25 Jul, 2022 1 commit
  25. 01 Jul, 2022 2 commits
  26. 27 Jun, 2022 1 commit
  27. 22 Jun, 2022 1 commit
  28. 27 May, 2022 2 commits
  29. 13 May, 2022 1 commit