diff options
| author | Nils Maier <maierman@web.de> | 2014-04-17 01:36:19 +0200 |
|---|---|---|
| committer | Nils Maier <maierman@web.de> | 2014-04-17 18:02:42 +0200 |
| commit | 010131161ebdea22e5b6eb4fd0740e8e6da3df67 (patch) | |
| tree | 3a768bbd2796056c65de9630a6ab6946d4eda43f /test/MetalinkParserControllerTest.cc | |
| parent | befd799d177c2860ea4e9c6cf8c744342c394427 (diff) | |
Remove ENABLE_MESSAGE_DIGEST, since we got the internal md, always
Diffstat (limited to 'test/MetalinkParserControllerTest.cc')
| -rw-r--r-- | test/MetalinkParserControllerTest.cc | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/test/MetalinkParserControllerTest.cc b/test/MetalinkParserControllerTest.cc index a6c921d0..aded4223 100644 --- a/test/MetalinkParserControllerTest.cc +++ b/test/MetalinkParserControllerTest.cc @@ -7,10 +7,8 @@ #include "MetalinkResource.h" #include "MetalinkMetaurl.h" #include "FileEntry.h" -#ifdef ENABLE_MESSAGE_DIGEST -# include "Checksum.h" -# include "ChunkChecksum.h" -#endif // ENABLE_MESSAGE_DIGEST +#include "Checksum.h" +#include "ChunkChecksum.h" #include "Signature.h" namespace aria2 { @@ -22,11 +20,9 @@ class MetalinkParserControllerTest:public CppUnit::TestFixture { CPPUNIT_TEST(testResourceTransaction); CPPUNIT_TEST(testResourceTransaction_withBaseUri); CPPUNIT_TEST(testMetaurlTransaction); -#ifdef ENABLE_MESSAGE_DIGEST CPPUNIT_TEST(testChecksumTransaction); CPPUNIT_TEST(testChunkChecksumTransaction); CPPUNIT_TEST(testChunkChecksumTransactionV4); -#endif // ENABLE_MESSAGE_DIGEST CPPUNIT_TEST(testSignatureTransaction); CPPUNIT_TEST_SUITE_END(); @@ -41,11 +37,9 @@ public: void testResourceTransaction(); void testResourceTransaction_withBaseUri(); void testMetaurlTransaction(); -#ifdef ENABLE_MESSAGE_DIGEST void testChecksumTransaction(); void testChunkChecksumTransaction(); void testChunkChecksumTransactionV4(); -#endif // ENABLE_MESSAGE_DIGEST void testSignatureTransaction(); }; @@ -183,7 +177,6 @@ void MetalinkParserControllerTest::testMetaurlTransaction() #endif // !ENABLE_BITTORRENT } -#ifdef ENABLE_MESSAGE_DIGEST void MetalinkParserControllerTest::testChecksumTransaction() { MetalinkParserController ctrl; @@ -310,7 +303,6 @@ void MetalinkParserControllerTest::testChunkChecksumTransactionV4() CPPUNIT_ASSERT(!m->getEntries()[2]->chunkChecksum); } } -#endif // ENABLE_MESSAGE_DIGEST void MetalinkParserControllerTest::testSignatureTransaction() { |
