1. 22 Feb, 2016 1 commit
  2. 11 Nov, 2015 2 commits
    • Mark Mentovai's avatar
      Better use of character constants · 322a4914
      Mark Mentovai authored
      322a4914
    • Mark Mentovai's avatar
      Fix warnings encountered in MSVC build of gtest/gmock tests · 8b085f0d
      Mark Mentovai authored
      This fixes these warnings:
      
      …\gtest\googletest\test\gtest-port_test.cc(78) : error C2220: warning treated as error - no 'object' file generated
      …\gtest\googletest\test\gtest-port_test.cc(78) : warning C4309: 'static_cast' : truncation of constant value
      …\gtest\googletest\test\gtest-port_test.cc(79) : warning C4309: 'static_cast' : truncation of constant value
      
      …\gtest\googlemock\test\gmock-matchers_test.cc(2712) : error C2220: warning treated as error - no 'object' file generated
              …\gtest\googlemock\test\gmock-matchers_test.cc(2706) : while compiling class template member function 'testing::gmock_matchers_test::FloatingPointTest<float>::FloatingPointTest(void)'
              …\gtest\googlemock\test\gmock-matchers_test.cc(2896) : see reference to function template instantiation 'testing::gmock_matchers_test::FloatingPointTest<float>::FloatingPointTest(void)' being compiled
              …\gtest\googlemock\test\gmock-matchers_test.cc(2896) : see reference to class template instantiation 'testing::gmock_matchers_test::FloatingPointTest<float>' being compiled
      …\gtest\googlemock\test\gmock-matchers_test.cc(2712) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2714) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2716) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2717) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2718) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2721) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      …\gtest\googlemock\test\gmock-matchers_test.cc(2723) : warning C4267: 'argument' : conversion from 'size_t' to 'const unsigned int', possible loss of data
      8b085f0d
  3. 25 Aug, 2015 1 commit
  4. 27 Jul, 2015 1 commit
  5. 19 Jul, 2015 2 commits
  6. 17 Jul, 2015 1 commit
  7. 28 Apr, 2015 1 commit
  8. 24 Mar, 2014 1 commit
  9. 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
  10. 07 Jun, 2012 1 commit
  11. 04 Nov, 2011 1 commit
  12. 26 Sep, 2011 1 commit
  13. 11 Jul, 2011 1 commit
  14. 20 Jun, 2011 1 commit
  15. 12 Apr, 2011 1 commit
  16. 22 Feb, 2011 1 commit
  17. 02 Feb, 2011 1 commit
  18. 29 Jan, 2011 1 commit
  19. 10 Jan, 2011 1 commit
  20. 14 Sep, 2010 1 commit
  21. 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
  22. 22 Jul, 2010 1 commit
  23. 10 May, 2010 1 commit
  24. 22 Apr, 2010 1 commit
  25. 26 Mar, 2010 1 commit
  26. 05 Mar, 2010 1 commit
  27. 04 Mar, 2010 1 commit
  28. 26 Feb, 2010 1 commit
  29. 25 Feb, 2010 1 commit
  30. 24 Feb, 2010 1 commit
    • zhanyong.wan's avatar
      Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler Carruth);... · 3bef459e
      zhanyong.wan authored
      Adds threading support (by Miklos Fazekas, Vlad Losev, and Chandler Carruth); adds wide InitGoogleTest to gtest.def (by Vlad Losev); updates the version number (by Zhanyong Wan); updates the release notes for 1.5.0 (by Vlad Losev); removes scons scripts from the distribution (by Zhanyong Wan); adds the cmake build script to the distribution (by Zhanyong Wan); adds fused source files to the distribution (by Vlad Losev and Chandler Carruth).
      3bef459e
  31. 27 Jan, 2010 1 commit
  32. 16 Dec, 2009 1 commit
  33. 17 Nov, 2009 1 commit
  34. 13 Nov, 2009 1 commit
  35. 30 Sep, 2009 1 commit
  36. 11 Sep, 2009 1 commit
  37. 07 Aug, 2009 1 commit
  38. 22 Jul, 2009 1 commit