diff options
Diffstat (limited to 'server')
-rw-r--r-- | server/src/entitylist.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/server/src/entitylist.cc b/server/src/entitylist.cc index 141345d..6964df1 100644 --- a/server/src/entitylist.cc +++ b/server/src/entitylist.cc @@ -294,8 +294,12 @@ TEST_EQUAL_STR(lst.getLatestVersion("test"), _DIR"/file1.xml", "Test"); unlink(_DIR"/file1.xml"); +TEST_EXCEPTION(lst.getLatestVersion("test"), Exception, "Test lookup of missing macro."); + rmdir(_DIR); +TEST_EXCEPTION(lst.getLatestVersion("test"), Exception, "Test lookup in missing folder."); + TEST_END; #endif/*TEST_ENTITYLIST*/ |