diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-02-11 07:41:15 +0000 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2009-02-11 07:41:15 +0000 |
| commit | b5af788a004a2534d3c73319c4deee35ecebeda5 (patch) | |
| tree | f68731bc0a76448c59028215eb37dfb3b1b535c8 /test/MultiFileAllocationIteratorTest.cc | |
| parent | 4570a4242eea0841f31da6fd939a3c28bb91aa83 (diff) | |
2009-02-11 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Fixed broken selected file BitTorrent download.
* src/MultiDiskWriter.cc
* test/MultiDiskWriterTest.cc
* test/MultiFileAllocationIteratorTest.cc
Diffstat (limited to 'test/MultiFileAllocationIteratorTest.cc')
| -rw-r--r-- | test/MultiFileAllocationIteratorTest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/MultiFileAllocationIteratorTest.cc b/test/MultiFileAllocationIteratorTest.cc index 288df5e2..1ca3dfb0 100644 --- a/test/MultiFileAllocationIteratorTest.cc +++ b/test/MultiFileAllocationIteratorTest.cc @@ -120,7 +120,7 @@ void MultiFileAllocationIteratorTest::testMakeDiskWriterEntries() // file9 CPPUNIT_ASSERT_EQUAL(prefix+std::string("/file9"), entries[8]->getFilePath(prefix)); - CPPUNIT_ASSERT(entries[8]->needsFileAllocation()); + CPPUNIT_ASSERT(!entries[8]->needsFileAllocation()); CPPUNIT_ASSERT(!entries[8]->getDiskWriter().isNull()); // fileA CPPUNIT_ASSERT_EQUAL(prefix+std::string("/fileA"), |
