- 03 Jan, 2018 1 commit
-
-
David Benjamin authored
This makes it easier to use GTest in projects that build with the -Wmissing-declarations warning. This fixes the warning in headers and source files, though not GTest's own tests as it is rather noisy there.
-
- 25 Oct, 2017 2 commits
-
-
Arkady Shapkin authored
-
Arkadiy Shapkin authored
-
- 22 Aug, 2017 1 commit
-
-
Roman Perepelitsa authored
-
- 15 May, 2017 1 commit
-
-
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.
-
- 14 Jul, 2016 2 commits
-
-
mazong1123 authored
-
mazong1123 authored
-
- 12 Nov, 2015 1 commit
-
-
Mark Mentovai authored
-
- 11 Nov, 2015 3 commits
-
-
Mark Mentovai authored
The helper needs to be templated because its argument type can’t be known. FloatingPointTest is instantiated with RawType = float and RawType = double, so Bits will be an unsigned 32-bit or 64-bit type. size_t will be either 32 or 64 bits depending on the system’s definition, typically based on pointer size.
-
Mark Mentovai authored
-
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
-
- 12 Oct, 2015 2 commits
-
-
-
Mark Mentovai authored
This guards use of <type_traits> and its features with GTEST_HAS_STD_TYPE_TRAITS_, and std::function with GTEST_HAS_STD_FUNCTION_.
-
- 25 Aug, 2015 1 commit
-
-
Billy Donahue authored
-
- 19 Jul, 2015 1 commit
-
-
kosak authored
-
- 28 Apr, 2015 2 commits
- 08 Jan, 2015 1 commit
-
-
kosak authored
Also fix bogus MSVC warning about "alignment of a member was sensitive to packing". Also bring in gtest 701.
-
- 17 Nov, 2014 3 commits
- 28 Jul, 2014 2 commits
- 19 May, 2014 1 commit
-
-
billydonahue authored
Make single argument constructors explicit in macros. Remove NOMINMAX macro. Add macros for disabling Microsoft Visual C++ warnings. Add WhenDynamicCastTo<T> matcher. A matcher that matches a pointer that matches inner_matcher when dynamic_cast<T> is applied. Add IWYU export pragmas to the tuple include lines. Fix NativeArray to not require a copy constructor unless we ask for one. This allows ElementsAre() to support non-copyable types. Examine WINAPI_FAMILY_PARTITION macros to better distinguish windows platforms. Author: martin@martin.st From: https://codereview.appspot.com/57220043/
-
- 02 Apr, 2014 1 commit
-
-
kosak authored
-
- 24 Mar, 2014 1 commit
-
-
kosak authored
Replace U+2013 with U+002D in comment lines. Pull in gtest 681.
-
- 12 Mar, 2014 1 commit
-
-
kosak authored
which lack a size() member. Also pull in gtest 678.
-
- 04 Dec, 2013 1 commit
-
-
kosak authored
Fix spelling: repositary -> repository. Pull in gtest 671.
-
- 03 Dec, 2013 2 commits
- 18 Sep, 2013 1 commit
-
-
zhanyong.wan authored
-
- 08 Aug, 2013 1 commit
-
-
zhanyong.wan authored
Makes some container matchers accept initializer lists in C++11 mode and work with stream-like containers that don't have size() or empty(); exposes StringMatchResultListener for defining composite matchers.
-
- 30 Jul, 2013 1 commit
-
-
zhanyong.wan authored
-
- 28 Jul, 2013 1 commit
-
-
zhanyong.wan authored
gtest r660.
-
- 18 Jun, 2013 1 commit
-
-
zhanyong.wan authored
AllOf() and AnyOf() can accept any number of arguments now in C++11 mode.
-
- 24 Apr, 2013 1 commit
-
-
zhanyong.wan authored
-
- 27 Mar, 2013 1 commit
-
-
zhanyong.wan authored
-
- 25 Mar, 2013 1 commit
-
-
zhanyong.wan authored
-
- 01 Mar, 2013 2 commits
-
-
zhanyong.wan authored
-
zhanyong.wan authored
-