add ideas for unit-tests
authorGerd v. Egidy <gerd.von.egidy@intra2net.com>
Wed, 28 Jan 2009 01:39:07 +0000 (02:39 +0100)
committerGerd v. Egidy <gerd.von.egidy@intra2net.com>
Wed, 28 Jan 2009 01:39:07 +0000 (02:39 +0100)
test/test_cron.cpp

index cf6903d..67f15ad 100644 (file)
@@ -146,6 +146,19 @@ public:
         CPPUNIT_ASSERT_EQUAL( 1233187200, static_cast<int>(cron.get_next_run(1233100800)));
     }
 
+    // TODO: Tom, add some evil tests here, im done here for yesterday ;)
+    // ideas:
+    // - daylightsaving on
+    //      - start, end
+    //      - interval in between
+    //      - at the end of dst-day
+    // - daylightsaving off
+    //      - start, end
+    //      - interval in between
+    //      - at the end of dst-day
+    // - year-turn (does our old mktime this correctly?)
+    // - feb 29
+
 };
 
 CPPUNIT_TEST_SUITE_REGISTRATION(TestCronFunc);