aboutsummaryrefslogtreecommitdiffstats
path: root/googlemock/test
Commit message (Collapse)AuthorAgeFilesLines
* Change tabs to spaces in test caseMaurice Gilden2017-08-181-11/+11
|
* Switch return type to class without default constructorMaurice Gilden2017-08-181-1/+7
|
* Fix test if exceptions are not supportedMaurice Gilden2017-08-181-0/+6
|
* adds test for NiceMock with unknown return valueMaurice Gilden2017-08-181-0/+15
|
* Merge pull request #1191 from gennadiycivil/masterGennadiy Civil2017-08-101-0/+52
|\ | | | | Adding Bazel build to googletest (initial version )
| * Added Copyrightmisterg2017-08-101-4/+31
| |
| * Initial Revision, review 164634031misterg2017-08-101-25/+0
| |
| * WIPmisterg2017-08-091-0/+25
| |
| * Added googlemock testsmisterg2017-08-091-4/+0
| |
| * Added googlemock testsmisterg2017-08-091-0/+29
| |
* | Correct some typos in a commentShlomi Fish2017-08-041-1/+1
| |
* | Merge pull request #764 from flyd1005/wip-fix-typoGennadiy Civil2017-08-021-1/+1
|\ \ | |/ |/| remove duplicated words
| * remove duplicated wordsLi Peng2016-04-271-1/+1
| | | | | | | | Signed-off-by: Li Peng <lip@dtdream.com>
* | Use std::string and ::string explicitly in gtest and gmock code.Nico Weber2017-05-159-297/+305
| | | | | | | | | | | | | | | | | | 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.
* | Reformatted the Unprintable operator== code style.mazong11232016-07-141-1/+4
| |
* | Fixed issue #775mazong11232016-07-141-2/+3
|/
* Fix link that's returned when running tests. #714Jacob Meacham2016-02-162-6/+6
|
* Name the helper AsBits()Mark Mentovai2015-11-121-11/+10
|
* Use a templated helper to wrap the castMark Mentovai2015-11-111-14/+15
| | | | | | | | 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.
* Leave decltype(max_ulps_) alone and cast, not sure this is betterMark Mentovai2015-11-111-12/+14
|
* Fix warnings encountered in MSVC build of gtest/gmock testsMark Mentovai2015-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | 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
* Merge pull request #612 from mark-chromium/gmock_rttiBilly Donahue2015-11-101-4/+4
|\ | | | | googlemock: Disable WhenDynamicCastToTest tests when RTTI is off
| * googlemock: Disable WhenDynamicCastToTest tests when RTTI is offMark Mentovai2015-10-121-4/+4
| | | | | | | | https://github.com/google/googletest/issues/610
* | googlemock: Support C++11 language with pre-C++11 libraryMark Mentovai2015-10-122-6/+6
|/ | | | | | This guards use of <type_traits> and its features with GTEST_HAS_STD_TYPE_TRAITS_, and std::function with GTEST_HAS_STD_FUNCTION_.
* Fix the googlemock autotools build.Simon Newton2015-09-171-1/+0
|
* Include <memory> to use std::unique_ptr.Billy Donahue2015-09-081-0/+1
|
* Googlemock has some tuples containing lvalue refs in its unit tests.Billy Donahue2015-09-072-5/+9
| | | | | | | | | | | | | | | These tuples are created with make_tuple, which is given temporaries. The make_tuple is in a function argument list. A possibly overzealous static_assert in libc++'s std::tuple ctor is firing in our 'Perform(make_tuple("hi"))' calls, so we can't use its make_tuple here. Instead we will use explicitly-constructed tuples constructed from non-temporary strings. Workaround for llvm bug: https://llvm.org/bugs/show_bug.cgi?id=20855 An alternative to https://github.com/google/googletest/pull/580 .
* move googlemock files into googlemock/ subdirBilly Donahue2015-08-2525-0/+17786