Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1740)

Unified Diff: net/http/http_auth_handler_basic_unittest.cc

Issue 8863: Add some extra unit-tests to make sure we cover all permutations of {basic_au... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 12 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/http/http_auth_handler_digest_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_auth_handler_basic_unittest.cc
===================================================================
--- net/http/http_auth_handler_basic_unittest.cc (revision 4108)
+++ net/http/http_auth_handler_basic_unittest.cc (working copy)
@@ -18,6 +18,8 @@
{ L"foo", L"bar", "Basic Zm9vOmJhcg==" },
// Empty password
{ L"anon", L"", "Basic YW5vbjo=" },
+ // Empty username and empty password.
+ { L"", L"", "Basic Og==" },
};
for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
std::string challenge = "Basic realm=\"Atlantis\"";
« no previous file with comments | « no previous file | net/http/http_auth_handler_digest_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698