1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
|
{
"description": "Test in-text annotation with invisible chars (`wgContLang=en`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has text",
"contents": "[[Has type::Text]]"
},
{
"page": "Example/P0450/1",
"contents": "[[Left-To-Right Mark::C++]] [[Left-To-Right Mark::C++]]"
},
{
"page": "Example/P0450/2",
"contents": "[[Right-To-Left Mark::באמת! -]] [[Right-To-Left Mark::באמת! -]]"
},
{
"page": "Example/P0450/3",
"contents": "[[Has text::no shyness]] [[Has text::visible shy­ness]] [[Has text::invisible shyness]]"
}
],
"tests": [
{
"type": "parser",
"about": "#0 Left-To-Right Mark chars",
"subject": "Example/P0450/1",
"assert-store": {
"semantic-data": {
"strictPropertyValueMatch": false,
"propertyCount": 3,
"propertyKeys": [
"_SKEY",
"_MDAT",
"Left-To-Right Mark"
],
"propertyValues": [
"C++"
]
}
}
},
{
"type": "parser",
"about": "#1 Right-To-Left Mark chars",
"subject": "Example/P0450/2",
"assert-store": {
"semantic-data": {
"strictPropertyValueMatch": false,
"propertyCount": 3,
"propertyKeys": [
"_SKEY",
"_MDAT",
"Right-To-Left Mark"
],
"propertyValues": [
"באמת! -"
]
}
}
},
{
"type": "parser",
"about": "#2 shy char",
"subject": "Example/P0450/3",
"assert-store": {
"semantic-data": {
"strictPropertyValueMatch": false,
"propertyCount": 3,
"propertyKeys": [
"_SKEY",
"_MDAT",
"Has text"
],
"propertyValues": [
"no shyness",
"visible shyness",
"invisible shyness"
]
}
}
}
],
"settings": {
"wgContLang": "en",
"smwgPageSpecialProperties": [
"_MDAT"
]
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|