summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authordeva <deva>2010-01-15 09:21:11 +0000
committerdeva <deva>2010-01-15 09:21:11 +0000
commitc9e19f0f303db3d15f2dcb1185417a4200a29573 (patch)
treef3d5a2836032e8f344de0be6e9e4c2cc14598d37 /server
parentdfbab63fe9d17b797978e8b99b15ffa94099822e (diff)
Added more tests.
Diffstat (limited to 'server')
-rw-r--r--server/src/entitylist.cc4
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*/