#include "RequestGroupMan.h" #include #include #include "TestUtil.h" #include "prefs.h" #include "DownloadContext.h" #include "RequestGroup.h" #include "Option.h" #include "DownloadResult.h" #include "FileEntry.h" #include "ServerStatMan.h" #include "ServerStat.h" #include "File.h" #include "array_fun.h" #include "RecoverableException.h" #include "util.h" #include "DownloadEngine.h" #include "SelectEventPoll.h" #include "UriListParser.h" namespace aria2 { class RequestGroupManTest : public CppUnit::TestFixture { CPPUNIT_TEST_SUITE(RequestGroupManTest); CPPUNIT_TEST(testIsSameFileBeingDownloaded); CPPUNIT_TEST(testGetInitialCommands); CPPUNIT_TEST(testLoadServerStat); CPPUNIT_TEST(testSaveServerStat); CPPUNIT_TEST(testChangeReservedGroupPosition); CPPUNIT_TEST(testFillRequestGroupFromReserver); CPPUNIT_TEST(testFillRequestGroupFromReserver_uriParser); CPPUNIT_TEST(testInsertReservedGroup); CPPUNIT_TEST(testAddDownloadResult); CPPUNIT_TEST_SUITE_END(); private: std::shared_ptr e_; std::shared_ptr