diff options
Diffstat (limited to 'tests/parser/fileContentHandlerTest.cpp')
-rw-r--r-- | tests/parser/fileContentHandlerTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/parser/fileContentHandlerTest.cpp b/tests/parser/fileContentHandlerTest.cpp index b7373959..9d1459db 100644 --- a/tests/parser/fileContentHandlerTest.cpp +++ b/tests/parser/fileContentHandlerTest.cpp @@ -38,7 +38,7 @@ VMIME_TEST_SUITE_BEGIN(fileContentHandlerTest) VMIME_TEST_LIST_END - vmime::ref <vmime::utility::file> testFile; + vmime::shared_ptr <vmime::utility::file> testFile; vmime::string testDataEncoded, testDataDecoded; @@ -50,7 +50,7 @@ VMIME_TEST_SUITE_BEGIN(fileContentHandlerTest) std::ostringstream testFilePath; testFilePath << "/tmp/vmime_test_" << (rand() % 999999999); - vmime::ref <vmime::utility::fileSystemFactory> fsf = + vmime::shared_ptr <vmime::utility::fileSystemFactory> fsf = vmime::platform::getHandler()->getFileSystemFactory(); testFile = fsf->create(fsf->stringToPath(testFilePath.str())); @@ -61,7 +61,7 @@ VMIME_TEST_SUITE_BEGIN(fileContentHandlerTest) void tearDown() { testFile->remove(); - testFile = NULL; + testFile = vmime::null; } |