From 8b0c701266a56c5ccc7c4ea6b605a9e0c9ef823d Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Mon, 1 Oct 2012 23:52:22 +0900 Subject: Removed trailing spaces --- test/DownloadHelperTest.cc | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'test/DownloadHelperTest.cc') 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 > result; - + createRequestGroupForUri(result, option_, uris); - + CPPUNIT_ASSERT_EQUAL((size_t)1, result.size()); SharedHandle group = result[0]; std::vector uris; @@ -188,9 +188,9 @@ void DownloadHelperTest::testCreateRequestGroupForUri_BitTorrent() option_->put(PREF_OUT, "file.out"); { std::vector > result; - + createRequestGroupForUri(result, option_, uris); - + CPPUNIT_ASSERT_EQUAL((size_t)2, result.size()); SharedHandle group = result[0]; std::vector xuris; @@ -213,7 +213,7 @@ void DownloadHelperTest::testCreateRequestGroupForUri_BitTorrent() CPPUNIT_ASSERT_EQUAL(3, torrentGroup->getNumConcurrentCommand()); SharedHandle 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 > 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 aria2051Group = result[2]; CPPUNIT_ASSERT_EQUAL(2, aria2051Group->getNumConcurrentCommand()); } @@ -280,7 +280,7 @@ void DownloadHelperTest::testCreateRequestGroupForUriList() option_->put(PREF_OUT, "file.out"); std::vector > 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 > result; - + createRequestGroupForMetalink(result, option_); #ifdef ENABLE_BITTORRENT -- cgit