mirror of https://github.com/aria2/aria2
Merge 67f556f208
into f5ceeebe86
commit
d5511b855d
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue