aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-07-21 21:11:38 +0000
committerGravatar Vijay Pai <vpai@google.com>2015-07-21 21:11:38 +0000
commite66165dead7d4b26afa416143b32daad4bef9e36 (patch)
treea7cdda8dad2a0f146d2e10c87c5835c3c14000bb /test/cpp
parentc4af2249705842f66b665c717e2ccbc83b9b1ffb (diff)
Remove iterator-based test altogether
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/common/secure_auth_context_test.cc20
1 files changed, 0 insertions, 20 deletions
diff --git a/test/cpp/common/secure_auth_context_test.cc b/test/cpp/common/secure_auth_context_test.cc
index fc8aa8f681..d0243a5432 100644
--- a/test/cpp/common/secure_auth_context_test.cc
+++ b/test/cpp/common/secure_auth_context_test.cc
@@ -92,26 +92,6 @@ TEST_F(SecureAuthContextTest, Iterators) {
EXPECT_EQ("bar", p2.second);
++iter;
EXPECT_EQ(context.end(), iter);
-
- int i = 0;
- for (auto p = context.begin(); p != context.end(); p++) {
- switch (i++) {
- case 0:
- EXPECT_EQ("name", (*p).first);
- EXPECT_EQ("chapi", (*p).second);
- break;
- case 1:
- EXPECT_EQ("name", (*p).first);
- EXPECT_EQ("chapo", (*p).second);
- break;
- case 2:
- EXPECT_EQ("foo", (*p).first);
- EXPECT_EQ("bar", (*p).second);
- break;
- default:
- EXPECT_TRUE(0);
- }
- }
}
} // namespace