diff options
author | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-11-24 20:23:18 +0000 |
---|---|---|
committer | zhanyong.wan <zhanyong.wan@8415998a-534a-0410-bf83-d39667b30386> | 2009-11-24 20:23:18 +0000 |
commit | 19eb9e9e3d4d5a4f0eee786d7664ca0e45137390 (patch) | |
tree | f28c91fcdbbac205124a68b4e5f9641d05288d07 /test/gmock-port_test.cc | |
parent | e56daa7de1d85c35d1cdc252b500ab276b5c1c9c (diff) | |
download | googletest-19eb9e9e3d4d5a4f0eee786d7664ca0e45137390.tar.gz googletest-19eb9e9e3d4d5a4f0eee786d7664ca0e45137390.tar.bz2 googletest-19eb9e9e3d4d5a4f0eee786d7664ca0e45137390.zip |
Pulls in gtest r344; improves implicit_cast (by Zhanyong Wan); makes the Python tests work on Windows (by Vlad Losev); adds run_tests.py (by Vlad Losev).
Diffstat (limited to 'test/gmock-port_test.cc')
-rw-r--r-- | test/gmock-port_test.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/test/gmock-port_test.cc b/test/gmock-port_test.cc index 3d983d52..b2afb932 100644 --- a/test/gmock-port_test.cc +++ b/test/gmock-port_test.cc @@ -76,10 +76,6 @@ TEST(ImplicitCastTest, CanUseInheritance) { EXPECT_EQ(derived.member(), base.member()); } -// The non-const version is not enabled for Symbian since the Nokia compiler -// cannot decide which version of the overloaded implicit_cast method to use -// when the source is a const. -#if !GTEST_OS_SYMBIAN class Castable { public: Castable(bool* converted) : converted_(converted) {} @@ -98,7 +94,6 @@ TEST(ImplicitCastTest, CanUseNonConstCastOperator) { Base base = ::testing::internal::implicit_cast<Base>(castable); EXPECT_TRUE(converted); } -#endif // !GTEST_OS_SYMBIAN class ConstCastable { public: @@ -119,10 +114,6 @@ TEST(ImplicitCastTest, CanUseConstCastOperatorOnConstValues) { EXPECT_TRUE(converted); } -// The non-const version is not enabled for Symbian since the Nokia compiler -// cannot decide which version of the overloaded implicit_cast method to use -// when the source is a const. -#if !GTEST_OS_SYMBIAN class ConstAndNonConstCastable { public: ConstAndNonConstCastable(bool* converted, bool* const_converted) @@ -156,7 +147,6 @@ TEST(ImplicitCastTest, CanSelectBetweenConstAndNonConstCasrAppropriately) { EXPECT_FALSE(converted); EXPECT_TRUE(const_converted); } -#endif // !GTEST_OS_SYMBIAN class To { public: |