2008-05-21 Tatsuhiro Tsujikawa <tujikawa at rednoah dot com>

Fixed compile error when configured with --disable-bittorrent
	* test/DownloadHandlerFactoryTest.cc
pull/1/head
Tatsuhiro Tsujikawa 2008-05-21 08:43:46 +00:00
parent bd19e00919
commit 8a653fe38b
2 changed files with 16 additions and 0 deletions

View File

@ -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

View File

@ -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