summaryrefslogtreecommitdiffstats
path: root/googletest/test
diff options
context:
space:
mode:
authorGennadiy Civil <misterg@google.com>2019-08-29 14:52:57 (GMT)
committerGennadiy Civil <misterg@google.com>2019-08-29 14:52:57 (GMT)
commit565f1b848215b77c3732bca345fe76a0431d8b34 (patch)
tree6aed73843867188d7b244554186c89425831b99f /googletest/test
parenta648da952b793411b111af90db42a590270c5801 (diff)
parente2c06aa2497e330bab1c1a03d02f7c5096eb5b0b (diff)
downloadgoogletest-565f1b848215b77c3732bca345fe76a0431d8b34.zip
googletest-565f1b848215b77c3732bca345fe76a0431d8b34.tar.gz
googletest-565f1b848215b77c3732bca345fe76a0431d8b34.tar.bz2
Merge pull request #2398 from kuzkry:custom-type-traits-iterator_traits
PiperOrigin-RevId: 266136896
Diffstat (limited to 'googletest/test')
-rw-r--r--googletest/test/googletest-port-test.cc18
1 files changed, 0 insertions, 18 deletions
diff --git a/googletest/test/googletest-port-test.cc b/googletest/test/googletest-port-test.cc
index 42035cc..60d637c 100644
--- a/googletest/test/googletest-port-test.cc
+++ b/googletest/test/googletest-port-test.cc
@@ -201,24 +201,6 @@ TEST(ImplicitCastTest, CanUseImplicitConstructor) {
EXPECT_TRUE(converted);
}
-TEST(IteratorTraitsTest, WorksForSTLContainerIterators) {
- StaticAssertTypeEq<int,
- IteratorTraits< ::std::vector<int>::const_iterator>::value_type>();
- StaticAssertTypeEq<bool,
- IteratorTraits< ::std::list<bool>::iterator>::value_type>();
-}
-
-TEST(IteratorTraitsTest, WorksForPointerToNonConst) {
- StaticAssertTypeEq<char, IteratorTraits<char*>::value_type>();
- StaticAssertTypeEq<const void*, IteratorTraits<const void**>::value_type>();
-}
-
-TEST(IteratorTraitsTest, WorksForPointerToConst) {
- StaticAssertTypeEq<char, IteratorTraits<const char*>::value_type>();
- StaticAssertTypeEq<const void*,
- IteratorTraits<const void* const*>::value_type>();
-}
-
TEST(GtestCheckSyntaxTest, BehavesLikeASingleStatement) {
if (AlwaysFalse())
GTEST_CHECK_(false) << "This should never be executed; "