summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0408.json
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0408.json')
-rw-r--r--www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0408.json45
1 files changed, 45 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0408.json b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0408.json
new file mode 100644
index 00000000..a39f1e03
--- /dev/null
+++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/p-0408.json
@@ -0,0 +1,45 @@
+{
+ "description": "Test in-text annotation for multiple property assignment using non-strict parser mode (#1252, en)",
+ "setup": [
+ {
+ "page": "Example/P0408/1",
+ "contents": "[[Testproperty1::Testproperty2::200]]"
+ }
+ ],
+ "tests": [
+ {
+ "type": "parser",
+ "about": "#0 disabled strict mode allows for multi property assignment",
+ "subject": "Example/P0408/1",
+ "assert-store": {
+ "semantic-data": {
+ "strictPropertyValueMatch": false,
+ "propertyCount": 4,
+ "propertyKeys": [
+ "Testproperty1",
+ "Testproperty2",
+ "_SKEY",
+ "_MDAT"
+ ],
+ "propertyValues": [
+ "200"
+ ]
+ }
+ }
+ }
+ ],
+ "settings": {
+ "wgContLang": "en",
+ "smwgPageSpecialProperties": [
+ "_MDAT"
+ ],
+ "smwgParserFeatures": [
+ "SMW_PARSER_NONE"
+ ]
+ },
+ "meta": {
+ "version": "2",
+ "is-incomplete": false,
+ "debug": false
+ }
+} \ No newline at end of file