1. 23 Mar, 2023 1 commit
    • Abseil Team's avatar
      Internal Code Change · 6f01e3dc
      Abseil Team authored
      PiperOrigin-RevId: 518810140
      Change-Id: Id3f9471f827894761080bc9199b0a092dc829b5f
      6f01e3dc
  2. 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
  3. 07 Oct, 2019 1 commit
  4. 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
  5. 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
  6. 02 Oct, 2018 1 commit
  7. 14 Aug, 2018 1 commit
    • Gennadiy Civil's avatar
      · a3c0dd0f
      Gennadiy Civil authored
      Comments changes, no functionality changes
      a3c0dd0f
  8. 23 May, 2018 1 commit
  9. 03 Jan, 2018 1 commit
  10. 25 Aug, 2015 1 commit
  11. 18 Jun, 2014 1 commit
  12. 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
  13. 14 Sep, 2010 1 commit
  14. 25 Feb, 2010 2 commits
  15. 18 Sep, 2009 1 commit
  16. 13 Jul, 2009 1 commit
  17. 01 Jul, 2009 1 commit
  18. 25 Jun, 2009 1 commit
  19. 24 Apr, 2009 1 commit
  20. 26 Mar, 2009 1 commit
  21. 23 Feb, 2009 1 commit
  22. 11 Oct, 2008 1 commit
    • shiqian's avatar
      Many changes: · e0865dd9
      shiqian authored
      - appends "_" to internal macro names (by Markus Heule).
      - makes Google Test work with newer versions of tools on Symbian and Windows CE (by Mika Raento).
      - adds the (ASSERT|EXPECT)_NO_FATAL_FAILURE macros (by Markus Heule).
      - changes EXPECT_(NON|)FATAL_FAILURE to catch failures in the current thread only (by Markus Heule).
      - adds the EXPECT_(NON|)FATAL_FAILURE_ON_ALL_THREADS macros (by Markus Heule).
      - adds GTEST_HAS_PTHREAD and GTEST_IS_THREADSAFE to indicate the availability of <pthread.h> and Google Test's thread-safety (by Zhanyong Wan).
      - adds scons/SConscript for building with scons (by Joi Sigurdsson).
      - adds src/gtest-all.cc for building Google Test from a single file (by Markus Heule).
      - updates the xcode project to include new tests (by Preston Jackson).
      e0865dd9