#include "RequestFactory.h" #include "prefs.h" #include "NetrcAuthResolver.h" #include "DefaultAuthResolver.h" #include using namespace std; class RequestFactoryTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(RequestFactoryTest); CPPUNIT_TEST(testCreateHttpAuthResolver_netrc); CPPUNIT_TEST(testCreateHttpAuthResolver_def); CPPUNIT_TEST(testCreateFtpAuthResolver_netrc); CPPUNIT_TEST(testCreateFtpAuthResolver_def); CPPUNIT_TEST(testCreateHttpProxyAuthResolver_netrc); CPPUNIT_TEST(testCreateHttpProxyAuthResolver_def); CPPUNIT_TEST_SUITE_END(); private: NetrcHandle _netrc; SharedHandle