# HG changeset patch # User Paul Boddie # Date 1531732294 -7200 # Node ID 812c7cf49e7ed7b4762d19e08731720ec2a404ca # Parent 284fbf877333bfb02f5b6cc9831c2e02e6ac99c4 Renamed test input files to have meaningful names. diff -r 284fbf877333 -r 812c7cf49e7e tests/test1.txt --- a/tests/test1.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -Hello -{{{{#!wiki -A region - {{{ -Another -}}} -End -}}}} -XXX diff -r 284fbf877333 -r 812c7cf49e7e tests/test10.txt --- a/tests/test10.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -= Level 1 = -Text - == Level 2 Heading == -Text -Not == a heading == -== Not a heading == either -= Mismatched heading == -== Another mismatched heading = -=== Heading __Underlined__ === diff -r 284fbf877333 -r 812c7cf49e7e tests/test11.txt --- a/tests/test11.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,17 +0,0 @@ -''Some'' emphasised text. ''Emphasised''''text''. - -'''Strong ''and italic'' text.''' - -''Italic and '''strong'''''. '''''Both'', strong'''. '''''Both''', italic''. - -'''Strong''''''text'''. - -Some `monospace` text. `Mono, '''strong'''`, __underlined__, __''under''lined__. - -H,,2,,O + CO,,2,, - -== e = mc^2^ == - -~+Larger...+~ and ~-smaller-~ - -Some --(deleted)-- text. diff -r 284fbf877333 -r 812c7cf49e7e tests/test12.txt --- a/tests/test12.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,10 +0,0 @@ -||<20%|2-2)^> Cell 1 || Cell 2 || -|| '''Cell 3''' ||<#FF0000 width="15%"> ''Cell 4'' || - -|| Not a table - || Also not a table -|| Almost a table || ... -|| A table, trailing space || - -||<20%%name="value"> Bad separator || -||<20%xx-2> Strange attributes || diff -r 284fbf877333 -r 812c7cf49e7e tests/test13.txt --- a/tests/test13.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -Wiki format - -{{{#!table -'''Cell 1''' || Cell 2 -== -Cell 3 || Cell 4 -}}} - -Wiki format again diff -r 284fbf877333 -r 812c7cf49e7e tests/test2.txt --- a/tests/test2.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -XXX - * Item 1 - * Item 1.1 - * Item 2 - . Item 3 - . Item 3.1 - . Item 3.1.1 - * Item A -XXX - * Boring - * Flat - * List -XXX diff -r 284fbf877333 -r 812c7cf49e7e tests/test3.txt --- a/tests/test3.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,24 +0,0 @@ -XXX - a. Appendix - - i. Romanus eunt domus! - I. What did they do for us? - I. {{{Did for us}}} - 1. {{{ -Doing ''for'' us}}} - 1. {{{#!python -motto = "Romanus eunt domus!" -}}} - a.#18 The Romans. - - 1. Starting from one - 1. Two - 1.#3 Three? - 1. Four? - 1. Three - 1.#10 New list at ten - - I.#100 Century - I. Century plus one - -The end! diff -r 284fbf877333 -r 812c7cf49e7e tests/test4.txt --- a/tests/test4.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,5 +0,0 @@ - term:: item -not a term:: nor an item - term:: - :: item - ::non-item diff -r 284fbf877333 -r 812c7cf49e7e tests/test5.txt --- a/tests/test5.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,9 +0,0 @@ -Hello -{{{{#!xxx -A region -{{{ -Another -}}} -End -}}}} -XXX diff -r 284fbf877333 -r 812c7cf49e7e tests/test6.txt --- a/tests/test6.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,7 +0,0 @@ -Hello -{{{{ -Start -}}} -Still in region -}}}} -End diff -r 284fbf877333 -r 812c7cf49e7e tests/test7.txt --- a/tests/test7.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -Hello {{{world}}} again diff -r 284fbf877333 -r 812c7cf49e7e tests/test8.txt --- a/tests/test8.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,3 +0,0 @@ -XXX - -YYY diff -r 284fbf877333 -r 812c7cf49e7e tests/test9.txt --- a/tests/test9.txt Mon Jul 16 11:05:35 2018 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,6 +0,0 @@ -XXX ----- -YYY - ----still a rule -also still a rule---- -EOF diff -r 284fbf877333 -r 812c7cf49e7e tests/test_deflists.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_deflists.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,5 @@ + term:: item +not a term:: nor an item + term:: + :: item + ::non-item diff -r 284fbf877333 -r 812c7cf49e7e tests/test_formatting.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_formatting.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,17 @@ +''Some'' emphasised text. ''Emphasised''''text''. + +'''Strong ''and italic'' text.''' + +''Italic and '''strong'''''. '''''Both'', strong'''. '''''Both''', italic''. + +'''Strong''''''text'''. + +Some `monospace` text. `Mono, '''strong'''`, __underlined__, __''under''lined__. + +H,,2,,O + CO,,2,, + +== e = mc^2^ == + +~+Larger...+~ and ~-smaller-~ + +Some --(deleted)-- text. diff -r 284fbf877333 -r 812c7cf49e7e tests/test_headings.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_headings.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,9 @@ += Level 1 = +Text + == Level 2 Heading == +Text +Not == a heading == +== Not a heading == either += Mismatched heading == +== Another mismatched heading = +=== Heading __Underlined__ === diff -r 284fbf877333 -r 812c7cf49e7e tests/test_lists.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_lists.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,13 @@ +XXX + * Item 1 + * Item 1.1 + * Item 2 + . Item 3 + . Item 3.1 + . Item 3.1.1 + * Item A +XXX + * Boring + * Flat + * List +XXX diff -r 284fbf877333 -r 812c7cf49e7e tests/test_lists2.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_lists2.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,24 @@ +XXX + a. Appendix + + i. Romanus eunt domus! + I. What did they do for us? + I. {{{Did for us}}} + 1. {{{ +Doing ''for'' us}}} + 1. {{{#!python +motto = "Romanus eunt domus!" +}}} + a.#18 The Romans. + + 1. Starting from one + 1. Two + 1.#3 Three? + 1. Four? + 1. Three + 1.#10 New list at ten + + I.#100 Century + I. Century plus one + +The end! diff -r 284fbf877333 -r 812c7cf49e7e tests/test_paragraphs.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_paragraphs.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,3 @@ +XXX + +YYY diff -r 284fbf877333 -r 812c7cf49e7e tests/test_region_endings.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_region_endings.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,7 @@ +Hello +{{{{ +Start +}}} +Still in region +}}}} +End diff -r 284fbf877333 -r 812c7cf49e7e tests/test_regions.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_regions.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,9 @@ +Hello +{{{{#!wiki +A region + {{{ +Another +}}} +End +}}}} +XXX diff -r 284fbf877333 -r 812c7cf49e7e tests/test_regions_inline.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_regions_inline.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,1 @@ +Hello {{{world}}} again diff -r 284fbf877333 -r 812c7cf49e7e tests/test_regions_opaque.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_regions_opaque.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,9 @@ +Hello +{{{{#!xxx +A region +{{{ +Another +}}} +End +}}}} +XXX diff -r 284fbf877333 -r 812c7cf49e7e tests/test_rules.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_rules.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,6 @@ +XXX +---- +YYY + ----still a rule +also still a rule---- +EOF diff -r 284fbf877333 -r 812c7cf49e7e tests/test_table_parser.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_table_parser.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,9 @@ +Wiki format + +{{{#!table +'''Cell 1''' || Cell 2 +== +Cell 3 || Cell 4 +}}} + +Wiki format again diff -r 284fbf877333 -r 812c7cf49e7e tests/test_tables.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tests/test_tables.txt Mon Jul 16 11:11:34 2018 +0200 @@ -0,0 +1,10 @@ +||<20%|2-2)^> Cell 1 || Cell 2 || +|| '''Cell 3''' ||<#FF0000 width="15%"> ''Cell 4'' || + +|| Not a table + || Also not a table +|| Almost a table || ... +|| A table, trailing space || + +||<20%%name="value"> Bad separator || +||<20%xx-2> Strange attributes ||