Commit graph

11 commits

Author SHA1 Message Date
Graham Knop
d881a82fc3 fixing tests 2008-08-21 20:44:33 +00:00
Graham Knop
87284a08e6 fix test for current debug messages 2008-07-25 06:49:06 +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
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
c6bde7eed9 By default, all Log::Log4Perl calls are mocked so that they can
be intercepted and tested.
Reworked Session/ErrorHandler.t to take account of this.
Updated Stow test coverage to 100%.
2007-04-06 22:50:53 +00:00
Colin Kuskie
850abf9b6d setup code for showDebug test 2006-11-28 16:58:21 +00:00
Colin Kuskie
2843dd195b update ErrorHandler test to work from either . or sbin 2006-11-22 21:59:07 +00:00
Colin Kuskie
a0d2326f9c Found and fixed a bug in ErrorHandler, canShowPerformanceIndicators.
It didn't work with CIDR format IP addresses.  I cannabilized the
code from canShowDebug and refactored it into its own method,
canShowBasedOnIP.  Both canShowDebug and canShowPerformanceIndicators call this.
Updated the docs for the debugIp setting to note that it's used for both
showDebug and showPerformanceIndicators.
Added about 20 more tests to ErrorHandler.t.  Only the two hard methods are
left, fatal (which closes the session at the end) and showDebug, which is
validating a ton of output.
2006-11-21 03:50:15 +00:00
Colin Kuskie
9c6f2c8b09 tests for audit, security which wrap info and warn 2006-11-20 05:28:53 +00:00
Colin Kuskie
648d7d0008 beginning of tests for ErrorHandler 2006-11-20 04:58:31 +00:00