aboutsummaryrefslogtreecommitdiffstats
path: root/tests/net/maildir/maildirStoreTest.cpp
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2009-12-01 14:24:55 +0000
committerVincent Richard <[email protected]>2009-12-01 14:24:55 +0000
commit82e1a690d97cd9d9f392beccbb6b1d35f3573f08 (patch)
treebf6097c08872b3404771e7a92fff7be3d6e1ee00 /tests/net/maildir/maildirStoreTest.cpp
parentAdded option to return ISO week-numbering instead of default calendar-numbering. (diff)
downloadvmime-82e1a690d97cd9d9f392beccbb6b1d35f3573f08.tar.gz
vmime-82e1a690d97cd9d9f392beccbb6b1d35f3573f08.zip
Fixed directory renaming.
Diffstat (limited to 'tests/net/maildir/maildirStoreTest.cpp')
-rw-r--r--tests/net/maildir/maildirStoreTest.cpp20
1 files changed, 18 insertions, 2 deletions
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)