1. 30 Jul, 2019 1 commit
  2. 24 Apr, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 84d98653
      Abseil Team authored
      Add GTEST_FAIL_AT, an equivalent to ADD_FAILURE_AT but that
      spawns a fatal failure rather than a non-fatal, eg. the equivalent
      of an ASSERT* failure rather than an EXPECT* failure.
      
      PiperOrigin-RevId: 244746609
      84d98653
  3. 06 Apr, 2019 1 commit
    • Enji Cooper's avatar
      clang: fix `-Wsign-conversion` errors · 3829b84e
      Enji Cooper authored
      
      
      Cast some values as their unsigned equivalents or `size_t` to match the
      parameter type used for the template object under test. Also, provide
      UInt32 equivalent delegate methods for some callers (with
      int-equivalents for backwards compatibility).
      
      This closes #2146.
      Signed-off-by: default avatarEnji Cooper <yaneurabeya@gmail.com>
      3829b84e
  4. 01 Apr, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · d9825431
      Abseil Team authored
      Remove support for "global" ::string and ::wstring types.
      This support existed for legacy codebases that existed from before namespaces
      where a thing. It is no longer necessary.
      
      PiperOrigin-RevId: 241335738
      d9825431
  5. 21 Mar, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · f1883b18
      Abseil Team authored
      Remove mention of unused type ProtocolMessage.
      
      PiperOrigin-RevId: 239242706
      f1883b18
  6. 05 Mar, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · 3dd2e841
      Abseil Team authored
      Fix emission of -Wzero-as-null-pointer-constant when comparing integers.
      
      The following code fails to compile:
      
      #pragma clang diagnostic error "-Wzero-as-null-pointer-constant"
      void foo() {
        EXPECT_EQ(0, 0);
      }
      
      This happens because gtest checks the first argument to EXPECT_EQ and
      ASSERT_EQ is a null pointer constant. The magic it does to do this causes the
      warning to be emitted.
      
      This patch removes that check. It replaces the explicit check with a Compare
      overload that can only be selected when 0 or nullptr is passed on the LHS
      with a pointer on the right.
      
      This patch does not suppress -Wzero-as-null-pointer-constant when users
      are actually using it as NULL.
      
      PiperOrigin-RevId: 236654634
      3dd2e841
  7. 11 Jan, 2019 1 commit
    • misterg's avatar
      Googletest export · 0599a7b8
      misterg authored
      Change tests to use new Test Suite API
      
      PiperOrigin-RevId: 228908894
      0599a7b8
  8. 08 Jan, 2019 1 commit
    • misterg's avatar
      Googletest export · f31bf1d3
      misterg authored
      Replace testing::internal::ImplicitlyConvertible with std::is_convertible
      Fixes #2054
      
      PiperOrigin-RevId: 228334305
      f31bf1d3
  9. 07 Jan, 2019 1 commit
    • Abseil Team's avatar
      Googletest export · b6cd4052
      Abseil Team authored
      Fix GTEST_IS_NULL_LITERAL_ for types that have magic implicit conversions.
      
      PiperOrigin-RevId: 227879345
      b6cd4052
  10. 03 Jan, 2019 2 commits
    • misterg's avatar
      Googletest export · 827515f8
      misterg authored
      Fixes #1261
      
      PiperOrigin-RevId: 227740670
      827515f8
    • misterg's avatar
      Googletest export · 3a460a26
      misterg authored
      TestCase->TestSuite refactoring
      
      PiperOrigin-RevId: 227702164
      3a460a26
  11. 02 Jan, 2019 2 commits
    • misterg's avatar
      Googletest export · 14c2fba7
      misterg authored
      Internal Change
      
      PiperOrigin-RevId: 227575279
      14c2fba7
    • Abseil Team's avatar
      Googletest export · f8b1c1af
      Abseil Team authored
      Remove the #ifs for old, unsupported and buggy compilers:
      * old versions of GCC & MSVC
      * Symbian
      
      PiperOrigin-RevId: 227116941
      f8b1c1af
  12. 20 Dec, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · a83cc11a
      Abseil Team authored
      Add public entry point testing::RegisterTest.
      
      PiperOrigin-RevId: 226350937
      a83cc11a
  13. 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
  14. 10 Nov, 2018 1 commit
  15. 28 Oct, 2018 1 commit
  16. 22 Oct, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · 82987067
      Abseil Team authored
      Change ValuesArray to require much less template instantiation depth.
      
      PiperOrigin-RevId: 218170842
      82987067
  17. 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
  18. 25 Sep, 2018 3 commits
    • Abseil Team's avatar
      Googletest export · 2b016ca4
      Abseil Team authored
      Project import generated by Copybara.
      
      PiperOrigin-RevId: 214456152
      2b016ca4
    • misterg's avatar
      Googletest export · b2788286
      misterg authored
      Project import generated by Copybara.
      
      PiperOrigin-RevId: 214441835
      b2788286
    • Abseil Team's avatar
      Googletest export · 0fc5466d
      Abseil Team authored
      Project import generated by Copybara.
      Including recently accepted and merged PRs
      
      PiperOrigin-RevId: 213856848
      0fc5466d
  19. 23 Sep, 2018 6 commits
  20. 20 Sep, 2018 1 commit
    • Abseil Team's avatar
      Googletest export · 1b20bd17
      Abseil Team authored
      support printing std::reference_wrapper<T> in gUnit
      
      PiperOrigin-RevId: 213270392
      1b20bd17
  21. 18 Sep, 2018 1 commit
  22. 14 Sep, 2018 2 commits
  23. 13 Sep, 2018 5 commits
  24. 12 Sep, 2018 1 commit
  25. 06 Sep, 2018 2 commits
    • Abseil Team's avatar
      Googletest export · 0d226213
      Abseil Team authored
      Make EXPECT_THROW print the actual exception type on the "threw the wrong exception type" case if the actual exception is a std::exception
      
      PiperOrigin-RevId: 211524592
      0d226213
    • Abseil Team's avatar
      Googletest export · dbd55366
      Abseil Team authored
      Make EXPECT_THROW print the actual exception type on the "threw the wrong exception type" case if the actual exception is a std::exception
      
      PiperOrigin-RevId: 211519873
      dbd55366