mirror of https://github.com/aria2/aria2
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
Fixed compile error when configured with --disable-bittorrent * test/DownloadHandlerFactoryTest.ccpull/1/head
parent
bd19e00919
commit
8a653fe38b
|
@ -1,3 +1,8 @@
|
|||
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Fixed compile error when configured with --disable-bittorrent
|
||||
* test/DownloadHandlerFactoryTest.cc
|
||||
|
||||
2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>
|
||||
|
||||
Done make update-po
|
||||
|
|
|
@ -15,8 +15,12 @@ class DownloadHandlerFactoryTest:public CppUnit::TestFixture {
|
|||
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:
|
||||
|
||||
|
@ -28,8 +32,11 @@ public:
|
|||
void testGetMetalinkPreDownloadHandler_contentType();
|
||||
#endif // ENABLE_METALINK
|
||||
|
||||
#ifdef ENABLE_BITTORRENT
|
||||
void testGetBtPreDownloadHandler_extension();
|
||||
void testGetBtPreDownloadHandler_contentType();
|
||||
#endif // ENABLE_BITTORRENT
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@ -72,6 +79,8 @@ void DownloadHandlerFactoryTest::testGetMetalinkPreDownloadHandler_contentType()
|
|||
|
||||
#endif // ENABLE_METALINK
|
||||
|
||||
#ifdef ENABLE_BITTORRENT
|
||||
|
||||
void DownloadHandlerFactoryTest::testGetBtPreDownloadHandler_extension()
|
||||
{
|
||||
Option op;
|
||||
|
@ -105,4 +114,6 @@ void DownloadHandlerFactoryTest::testGetBtPreDownloadHandler_contentType()
|
|||
CPPUNIT_ASSERT(!handler->canHandle(&rg));
|
||||
}
|
||||
|
||||
#endif // ENABLE_BITTORRENT
|
||||
|
||||
} // namespace aria2
|
||||
|
|
Loading…
Reference in New Issue