#include "DownloadHandlerFactory.h" #include #include "RequestGroup.h" #include "Option.h" #include "DownloadContext.h" #include "MemoryBufferPreDownloadHandler.h" #include "FileEntry.h" namespace aria2 { class DownloadHandlerFactoryTest:public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(DownloadHandlerFactoryTest); #ifdef ENABLE_METALINK CPPUNIT_TEST(testGetMetalinkPreDownloadHandler_extension); CPPUNIT_TEST(testGetMetalinkPreDownloadHandler_contentType); #endif // ENABLE_METALINK #ifdef ENABLE_BITTORRENT CPPUNIT_TEST(testGetBtPreDownloadHandler_extension); CPPUNIT_TEST(testGetBtPreDownloadHandler_contentType); #endif // ENABLE_BITTORRENT CPPUNIT_TEST_SUITE_END(); private: SharedHandle