1. 30 Jul, 2019 1 commit
  2. 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
  3. 03 Jan, 2019 1 commit
    • misterg's avatar
      Googletest export · 3a460a26
      misterg authored
      TestCase->TestSuite refactoring
      
      PiperOrigin-RevId: 227702164
      3a460a26
  4. 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
  5. 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
  6. 31 Oct, 2018 1 commit
    • misterg's avatar
      Googletest export · e857f9cd
      misterg authored
      Remove scoped_ptr replace with std::unique_ptr
      
      PiperOrigin-RevId: 219291284
      e857f9cd
  7. 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
  8. 02 Oct, 2018 1 commit
  9. 20 Aug, 2018 1 commit
  10. 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
  11. 10 Jul, 2018 1 commit
    • Derek Mauro's avatar
      Adds stacktrace support from Abseil to Google Test · 4c417877
      Derek Mauro authored
      This change adds the ability to generate stacktraces in Google Test on
      both failures of assertions/expectations and on crashes. The
      stacktrace support is conditionally available only when using Abseil
      with Google Test.
      
      To use this support, run the test under Bazel with a command like this:
      
      bazel test --define absl=1 --test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1 //path/to/your:test
      
      The "--define absl=1" part enables stacktraces on assertion/expectation
      failures.
      
      The "--test_env=GTEST_INSTALL_FAILURE_SIGNAL_HANDLER=1" part enables
      the signal handler that logs a stacktrace in the event of a crash
      (this also requires the "--define absl=1" part). This is not the
      default since it may interfere with existing tests.
      4c417877
  12. 13 Feb, 2018 1 commit
  13. 24 Jan, 2018 1 commit
  14. 03 Jan, 2018 1 commit
  15. 04 Sep, 2017 1 commit
  16. 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
  17. 30 Oct, 2015 1 commit
  18. 25 Aug, 2015 1 commit
  19. 17 Jul, 2015 2 commits
  20. 18 Jun, 2014 1 commit
  21. 24 Mar, 2014 1 commit
  22. 25 Apr, 2013 1 commit
  23. 05 Apr, 2013 1 commit
  24. 28 Feb, 2013 1 commit
  25. 22 Feb, 2013 2 commits
  26. 15 Nov, 2012 1 commit
    • jgm's avatar
      Unfortunately, the svn repo is a bit out of date. This commit contains 8 · 87fdda2c
      jgm authored
      changes that haven't made it to svn. The descriptions of each change are listed
      below.
      
      - Fixes some python shebang lines.
      
      - Add ElementsAreArray overloads to gmock. ElementsAreArray now makes a copy of
        its input elements before the conversion to a Matcher. ElementsAreArray can
        now take a vector as input. ElementsAreArray can now take an iterator pair as
        input.
      
      - Templatize MatchAndExplain to allow independent string types for the matcher
        and matchee. I also templatized the ConstCharPointer version of
        MatchAndExplain to avoid calls with "char*" from using the new templated
        MatchAndExplain.
      
      - Fixes the bug where the constructor of the return type of ElementsAre() saves
        a reference instead of a copy of the arguments.
      
      - Extends ElementsAre() to accept arrays whose sizes aren't known.
      
      - Switches gTest's internal FilePath class from testing::internal::String to
        std::string. testing::internal::String was introduced when gTest couldn't
        depend on std::string.  It's now deprecated.
      
      - Switches gTest & gMock from using testing::internal::String objects to
        std::string. Some static methods of String are still in use.  We may be able
        to remove some but not all of them.  In particular, String::Format() should
        eventually be removed as it truncates the result at 4096 characters, often
        causing problems.
      87fdda2c
  27. 17 Jan, 2012 1 commit
  28. 28 Nov, 2011 1 commit
  29. 04 Nov, 2011 1 commit
  30. 24 Oct, 2011 1 commit
  31. 05 Oct, 2011 1 commit
  32. 12 Apr, 2011 1 commit
  33. 22 Feb, 2011 1 commit
  34. 02 Feb, 2011 1 commit
  35. 14 Sep, 2010 1 commit
  36. 31 Aug, 2010 1 commit
    • zhanyong.wan's avatar
      Casts char to unsigned char before calling isspace() etc to avoid undefined... · 35c39756
      zhanyong.wan authored
      Casts char to unsigned char before calling isspace() etc to avoid undefined behavior (by Zhanyong Wan); removes conditional #includes keyed on GTEST_HAS_PROTOBUF_ (by Zhanyong Wan); publishes GTEST_HAS_STREAM_REDIRECTION (by Vlad Losev); forward declares some classes properly (by Samuel Benzaquen); honors the --gtest_catch_exceptions flag (by Vlad Losev).
      35c39756