summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0107.json
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0107.json')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0107.json145
1 files changed, 145 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0107.json b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0107.json
new file mode 100644
index 00000000..19b4411c
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0107.json
@@ -0,0 +1,145 @@
+{
+ "description": "Test #smwdoc parser output",
+ "setup": [
+ {
+ "page": "smwdoc-table",
+ "contents": "{{#smwdoc: table |parameters=base }}"
+ },
+ {
+ "page": "smwdoc-csv",
+ "contents": "{{#smwdoc: csv |parameters=all }}"
+ },
+ {
+ "page": "smwdoc-list",
+ "contents": "{{#smwdoc: list |parameters=all |language=de }}"
+ },
+ {
+ "page": "smwdoc-count",
+ "contents": "{{#smwdoc: count }}"
+ },
+ {
+ "page": "smwdoc-debug",
+ "contents": "{{#smwdoc: debug |parameters=specific |language=en }}"
+ }
+ ],
+ "tests": [
+ {
+ "type": "parser",
+ "about": "#0 (1.31-) (#1019)",
+ "skip-on": {
+ "mediawiki": [ ">1.30.x", "MediaWiki changed the HTML Tidy" ]
+ },
+ "subject": "smwdoc-table",
+ "assert-output": {
+ "to-contain": [
+ "<table class=\"wikitable sortable\">",
+ "</td></tr></table>"
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#0 (1.31+) (#1019)",
+ "skip-on": {
+ "mediawiki": [ "<1.30.x", "MediaWiki changed the HTML Tidy" ]
+ },
+ "subject": "smwdoc-table",
+ "assert-output": {
+ "to-contain": [
+ "<table class=\"wikitable sortable\">",
+ "</td></tr></tbody></table>"
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#1 (1.31-) (#1019)",
+ "skip-on": {
+ "mediawiki": [ ">1.30.x", "MediaWiki changed the HTML Tidy" ]
+ },
+ "subject": "smwdoc-csv",
+ "assert-output": {
+ "to-contain": [
+ "<table class=\"wikitable sortable\">",
+ "</td></tr></table>"
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#1 (1.31+) (#1019)",
+ "skip-on": {
+ "mediawiki": [ "<1.30.x", "MediaWiki changed the HTML Tidy" ]
+ },
+ "subject": "smwdoc-csv",
+ "assert-output": {
+ "to-contain": [
+ "<table class=\"wikitable sortable\">",
+ "</td></tr></tbody></table>"
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#2 (1.31-) (#1019)",
+ "skip-on": {
+ "mediawiki": [ ">1.30.x", "MediaWiki changed the HTML Tidy" ]
+ },
+ "subject": "smwdoc-list",
+ "assert-output": {
+ "to-contain": [
+ "</td>",
+ "<td>Legt fest, welche zusätzliche CSS-Klasse genutzt werden soll",
+ "</td></tr>",
+ "</td></tr></table>"
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#2 (1.31+) (#1019)",
+ "skip-on": {
+ "mediawiki": [ "<1.30.x", "MediaWiki changed the HTML Tidy" ]
+ },
+ "subject": "smwdoc-list",
+ "assert-output": {
+ "to-contain": [
+ "</td>",
+ "<td>Legt fest, welche zusätzliche CSS-Klasse genutzt werden soll",
+ "</td></tr>",
+ "</td></tr></tbody></table>"
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#3 (#3186)",
+ "subject": "smwdoc-count",
+ "assert-output": {
+ "to-contain": [
+ "This result format does not provide format specific parameters."
+ ]
+ }
+ },
+ {
+ "type": "parser",
+ "about": "#4 (#3186)",
+ "subject": "smwdoc-debug",
+ "assert-output": {
+ "to-contain": [
+ "This result format does not provide format specific parameters."
+ ]
+ }
+ }
+ ],
+ "settings": {
+ "wgContLang": "en",
+ "wgLanguageCode": "en",
+ "wgLang": "en"
+ },
+ "meta": {
+ "version": "2",
+ "is-incomplete": false,
+ "debug": false
+ }
+}