1. 07 Feb, 2020 9 commits
    • Googletest export · 74b44b2d
      Abseil Team authored
      Disable warning C4800 for Visual Studio 2019.
      
      The compiler warning C4800 is disabled by default in Visual Studio 2019,
      but it can be enabled on the command line. The only version of
      Visual Studio that does not support warning C4800 is Visual Studio 2017.
      
      PiperOrigin-RevId: 292624510
    • Googletest export · 572e261b
      Abseil Team authored
      Fix use of reserved names.
      Minimize code duplication needed for explict-vs-nonexplicit constructor.
      
      PiperOrigin-RevId: 292555014
    • Googletest export · 7bc671b8
      Abseil Team authored
      Add documentation for ASSERT_DEBUG_DEATH/EXPECT_DEBUG_DEATH
      
      PiperOrigin-RevId: 292138974
    • Googletest export · 38f6608e
      Abseil Team authored
      Add includes for type_traits and utility to gmock-function-mocker.h: macros in the file require these headers.
      
      PiperOrigin-RevId: 291782497
    • Googletest export · d6ce39ed
      Abseil Team authored
      Create implementation macroses for matchers to move variadic parameters to the
      end of parameters list.
      
      To save backward compatibility, old macroses will be still taking `description`
      parameter as the last one. But they will use INTERNAL macro that takes
      `description` as the second parameter.
      
      PiperOrigin-RevId: 291724469
    • Googletest export · 7413280c
      Abseil Team authored
      Adds missing `#define` guard around `TEST_F(...)`
      
      PiperOrigin-RevId: 291703056
    • Googletest export · 87061810
      Abseil Team authored
      Move part of functionality of Matcher* class to the base one. Reduce copypaste.
      
      Make constructor and conversion operator of Matcher* class independent of pump.
      
      PiperOrigin-RevId: 291405510
    • Googletest export · f1a6db9d
      Abseil Team authored
      Deleted an orphaned duplicate file and exclude another that shouldn't be part of :gtest_all_test.
      
      This showed up while trying to debug the presubmit failure for: https://github.com/google/googletest/pull/2683
      
      PiperOrigin-RevId: 291398123
    • Googletest export · 22397f28
      Abseil Team authored
      Add missing explicit keyword for gmock_Impl constructor.
      
      When switching to using GMOCK_PP in ACTION* macroses `explicit` keyword was
      missed in gmock_Impl constructor causing ClangTidy warnings in ACTION_P macro.
      
      PiperOrigin-RevId: 291159975
  2. 21 Jan, 2020 5 commits
  3. 16 Jan, 2020 6 commits
    • Googletest export · 8b4817e3
      Abseil Team authored
      Correct the spelling of PARAMETERIZED.
      
      PiperOrigin-RevId: 289897278
    • Googletest export · 5336106b
      Abseil Team authored
      Use GMOCK_PP to create GMOCK_INTERNAL_ACTION macro.
      
      Create GMOCK_INTERNAL_ACTION macro that generates ACTION_P* macroses using
      GMOCK_PP.
      
      PiperOrigin-RevId: 289815906
    • Googletest export · 3e79d366
      Abseil Team authored
      Wire up things to support marking a type paramaterized test as allowed to be un-instantiated.
      
      PiperOrigin-RevId: 289699939
    • Googletest export · 7a8591e6
      Abseil Team authored
      Use GMOCK_PP to generate args boilerplate.
      
      Move common args describing part to separate macroses that uses GMOCK_PP to
      generate sequences.
      
      PiperOrigin-RevId: 289655624
    • Googletest export · 0b024bd9
      Abseil Team authored
      Add GTEST_ALLOW_UNINSTANTIATED_PARAMTERIZED_TEST to mark a paramaterized test as allowed to be un-instantiated.
      
      This allows test suites, that are defined in libraries and, for other reasons, get linked in (which should probably be avoided, but isn't always possible) to be marked as allowed to go uninstantiated.
      
      This can also be used to grandfather existing issues and expedite adoption of the checks with regards to new cases before they can be fixed.
      
      PiperOrigin-RevId: 289581573
    • Googletest export · ed16134f
      Abseil Team authored
      Change testing::TempDir() return value for Android
      
      PiperOrigin-RevId: 289102017
  4. 15 Jan, 2020 1 commit
  5. 13 Jan, 2020 1 commit
  6. 12 Jan, 2020 1 commit
  7. 09 Jan, 2020 4 commits
    • Googletest export · d854bd6a
      Abseil Team authored
      Removing GTEST_API from TrueWithString.
      This type is only used in test code on one side of a DLL boundary so it is not
      necessary.
      
      PiperOrigin-RevId: 288927929
    • Googletest export · c901f67d
      Abseil Team authored
      Move part of functionality of Action* class to the base one. Reduce copypaste.
      
      Make constructor and conversion operator of Action* class independent of pump.
      
      PiperOrigin-RevId: 288907005
    • Googletest export · 8417b733
      Abseil Team authored
      Close #2658
      Mark test case destrucors as override.
      
      PiperOrigin-RevId: 288507991
    • Googletest export · 4b9c1691
      Abseil Team authored
      Use C++11 variadic templates for Invoke in gmock-generated-actions.h.
      
      Replace InvokeArgumentAdl with Invoke that uses C++11 variadic templates.
      
      PiperOrigin-RevId: 288449236
  8. 02 Jan, 2020 9 commits
    • Googletest export · 306f3754
      Abseil Team authored
      Explicitly default copy constructor in BoundSecondMatcher
      
      Since C++11, implicit defaulting of copy constructors is deprecated for types
      with user-defined copy assignment operators, so we should explicitly default the
      copy constructor of BoundSecondMatcher.
      
      PiperOrigin-RevId: 287587847
    • Merge pull request #2632 from Kravlalala:cmake/mingw_msys_build · 07ab939a
      Andy Soffer authored
      PiperOrigin-RevId: 287587126
    • Googletest export · 0d98d87e
      Abseil Team authored
      Add missing period.
      
      PiperOrigin-RevId: 287553550
    • Googletest export · 153909f0
      Abseil Team authored
      Fix typo in example.
      
      PiperOrigin-RevId: 287212448
    • Merge pull request #2639 from trzecieu:trzeci/move_ctor_assign · fbe34cec
      Andy Soffer authored
      PiperOrigin-RevId: 286896167
    • Googletest export · a13a0626
      Abseil Team authored
      Add option (default to disabled) to make C++ type parameterized tests (TYPED_TEST_P) fail when they're not instantiated.
      
      When an un-instantiated TYPED_TEST_P is found, a new test will be inserted that emits a suitable message. For now, that is just a notice, but the hope it to flip the bit to make it fail by default.
      
      PiperOrigin-RevId: 286408038
    • Merge pull request #2624 from ShabbyX:master · 008629ae
      Andy Soffer authored
      PiperOrigin-RevId: 286397298
    • Googletest export · d0a52125
      Abseil Team authored
      Use C++11 variadic templates for InvokeArgumentAdl in gmock-generated-actions.h.
      
      Make InvokeArgumentAdl use variadic templates to generate its overloads instead
      of using pump.py syntax.
      
      PiperOrigin-RevId: 286267615
    • Googletest export · 6f1a8ffd
      Abseil Team authored
      Use C++11 variadic templates for InvokeArgumentAdl in gmock-generated-actions.h.
      
      Make InvokeArgumentAdl use variadic templates to generate its overloads instead
      of using pump.py syntax.
      
      PiperOrigin-RevId: 286148805
  9. 20 Dec, 2019 4 commits