diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2018-06-09 16:23:36 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2018-06-09 16:23:36 +0900 |
| commit | e0a827ff98e665a118e2001dfe29b14847a33070 (patch) | |
| tree | 8c4b0fdd2a5382a45bc0278a3762b81b2b0c7ee0 /test/DownloadHelperTest.cc | |
| parent | 6f40026944d817a25a0275301eb295e49f23345c (diff) | |
Enable IndentPPDirectives
Diffstat (limited to 'test/DownloadHelperTest.cc')
| -rw-r--r-- | test/DownloadHelperTest.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/DownloadHelperTest.cc b/test/DownloadHelperTest.cc index e7da8177..6a8ab8d2 100644 --- a/test/DownloadHelperTest.cc +++ b/test/DownloadHelperTest.cc @@ -15,7 +15,7 @@ #include "util.h" #include "FileEntry.h" #ifdef ENABLE_BITTORRENT -#include "bittorrent_helper.h" +# include "bittorrent_helper.h" #endif // ENABLE_BITTORRENT namespace aria2 { @@ -215,11 +215,11 @@ void DownloadHelperTest::testCreateRequestGroupForUri_Metalink() // group1: http://alpha/file, ... // group2-7: 6 file entry in Metalink and 1 torrent file download -#ifdef ENABLE_BITTORRENT +# ifdef ENABLE_BITTORRENT CPPUNIT_ASSERT_EQUAL((size_t)7, result.size()); -#else // !ENABLE_BITTORRENT +# else // !ENABLE_BITTORRENT CPPUNIT_ASSERT_EQUAL((size_t)6, result.size()); -#endif // !ENABLE_BITTORRENT +# endif // !ENABLE_BITTORRENT std::shared_ptr<RequestGroup> group = result[0]; auto xuris = group->getDownloadContext()->getFirstFileEntry()->getUris(); @@ -349,11 +349,11 @@ void DownloadHelperTest::testCreateRequestGroupForMetalink() createRequestGroupForMetalink(result, option_); -#ifdef ENABLE_BITTORRENT +# ifdef ENABLE_BITTORRENT CPPUNIT_ASSERT_EQUAL((size_t)6, result.size()); -#else // !ENABLE_BITTORRENT +# else // !ENABLE_BITTORRENT CPPUNIT_ASSERT_EQUAL((size_t)5, result.size()); -#endif // !ENABLE_BITTORRENT +# endif // !ENABLE_BITTORRENT std::shared_ptr<RequestGroup> group = result[0]; auto uris = group->getDownloadContext()->getFirstFileEntry()->getUris(); std::sort(uris.begin(), uris.end()); |
