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
|
{
"description": "Test in-text annotation for `_boo` datatype (`wgContLang=ja`, `wgLang=ja`)",
"setup": [
{
"namespace": "SMW_NS_PROPERTY",
"page": "Has boolean",
"contents": "[[Has type::Boolean]]"
},
{
"page": "Example/P0412/1",
"contents": "[[Has boolean::真]]"
},
{
"page": "Example/P0412/2",
"contents": "{{#set:Has boolean=偽}}"
}
],
"tests": [
{
"type": "parser",
"about": "#0 true",
"subject": "Example/P0412/1",
"store": {
"clear-cache": true
},
"assert-store": {
"semantic-data": {
"strictPropertyValueMatch": false,
"propertyCount": 3,
"propertyKeys": [
"Has_boolean",
"_SKEY",
"_MDAT"
],
"propertyValues": [
true
]
}
}
},
{
"type": "parser",
"about": "#1 false",
"subject": "Example/P0412/2",
"store": {
"clear-cache": true
},
"assert-store": {
"semantic-data": {
"strictPropertyValueMatch": false,
"propertyCount": 3,
"propertyKeys": [
"Has_boolean",
"_SKEY",
"_MDAT"
],
"propertyValues": [
false
]
}
}
}
],
"settings": {
"wgContLang": "ja",
"wgLang": "ja",
"smwgPageSpecialProperties": [
"_MDAT"
]
},
"meta": {
"version": "2",
"is-incomplete": false,
"debug": false
}
}
|