http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13262
--- Comment #12 from Kyle M Hall <[email protected]> --- prove -v t/db_dependent/XSLT_Handler.t t/db_dependent/XSLT_Handler.t .. 1..26 ok 1 - Testing creation of handler object No XSLT file passed. at Koha/XSLT_Handler.pm line 322. ok 2 - Engine returns error on no file XSLT file not found. at Koha/XSLT_Handler.pm line 322. ok 3 - Engine returns error on bad file ok 4 - Test on invalid refresh ok 5 - Found my test stylesheet test01.xsl No string to transform. at Koha/XSLT_Handler.pm line 322. ok 6 - Engine returns error on undefined text Error while parsing input: Empty String at Koha/XSLT_Handler.pm line 179. ok 7 - Engine returns error on empty string Error while parsing input: :1: parser error : Start tag expected, '<' not found abcdef ^ ok 8 - Engine returns error on non-xml Error while parsing input: :1: parser error : Opening and ending tag mismatch: a line 1 and b <a></b> ^ ok 9 - Engine returns error on malformed xml Error while parsing input: :1: parser error : Opening and ending tag mismatch: a line 1 and b <a></b> ^ ok 10 - Engine respects do_not_return_source==1 Error while parsing input: :1: parser error : Opening and ending tag mismatch: a line 1 and b <a></b> ^ ok 11 - Second engine respects it too Error while parsing input: :1: parser error : Opening and ending tag mismatch: a line 1 and b <a></b> ^ ok 12 - Engine respects do_not_return_source==0 ok 13 - Test on valid refresh ok 14 - Test on repeated refresh ok 15 - Engine returned no error for xml_1 ok 16 - No real change expected for xml_1 ok 17 - Engine returned no error for xml_2 ok 18 - Saw the expected change for xml_2 ok 19 - Found my test stylesheet test02.xsl Error while parsing stylesheet: compilation error: file /var/lib/koha/kohaqa/kohaclone/t/db_dependent/XSLT_Handler/test02.xsl element variable redefinition of global variable redefine at Koha/XSLT_Handler.pm line 274. ok 20 - Engine returned error for parsing bad xsl ok 21 - Error string contains text ok 22 - Found my test stylesheet test03.xsl ok 23 - Unexpected error on transform with third xsl ok 24 - Final test on clearing cache ok 25 - Found my test stylesheet test04.xsl ok 26 - Successfully injected string into XSLT parameter/variable ok All tests successful. Files=1, Tests=26, 0 wallclock secs ( 0.03 usr 0.02 sys + 0.10 cusr 0.01 csys = 0.16 CPU) Result: PASS -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
