diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-10-01 23:52:22 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2012-10-01 23:52:22 +0900 |
| commit | 8b0c701266a56c5ccc7c4ea6b605a9e0c9ef823d (patch) | |
| tree | 94014f88927ff38ab48ecda3f70c53d97a58a90c /test/DownloadHelperTest.cc | |
| parent | 390b2e546ece51c2f19261949ecf4aa59177dda8 (diff) | |
Removed trailing spaces
Diffstat (limited to 'test/DownloadHelperTest.cc')
| -rw-r--r-- | test/DownloadHelperTest.cc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/DownloadHelperTest.cc b/test/DownloadHelperTest.cc index e055fe56..fc2e3fb0 100644 --- a/test/DownloadHelperTest.cc +++ b/test/DownloadHelperTest.cc @@ -153,9 +153,9 @@ void DownloadHelperTest::testCreateRequestGroupForUri_parameterized() option_->put(PREF_PARAMETERIZED_URI, A2_V_TRUE); { std::vector<SharedHandle<RequestGroup> > result; - + createRequestGroupForUri(result, option_, uris); - + CPPUNIT_ASSERT_EQUAL((size_t)1, result.size()); SharedHandle<RequestGroup> group = result[0]; std::vector<std::string> uris; @@ -188,9 +188,9 @@ void DownloadHelperTest::testCreateRequestGroupForUri_BitTorrent() option_->put(PREF_OUT, "file.out"); { std::vector<SharedHandle<RequestGroup> > result; - + createRequestGroupForUri(result, option_, uris); - + CPPUNIT_ASSERT_EQUAL((size_t)2, result.size()); SharedHandle<RequestGroup> group = result[0]; std::vector<std::string> xuris; @@ -213,7 +213,7 @@ void DownloadHelperTest::testCreateRequestGroupForUri_BitTorrent() CPPUNIT_ASSERT_EQUAL(3, torrentGroup->getNumConcurrentCommand()); SharedHandle<DownloadContext> btctx = torrentGroup->getDownloadContext(); CPPUNIT_ASSERT_EQUAL(std::string("/tmp/aria2-test"), - btctx->getBasePath()); + btctx->getBasePath()); } } #endif // ENABLE_BITTORRENT @@ -234,9 +234,9 @@ void DownloadHelperTest::testCreateRequestGroupForUri_Metalink() option_->put(PREF_OUT, "file.out"); { std::vector<SharedHandle<RequestGroup> > result; - + createRequestGroupForUri(result, option_, uris); - + // group1: http://alpha/file, ... // group2-7: 6 file entry in Metalink and 1 torrent file download #ifdef ENABLE_BITTORRENT @@ -264,7 +264,7 @@ void DownloadHelperTest::testCreateRequestGroupForUri_Metalink() aria2052Group->getDownloadContext(); CPPUNIT_ASSERT_EQUAL(std::string("/tmp/aria2-0.5.2.tar.bz2"), aria2052Ctx->getBasePath()); - + SharedHandle<RequestGroup> aria2051Group = result[2]; CPPUNIT_ASSERT_EQUAL(2, aria2051Group->getNumConcurrentCommand()); } @@ -280,7 +280,7 @@ void DownloadHelperTest::testCreateRequestGroupForUriList() option_->put(PREF_OUT, "file.out"); std::vector<SharedHandle<RequestGroup> > result; - + createRequestGroupForUriList(result, option_); CPPUNIT_ASSERT_EQUAL((size_t)2, result.size()); @@ -376,7 +376,7 @@ void DownloadHelperTest::testCreateRequestGroupForMetalink() option_->put(PREF_OUT, "file.out"); { std::vector<SharedHandle<RequestGroup> > result; - + createRequestGroupForMetalink(result, option_); #ifdef ENABLE_BITTORRENT |
