MCPcopy Create free account
hub / github.com/aria2/aria2 / testResolveAuthConfig_without_userDefined

Method testResolveAuthConfig_without_userDefined

test/DefaultAuthResolverTest.cc:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32CPPUNIT_TEST_SUITE_REGISTRATION(DefaultAuthResolverTest);
33
34void DefaultAuthResolverTest::testResolveAuthConfig_without_userDefined()
35{
36 auto authConfig = resolver_->resolveAuthConfig("localhost");
37 CPPUNIT_ASSERT_EQUAL(std::string("foo:bar"), authConfig->getAuthText());
38}
39
40void DefaultAuthResolverTest::testResolveAuthConfig_with_userDefined()
41{

Callers

nothing calls this directly

Calls 2

getAuthTextMethod · 0.80
resolveAuthConfigMethod · 0.45

Tested by

no test coverage detected