summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_unittest.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 15:36:11 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-04 15:36:11 +0000
commit2227c699c409af182b20d64fae135217d9ab6a24 (patch)
tree02181ac8440b73d460a67ce216ffef7bad85ff2c /net/http/http_auth_unittest.cc
parent4f5c54c25a07c7ea62af278b8a455b539273b8e1 (diff)
downloadchromium_src-2227c699c409af182b20d64fae135217d9ab6a24.zip
chromium_src-2227c699c409af182b20d64fae135217d9ab6a24.tar.gz
chromium_src-2227c699c409af182b20d64fae135217d9ab6a24.tar.bz2
Auto-format style pass over files.
This is a refactor (actually reformat) only - no behavior change in place. BUG=NONE TEST=net_unittests.exe Review URL: http://codereview.chromium.org/1800003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46349 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_unittest.cc')
-rw-r--r--net/http/http_auth_unittest.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/http/http_auth_unittest.cc b/net/http/http_auth_unittest.cc
index 2859e07..cc616a0 100644
--- a/net/http/http_auth_unittest.cc
+++ b/net/http/http_auth_unittest.cc
@@ -196,7 +196,7 @@ TEST(HttpAuthTest, ChallengeTokenizerNoQuotes) {
TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotes) {
std::string challenge_str = "Basic realm=\"foobar@baz.com";
HttpAuth::ChallengeTokenizer challenge(challenge_str.begin(),
- challenge_str.end());
+ challenge_str.end());
EXPECT_TRUE(challenge.valid());
EXPECT_EQ(std::string("Basic"), challenge.scheme());
EXPECT_TRUE(challenge.GetNext());
@@ -212,7 +212,7 @@ TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotes) {
TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotesNoValue) {
std::string challenge_str = "Basic realm=\"";
HttpAuth::ChallengeTokenizer challenge(challenge_str.begin(),
- challenge_str.end());
+ challenge_str.end());
EXPECT_TRUE(challenge.valid());
EXPECT_EQ(std::string("Basic"), challenge.scheme());
EXPECT_TRUE(challenge.GetNext());
@@ -228,7 +228,7 @@ TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotesNoValue) {
TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotesSpaces) {
std::string challenge_str = "Basic realm=\"foo bar";
HttpAuth::ChallengeTokenizer challenge(challenge_str.begin(),
- challenge_str.end());
+ challenge_str.end());
EXPECT_TRUE(challenge.valid());
EXPECT_EQ(std::string("Basic"), challenge.scheme());
EXPECT_TRUE(challenge.GetNext());
@@ -245,7 +245,7 @@ TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotesSpaces) {
TEST(HttpAuthTest, ChallengeTokenizerMismatchedQuotesMultiple) {
std::string challenge_str = "Digest qop=, algorithm=md5, realm=\"foo";
HttpAuth::ChallengeTokenizer challenge(challenge_str.begin(),
- challenge_str.end());
+ challenge_str.end());
EXPECT_TRUE(challenge.valid());
EXPECT_EQ(std::string("Digest"), challenge.scheme());
EXPECT_TRUE(challenge.GetNext());