summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 22:06:46 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-21 22:06:46 +0000
commit14ce6e3d883fd36d063ea4302e15b84493c4fb57 (patch)
tree67e2267a3240913f348b6bc733095bc3ae22864f
parent793a44525cfc6932e65f181d081feca7fa13b809 (diff)
downloadchromium_src-14ce6e3d883fd36d063ea4302e15b84493c4fb57.zip
chromium_src-14ce6e3d883fd36d063ea4302e15b84493c4fb57.tar.gz
chromium_src-14ce6e3d883fd36d063ea4302e15b84493c4fb57.tar.bz2
Fix unittest for Negotiate and NTLM auth.
BUG=NONE TEST=Unittest fix - ran on Vista. Review URL: http://codereview.chromium.org/554040 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36798 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--net/http/http_auth_unittest.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/net/http/http_auth_unittest.cc b/net/http/http_auth_unittest.cc
index bcd7472..4c21fcf 100644
--- a/net/http/http_auth_unittest.cc
+++ b/net/http/http_auth_unittest.cc
@@ -80,11 +80,10 @@ TEST(HttpAuthTest, ChooseBestChallengeConnectionBased) {
const char* challenge_realm;
} tests[] = {
{
- "WWW-Authenticate: Negotiate\r\n"
+ // TODO(cbentzel): Add tests for both Negotiate and NTLM once Negotiate
+ // is supported on all platforms.
"WWW-Authenticate: NTLM\r\n",
- // We don't support Negotiate, so pick NTLM. Either way, realm is
- // empty.
"",
},
{