Commit graph

33 commits

Author SHA1 Message Date
Colin Kuskie
19a87ea003 Variable hour formats don't add an extra space any longer. Fixes bug #11915. 2010-10-18 10:32:45 -07:00
Colin Kuskie
fa5764dbc1 Add tests for inclusive intervals for secondsToDuration 2010-09-22 10:49:40 -07:00
Colin Kuskie
f50d3b7adb END block cleanups 2010-06-13 21:19:17 -07:00
Graham Knop
b832deecd1 convert all cleanup methods to addToCleanup 2010-06-10 10:09:53 -05:00
Graham Knop
328f3dfcec test cleanups 2009-09-23 16:48:04 -05:00
Colin Kuskie
f34dce2c10 More DateTime test fixes. 2009-07-24 02:48:47 +00:00
Colin Kuskie
3c4ae9aa82 Refactor exact duration intervals into a separate method. 2009-07-23 23:47:45 +00:00
Graham Knop
56773eefc1 fixed #10590: Session::DateTime->secondsToInterval doesn't allow 7 weeks 2009-07-23 22:04:27 +00:00
Colin Kuskie
004b8095a1 Add method to clean up test sessions. This has to be done
after ALL other types of objects have been cleaned up.
More test clean-up for users, groups and sessions.
2009-05-01 02:02:12 +00:00
Graham Knop
24da723629 updating copyright year 2009-02-20 23:47:30 +00:00
Colin Kuskie
312d1f2f8b Update test to match fixed code. 2009-01-04 03:49:42 +00:00
Colin Kuskie
06f52bae9a Fix how logging gets intercepted. It used to be on by default, now it must be turned on. 2008-02-29 22:09:32 +00:00
Colin Kuskie
04da356822 take more advantage of getTestCollateralPath file concat 2008-02-09 04:44:15 +00:00
JT Smith
93b5ca16e4 updating copyright year 2008-02-07 23:28:18 +00:00
Colin Kuskie
83310ba311 update copyright on tests 2007-07-07 03:56:44 +00:00
Colin Kuskie
6dd91ea8f4 fix a test that leaks a user and casues t/Macro/SQL.t to fail if they are called in the correct order 2007-05-30 21:43:25 +00:00
Colin Kuskie
025a66e30d Coverage is 100/98/63.
Missing coverage is checking for leaving off the epoch argument
and getting the default of time(), and some kind of Devel::Cover
issue where it says that time() could return 0.
2007-04-11 03:05:43 +00:00
Colin Kuskie
b14c3983a9 more coverage tests, branch coverage is at 98% 2007-04-10 22:45:32 +00:00
Colin Kuskie
76bf1b2ad5 testing for DateTime methods for interval translation and date math. Reformatted some of Session/DateTime for WGBP 2007-04-10 04:51:48 +00:00
Colin Kuskie
d051a1960e cover the remaining few subroutines. 100% sub coverage for Session::DateTime 2007-04-09 23:47:47 +00:00
Colin Kuskie
4cc810faf3 Added tests for mailToEpoch.
Removed the default setting for mailToEpoch that would have assigned
the epoch to the mail field and automatically caused the method
to fail, returning undef.
2007-04-09 18:01:26 +00:00
Colin Kuskie
b76351fa83 expanding the DateTime test suite, missing three methods and lots of branch/condition coverage 2007-04-08 05:06:15 +00:00
Colin Kuskie
b3678c6795 fix bad minute spec in Session/DateTime/epochToHttp. Add tests to cover 2006-08-09 20:06:19 +00:00
Frank Dillon
b4102862d4 added epochToMail() test 2006-08-09 03:45:40 +00:00
Frank Dillon
d74f8fc020 forgot to increment test number 2006-08-02 15:58:16 +00:00
Frank Dillon
9a9c2d8357 added test for epochToHttp 2006-08-02 15:56:32 +00:00
Colin Kuskie
5c443480ed incremented number of planned tests since a test was added 2006-07-27 15:58:08 +00:00
Frank Dillon
ebc3db0725 added test for addToDateTime method 2006-07-26 19:24:38 +00:00
Colin Kuskie
9a6e77c4eb cleanup tests, make testCodebase.pl work with traditional --configFile syntax 2006-03-09 01:00:27 +00:00
Colin Kuskie
67511cd89f merge of Snippet fix 2006-02-05 02:51:47 +00:00
Colin Kuskie
bf960218bf Move Macro utility module into t/lib
Break Macro.t into component tests
resolve conflicts from merge
prove passes on t/Macro
2006-01-17 22:16:12 +00:00
Christian Hansen
83d59837fd Ported all tests 2006-01-17 22:06:21 +00:00
JT Smith
4ecdd5022b moved some things into sub folders 2006-01-16 15:42:24 +00:00
Renamed from t/Session_DateTime.t (Browse further)