Home
last modified time | relevance | path

Searched refs:auth_handler (Results 1 – 4 of 4) sorted by relevance

/external/chromium/net/http/
Dhttp_auth_handler_negotiate_unittest.cc220 scoped_ptr<HttpAuthHandlerNegotiate> auth_handler; in TEST_F() local
222 true, false, true, "http://alias:500", &auth_handler)); in TEST_F()
224 ASSERT_TRUE(auth_handler.get() != NULL); in TEST_F()
228 EXPECT_EQ(OK, auth_handler->GenerateAuthToken(NULL, NULL, in TEST_F()
232 EXPECT_EQ(L"HTTP/alias", auth_handler->spn()); in TEST_F()
234 EXPECT_EQ(L"HTTP@alias", auth_handler->spn()); in TEST_F()
240 scoped_ptr<HttpAuthHandlerNegotiate> auth_handler; in TEST_F() local
242 true, true, true, "http://alias:80", &auth_handler)); in TEST_F()
243 ASSERT_TRUE(auth_handler.get() != NULL); in TEST_F()
247 EXPECT_EQ(OK, auth_handler->GenerateAuthToken(NULL, NULL, in TEST_F()
[all …]
Dhttp_auth_controller_unittest.cc58 HttpAuthHandlerMock* auth_handler = new HttpAuthHandlerMock(); in RunSingleRoundAuthTest() local
59 auth_handler->SetGenerateExpectation((run_mode == RUN_HANDLER_ASYNC), in RunSingleRoundAuthTest()
61 auth_handler_factory.set_mock_handler(auth_handler, HttpAuth::AUTH_PROXY); in RunSingleRoundAuthTest()
Dhttp_auth_unittest.cc28 HttpAuthHandlerMock* auth_handler = new HttpAuthHandlerMock(); in CreateMockHandler() local
29 auth_handler->set_connection_based(connection_based); in CreateMockHandler()
34 EXPECT_TRUE(auth_handler->InitFromChallenge(&challenge, in CreateMockHandler()
38 return auth_handler; in CreateMockHandler()
Dhttp_network_transaction_unittest.cc7412 HttpAuthHandlerMock* auth_handler(new HttpAuthHandlerMock()); in TEST_F() local
7417 auth_handler->InitFromChallenge(&tokenizer, HttpAuth::AUTH_PROXY, in TEST_F()
7419 auth_handler->SetGenerateExpectation( in TEST_F()
7422 auth_factory->set_mock_handler(auth_handler, HttpAuth::AUTH_PROXY); in TEST_F()
7425 HttpAuthHandlerMock* auth_handler(new HttpAuthHandlerMock()); in TEST_F() local
7430 auth_handler->InitFromChallenge(&tokenizer, HttpAuth::AUTH_SERVER, in TEST_F()
7432 auth_handler->SetGenerateExpectation( in TEST_F()
7435 auth_factory->set_mock_handler(auth_handler, HttpAuth::AUTH_SERVER); in TEST_F()
7521 HttpAuthHandlerMock* auth_handler(new HttpAuthHandlerMock()); in TEST_F() local
7522 auth_handler->set_connection_based(true); in TEST_F()
[all …]