Searched refs:mock_library (Results 1 – 3 of 3) sorted by relevance
/external/chromium_org/net/http/ |
D | http_auth_sspi_win_unittest.cc | 40 MockSSPILibrary mock_library; in TEST() local 41 mock_library.ExpectQuerySecurityPackageInfo(L"NTLM", SEC_E_OK, &package_info); in TEST() 43 int rv = DetermineMaxTokenLength(&mock_library, L"NTLM", &max_token_length); in TEST() 49 MockSSPILibrary mock_library; in TEST() local 50 mock_library.ExpectQuerySecurityPackageInfo(L"Foo", SEC_E_SECPKG_NOT_FOUND, in TEST() 53 int rv = DetermineMaxTokenLength(&mock_library, L"Foo", &max_token_length); in TEST() 62 MockSSPILibrary mock_library; in TEST() local 63 HttpAuthSSPI auth_sspi(&mock_library, "Negotiate", in TEST() 75 MockSSPILibrary mock_library; in TEST() local 76 HttpAuthSSPI auth_sspi(&mock_library, "Negotiate", in TEST() [all …]
|
D | http_auth_gssapi_posix_unittest.cc | 94 scoped_ptr<test::MockGSSAPILibrary> mock_library(new test::MockGSSAPILibrary); in TEST() local 95 DCHECK(mock_library.get()); in TEST() 96 mock_library->Init(); in TEST() 132 mock_library->ExpectSecurityContext(queries[i].expected_package, in TEST() 155 major_status = mock_library->init_sec_context(&minor_status, in TEST() 173 major_status = mock_library->delete_sec_context(&minor_status, in TEST() 181 test::MockGSSAPILibrary mock_library; in TEST() local 182 HttpAuthGSSAPI auth_gssapi(&mock_library, "Negotiate", in TEST() 194 test::MockGSSAPILibrary mock_library; in TEST() local 195 HttpAuthGSSAPI auth_gssapi(&mock_library, "Negotiate", in TEST() [all …]
|
D | http_auth_handler_negotiate_unittest.cc | 45 void SetupMocks(MockAuthLibrary* mock_library) { in SetupMocks() argument 50 mock_library->ExpectQuerySecurityPackageInfo( in SetupMocks() 134 mock_library->ExpectSecurityContext(queries[i].expected_package, in SetupMocks() 145 void SetupErrorMocks(MockAuthLibrary* mock_library, in SetupErrorMocks() argument 165 mock_library->ExpectSecurityContext(query.expected_package, in SetupErrorMocks()
|