summaryrefslogtreecommitdiffstats
path: root/net/http/http_auth_handler_digest_unittest.cc
diff options
context:
space:
mode:
authorcbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 14:40:44 +0000
committercbentzel@chromium.org <cbentzel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-17 14:40:44 +0000
commit54fea25621611a1fba6208684ff39fb5a4872b4e (patch)
treecd1d68e16658233fe7e156e69b088b495583e4d5 /net/http/http_auth_handler_digest_unittest.cc
parent1f9239433087c7e4bf87ff8b431b0c83566165da (diff)
downloadchromium_src-54fea25621611a1fba6208684ff39fb5a4872b4e.zip
chromium_src-54fea25621611a1fba6208684ff39fb5a4872b4e.tar.gz
chromium_src-54fea25621611a1fba6208684ff39fb5a4872b4e.tar.bz2
Remove static "set_fixed_cnonce" in favor of NonceGenerator objects.
Trying to simplify cleanup for more unit tests. BUG=None TEST=net_unittests Review URL: http://codereview.chromium.org/5034001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66439 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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/http/http_auth_handler_digest_unittest.cc b/net/http/http_auth_handler_digest_unittest.cc
index 2c43710..ff37e99 100644
--- a/net/http/http_auth_handler_digest_unittest.cc
+++ b/net/http/http_auth_handler_digest_unittest.cc
@@ -463,7 +463,7 @@ TEST(HttpAuthHandlerDigest, HandleAnotherChallenge) {
default_challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(),
&handler);
EXPECT_EQ(OK, rv);
-
+ ASSERT_TRUE(handler.get() != NULL);
HttpAuth::ChallengeTokenizer tok_default(default_challenge.begin(),
default_challenge.end());
EXPECT_EQ(HttpAuth::AUTHORIZATION_RESULT_REJECT,