summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-08 03:34:50 +0000
committerszym@chromium.org <szym@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-03-08 03:34:50 +0000
commite62d93642e243fb1ae21fbc2e67350aa0eb4da83 (patch)
tree2effb7164fe5e444b068fc52ec15607f5e134e26 /net
parent16ee26d5da61ae182160d491be3a5062b3077279 (diff)
downloadchromium_src-e62d93642e243fb1ae21fbc2e67350aa0eb4da83.zip
chromium_src-e62d93642e243fb1ae21fbc2e67350aa0eb4da83.tar.gz
chromium_src-e62d93642e243fb1ae21fbc2e67350aa0eb4da83.tar.bz2
[net] Replace EXPECT_EQ(true/false, ...) with EXPECT_TRUE/FALSE(...)
So that this compiles on (buggy) GCC 4.5+ See: http://code.google.com/p/googletest/issues/detail?id=322#c1 R=simonjam@chromium.org TEST=compile using GCC 4.5-4.6.3 Review URL: http://codereview.chromium.org/9592045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125540 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r--net/http/http_pipelined_host_pool_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_pipelined_host_pool_unittest.cc b/net/http/http_pipelined_host_pool_unittest.cc
index 9863678..11db1e9 100644
--- a/net/http/http_pipelined_host_pool_unittest.cc
+++ b/net/http/http_pipelined_host_pool_unittest.cc
@@ -235,19 +235,19 @@ TEST_F(HttpPipelinedHostPoolTest, MultipleKeys) {
EXPECT_CALL(*host1, IsExistingPipelineAvailable())
.Times(1)
.WillOnce(Return(true));
- EXPECT_EQ(true, pool_->IsExistingPipelineAvailableForKey(key1));
+ EXPECT_TRUE(pool_->IsExistingPipelineAvailableForKey(key1));
EXPECT_CALL(*host2, IsExistingPipelineAvailable())
.Times(1)
.WillOnce(Return(false));
- EXPECT_EQ(false, pool_->IsExistingPipelineAvailableForKey(key2));
+ EXPECT_FALSE(pool_->IsExistingPipelineAvailableForKey(key2));
EXPECT_CALL(*host3, IsExistingPipelineAvailable())
.Times(1)
.WillOnce(Return(true));
- EXPECT_EQ(true, pool_->IsExistingPipelineAvailableForKey(key3));
+ EXPECT_TRUE(pool_->IsExistingPipelineAvailableForKey(key3));
- EXPECT_EQ(false, pool_->IsExistingPipelineAvailableForKey(key4));
+ EXPECT_FALSE(pool_->IsExistingPipelineAvailableForKey(key4));
pool_->OnHostIdle(host1);
pool_->OnHostIdle(host2);