From 08aa4418c30cfc18ccc69a0f0f9cb9e17be6c196 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Mon, 12 Aug 2013 09:28:15 +0200 Subject: Update to MediaWiki 1.21.1 --- extensions/Poem/poemParserTests.txt | 142 ++++++++++++++++++++++++++++++++++++ 1 file changed, 142 insertions(+) create mode 100644 extensions/Poem/poemParserTests.txt (limited to 'extensions/Poem/poemParserTests.txt') diff --git a/extensions/Poem/poemParserTests.txt b/extensions/Poem/poemParserTests.txt new file mode 100644 index 00000000..266dd614 --- /dev/null +++ b/extensions/Poem/poemParserTests.txt @@ -0,0 +1,142 @@ +# Force the test runner to ensure the extension is loaded +!! hooks +poem +!! endhooks + +#Regression tests for existing functionality, to ensure nothing was broken. +!! test + +!! input + +this +is +a +test + +!! result +
+

this
+is
+a
+test +

+
+ +!! end + +!!test + with recursive parsing +!!input + +this ''is'' a '''test''' + +!! result +
+

this is a test +

+
+ +!!end + + +!!test + with leading whitespace +!!input + + + test + + +!! result +
+


+   test
+

+
+ +!!end + +!!test +Horizontal rule +!!input + +some +----- +text + +!!result +
+

some
+

+

+

text +

+
+ +!!end + +#test for new poem/nowiki feature; should fail without new enhancement. +!! test 2 +example of without +!!options +disabled +!! input + +this +is +a +test + +!! result +

+this +is +a +test + +

+!! end + +!! test + nested +!! input + +this +is +a +test + +!! result +
+


+this
+is
+a
+test
+ +

+
+ +!!end + +!! test 5 + nested with formatting +!! input + +this +'''is''' +a +test + +!! result +
+


+this
+'''is'''
+a
+test
+ +

+
+ +!! end -- cgit v1.2.3-54-g00ecf