pull/709/merge
Nils Maier 2016-07-19 18:56:15 +00:00 committed by GitHub
commit d5511b855d
1 changed files with 3 additions and 0 deletions

View File

@ -41,6 +41,9 @@ void RequestGroupTest::testGetFirstFilePath()
CPPUNIT_ASSERT_EQUAL(std::string("/tmp/myfile"), group.getFirstFilePath());
// test in-memory
ctx->getFirstFileEntry()->setPath("/tmp/myfile");
group.markInMemoryDownload();
CPPUNIT_ASSERT_EQUAL(std::string("[MEMORY]myfile"), group.getFirstFilePath());