Microsoft (R) Program Maintenance Utility Version 6.00.8168.0 Copyright (C) Microsoft Corp 1988-1998. All rights reserved. Installing D:\cpanrun\build\5-8-0\site\lib\Text\WikiFormat.pm Installing D:\cpanrun\build\5-8-0\site\lib\Text\WikiFormat\Blocks.pm Writing D:\cpanrun\build\5-8-0\site\lib\auto\Text\WikiFormat\.packlist Appending installation info to D:\cpanrun\build\5-8-0\lib/perllocal.pod ht look like links ok 4 - Schema tag allows specifying what is a link ok t/base...................1..35 ok 1 - use Text::WikiFormat; ok 2 - Text::WikiFormat->can('start_block') ok 3 - start_block() should find headings ok 4 - ... at the correct level ok 5 - start_block() should find unordered lists ok 6 - ... at the correct level ok 7 - ... with the correct text ok 8 - start_block() should find ordered lists ok 9 - ... at the correct level ok 10 - ... with the correct text ok 11 - start_block() should find code ok 12 - ... at the correct level ok 13 - ... with the correct text ok 14 - start_block() should find paragraph ok 15 - ... at the correct level ok 16 - ... with the correct text ok 17 - Text::WikiFormat->can('merge_blocks') ok 18 - merge_blocks() should merge identical blocks together ok 19 - ... merging their text ok 20 - ... merging unordered blocks ok 21 - ... and their text ok 22 - ... not merging blocks at different levels ok 23 - Text::WikiFormat->can('process_blocks') ok 24 - process_blocks() should return processed text ok 25 - ... marking header ok 26 - ... paragraph ok 27 - ... ordered list ok 28 - ... and unordered list ok 29 - ... nesting properly ok 30 - format() should give same results ok 31 - nested list should start immediately ok 32 - ... ending after last nested item ok 33 - Text::WikiFormat->can('check_blocks') ok 34 - check_blocks() should warn if block is not ordered ok 35 - ... for all missing blocks ok t/bugs...................1..16 ok 1 - use Text::WikiFormat; ok 2 - format() should throw no warnings for text starting with newlines ok 3 - ensure that lists followed by paragraphs are included correctly ok 4 - Baz->can('wf') ok 5 - first level of unordered list ok 6 - nested unordered lists OK ok 7 - format() should not die if a block is missing from blockorder ok 8 - ... warning instead ok 9 - successful prior match should not whomp format() ok 10 - pre tags should work ok 11 - ... not removing further indents ok 12 - parse actual CamelCase words into links ok 13 - ... not repeating if using link as title ok 14 - ... but not words in all uppercase ok 15 - merge_blocks() should not autovivify empty blocks array ok 16 - ... nor should nest_blocks() ok t/embedded-links.........1..2 ok 1 - ...processing all embedded links not ok 2 - ...and also work with a handler override. # TODO Unsupported MediaWiki features. # Failed (TODO) test (t/embedded-links.t at line 36) # got: '
Desc of the
# ' # expected: 'Desc of the Link' ok t/explicit...............1..4 ok 1 - extended links rendered correctly with default delimiters ok 2 - ...and again when delimiter redefined to the same thing ok 3 - old-style extended links not recognised when delimiter overridden ok 4 - ...and new delimiters recognised ok t/implicit...............1..2 ok 1 - should create links from StudlyCaps if implicit_links is left alone ok 2 - ... but not if implicit_links set to 0 ok t/kake...................1..7 ok 1 - unindented code markers should still work ok 2 - first level of unordered list ok 3 - second level of unordered list ok 4 - definition list works ok 5 - headings work ok 6 - ... links work in headers ok 7 - ...headers may contain = ok t/lists-nested...........1..6 ok 1 - use Text::WikiFormat; ok 2 - nested lists should start correctly ok 3 - ... and end correctly ok 4 - nesting should be correct for multiple levels ok 5 - spaces should work instead of tabs ok 6 - nesting should be correct for spaces too ok t/lists-no-indent........1..7 ok 1 - unordered lists should render correctly ok 2 - ...ordered lists too ok 3 - unordered should remain okay when we redefine all list regexps ok 4 - ...ordered lists too ok 5 - unordered should still work when redefined ok 6 - ...ordered should be unaffected ok 7 - redefining a list type to require no indent should work ok t/lists..................1..5 ok 1 - use Text::WikiFormat; ok 2 - TWF should have a blockorder entry in %tags ok 3 - ... and we hope it isa ARRAY ok 4 - ... and code should come after ordered and unordered ok 5 - lists should be able to start on the first line of text ok t/merge-hash.............1..6 ok 1 - use Text::WikiFormat; ok 2 - merge should work when all keys in from exist in to ok 3 - merge should copy subhashes ok 4 - ... in flat case when keys exist in from but not in to ok 5 - ... in non-flat case when keys exist in but not in to ok 6 - ... and when value is zero but defined ok t/tag-override-use-as....1..2 ok 1 - redefining a list type works with use as ok 2 - redefining a list type to require no indent works with use as ok t/tag-override...........1..13 ok 1 - unordered lists should be rendered correctly ok 2 - ...and ordered lists too ok 3 - unordered should remain okay when we redefine all list regexps ok 4 - ... and so should ordered ok 5 - unordered should still work when redefined ok 6 - ...and ordered should be unaffected ok 7 - redefining just one list type should work for that type ok 8 - ...and should not affect other types too ok 9 - ... overriding strong tag ok 10 - ... overriding emphasized tag ok 11 - ... and both at once ok 12 - redefining a single list type after import should work for that type ok 13 - ...and also for a different type defined on import ok t/Wiki...................1..32 ok 1 - use Text::WikiFormat; ok 2 - %tags should be available from Text::WikiFormat ok 3 - format_line () should link StudlyCaps where found) ok 4 - three ticks should mark strong ok 5 - two ticks should mark emphasized ok 6 - should catch StudlyCaps ok 7 - should not handle extended links without flag ok 8 - should handle extended links with flag ok 9 - three ticks should mark strong ok 10 - two ticks should mark emphasized ok 11 - ... default ordered entry should have three items ok 12 - ... and should have subref ok 13 - ... should start new text with paragraph ok 14 - ... should use correct tags when ending lists ok 15 - ... should add no newline before paragraph, but at newline in paragraph ok 16 - ... should add no newline at end of paragraph ok 17 - ... should treat code sections literally ok 18 - ... but should not create empty lists ok 19 - ... should escape spaces in extended links ok 20 - ... should leave spaces alone in titles of extended links ok 21 - headings should be marked ok 22 - ... and numbered appropriately ok 23 - Module should import nothing by default ok 24 - Text::WikiFormat->can('import') ok 25 - Foo->can('wikiformat') ok 26 - Bar->can('wf') ok 27 - ... and should be a wrapper around format() ok 28 - imported sub should pass through default option ok 29 - ... and default tag ok 30 - ... passing through text unharmed ok 31 - ... along with new tags ok 32 - ... overriding default args as needed ok All tests successful. Files=14, Tests=141, 5 wallclock secs ( 0.00 cusr + 0.00 csys = 0.00 CPU)