diff options
author | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-27 19:27:14 +0000 |
---|---|---|
committer | ericroman@google.com <ericroman@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-09-27 19:27:14 +0000 |
commit | b85ee498782d9001301e218220776fd4981aa269 (patch) | |
tree | e6405dea6803fd54dfe09ef74ddac88d494ada4e /net/http/http_auth_handler_digest_unittest.cc | |
parent | 4909c5712b88aadc1a6533b2a17036d3c83805b2 (diff) | |
download | chromium_src-b85ee498782d9001301e218220776fd4981aa269.zip chromium_src-b85ee498782d9001301e218220776fd4981aa269.tar.gz chromium_src-b85ee498782d9001301e218220776fd4981aa269.tar.bz2 |
Add the auth unit-tests to SConscript and .pbxproj
Review URL: http://codereview.chromium.org/4315
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2660 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_auth_handler_digest_unittest.cc')
-rw-r--r-- | net/http/http_auth_handler_digest_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_auth_handler_digest_unittest.cc b/net/http/http_auth_handler_digest_unittest.cc index 41df781..cb08a4e 100644 --- a/net/http/http_auth_handler_digest_unittest.cc +++ b/net/http/http_auth_handler_digest_unittest.cc @@ -87,7 +87,7 @@ TEST(HttpAuthHandlerDigestTest, ParseChallenge) { } }; - for (int i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { + for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { std::string challenge(tests[i].challenge); HttpAuthHandlerDigest auth; @@ -193,7 +193,7 @@ TEST(HttpAuthHandlerDigestTest, AssembleCredentials) { "qop=auth, nc=00000001, cnonce=\"15c07961ed8575c4\"" } }; - for (int i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { + for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) { HttpAuthHandlerDigest digest; std::string challenge = tests[i].challenge; EXPECT_TRUE(digest.InitFromChallenge( |