• Home
  • History
  • Annotate
  • only in /external/googletest/googlemock/test/
History log of /external/googletest/googlemock/test/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
4a8e54401e497794054defc49fde7b208a8c8fab 12-Nov-2015 Mark Mentovai <mark@chromium.org> Name the helper AsBits()
mock-matchers_test.cc
cfe466a0a75333a1c12baa99c172b9036fc5ccf1 12-Nov-2015 Mark Mentovai <mark@chromium.org> Use a templated helper to wrap the cast

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.
mock-matchers_test.cc
cbce23fb86705aff7f9f1294a295027d7ed674ef 11-Nov-2015 Mark Mentovai <mark@chromium.org> Leave decltype(max_ulps_) alone and cast, not sure this is better
mock-matchers_test.cc
8b085f0d2168e6e54712d295dcf26feac92bb9fc 11-Nov-2015 Mark Mentovai <mark@chromium.org> Fix warnings encountered in MSVC build of gtest/gmock tests

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
mock-matchers_test.cc
71a26ac68b28c61686b8941730a6b2577912e239 10-Nov-2015 Billy Donahue <BillyDonahue@users.noreply.github.com> Merge pull request #612 from mark-chromium/gmock_rtti

googlemock: Disable WhenDynamicCastToTest tests when RTTI is off
c8a1050704af1cc09a7a05820a6dbefc88fb3b4a 13-Oct-2015 Mark Mentovai <mark@chromium.org> googlemock: Disable WhenDynamicCastToTest tests when RTTI is off

https://github.com/google/googletest/issues/610
mock-matchers_test.cc
a0435dc6879c336ab29afd64c380995055d2cd53 12-Oct-2015 Mark Mentovai <mark@chromium.org> googlemock: Support C++11 language with pre-C++11 library

This guards use of <type_traits> and its features with
GTEST_HAS_STD_TYPE_TRAITS_, and std::function with
GTEST_HAS_STD_FUNCTION_.
mock-actions_test.cc
mock-matchers_test.cc
39062f4e3005cac0b919d3dbe83b3d1e6b61a8ae 17-Sep-2015 Simon Newton <nomis52@gmail.com> Fix the googlemock autotools build.
mock_test.cc
b78f858d0c12cc71d41607b261e3cfd6c6bfa185 08-Sep-2015 Billy Donahue <billydonahue@google.com> Include <memory> to use std::unique_ptr.
mock-internal-utils_test.cc
f19b060075e89ac7ccd1744b30d41b755b92a10a 08-Sep-2015 Billy Donahue <billydonahue@google.com> Googlemock has some tuples containing lvalue refs in its unit tests.
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 .
mock-generated-actions_test.cc
mock-more-actions_test.cc
affb09edf0dfac4e8570f99ed5af09543a7ffe4f 25-Aug-2015 Billy Donahue <billydonahue@google.com> move googlemock files into googlemock/ subdir
mock-actions_test.cc
mock-cardinalities_test.cc
mock-generated-actions_test.cc
mock-generated-function-mockers_test.cc
mock-generated-internal-utils_test.cc
mock-generated-matchers_test.cc
mock-internal-utils_test.cc
mock-matchers_test.cc
mock-more-actions_test.cc
mock-nice-strict_test.cc
mock-port_test.cc
mock-spec-builders_test.cc
mock_all_test.cc
mock_ex_test.cc
mock_leak_test.py
mock_leak_test_.cc
mock_link2_test.cc
mock_link_test.cc
mock_link_test.h
mock_output_test.py
mock_output_test_.cc
mock_output_test_golden.txt
mock_stress_test.cc
mock_test.cc
mock_test_utils.py