[Koha-bugs] [Bug 5327] Unit tests required for all C4 modules
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 6 05:48:24 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5327
Mason James <mtj at kohaaloha.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mtj at kohaaloha.com
--- Comment #179 from Mason James <mtj at kohaaloha.com> ---
(In reply to comment #178)
> Created attachment 10659 [details]
> Bug 5327 - Unit tests required for all C4 modules
>
> renamed: Koha.t -> db_dependent/Koha.t
>
> Signed-off-by: Mason James <mtj at kohaaloha.com>
test works well
$ prove -v ./t/db_dependent/Koha.t
./t/db_dependent/Koha.t ..
1..8
ok 1 - use C4::Koha;
ok 2 - slashifyDate
ok 3 - xml_escape() returns empty string on undef input
ok 4 - xml_escape() works as expected
ok 5 - ... and does not change input in place
ok 6 - _isbn_cleanup removes hyphens
ok 7 - _isbn_cleanup removes parenthetical
ok 8 - _isbn_cleanup converts ISBN-13 to ISBN-10
ok
All tests successful.
Files=1, Tests=8, 0 wallclock secs ( 0.02 usr 0.01 sys + 0.22 cusr 0.02
csys = 0.27 CPU)
Result: PASS
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list