From 82e1a690d97cd9d9f392beccbb6b1d35f3573f08 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Tue, 1 Dec 2009 14:24:55 +0000 Subject: Fixed directory renaming. --- tests/net/maildir/maildirStoreTest.cpp | 20 ++++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) (limited to 'tests/net/maildir/maildirStoreTest.cpp') diff --git a/tests/net/maildir/maildirStoreTest.cpp b/tests/net/maildir/maildirStoreTest.cpp index 5aad90b1..5f8c7033 100644 --- a/tests/net/maildir/maildirStoreTest.cpp +++ b/tests/net/maildir/maildirStoreTest.cpp @@ -322,12 +322,28 @@ public: void testRenameFolder_KMail() { - testRenameFolderImpl(TEST_MAILDIR_KMAIL, TEST_MAILDIRFILES_KMAIL); + try + { + testRenameFolderImpl(TEST_MAILDIR_KMAIL, TEST_MAILDIRFILES_KMAIL); + } + catch (vmime::exception& e) + { + std::cerr << e; + throw e; + } } void testRenameFolder_Courier() { - testRenameFolderImpl(TEST_MAILDIR_COURIER, TEST_MAILDIRFILES_COURIER); + try + { + testRenameFolderImpl(TEST_MAILDIR_COURIER, TEST_MAILDIRFILES_COURIER); + } + catch (vmime::exception& e) + { + std::cerr << e; + throw e; + } } void testRenameFolderImpl(const vmime::string* const dirs, const vmime::string* const files) -- cgit v1.2.3