diff options
Diffstat (limited to 'www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0203.json')
-rw-r--r-- | www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0203.json | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0203.json b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0203.json new file mode 100644 index 00000000..a046c4fb --- /dev/null +++ b/www/wiki/extensions/SemanticMediaWiki/tests/phpunit/Integration/JSONScript/TestCases/q-0203.json @@ -0,0 +1,71 @@ +{ + "description": "Test `_CONC` to use `CONCEPT_CACHE_ALL` (#1050, skip all SPARQL repository)", + "setup": [ + { + "namespace": "SMW_NS_PROPERTY", + "page": "Has description", + "contents": "[[Has type::Text]]" + }, + { + "page": "Page-one", + "contents": "[[Has description::Bar]] [[Category:Q0203]]" + }, + { + "page": "Page-two", + "contents": "[[Has description::Foo]] [[Category:Q0203]]" + }, + { + "namespace": "SMW_NS_CONCEPT", + "page": "Concept-for-any-description", + "contents": "{{#concept: [[Has description::+]] [[Category:Q0203]] }}" + } + ], + "tests": [ + { + "type": "query", + "about": "#0 any value with CONCEPT_CACHE_ALL set (wiki configuration requires the cache to be computed off-line)", + "condition": "[[Concept:Concept-for-any-description]]", + "printouts": [], + "parameters": { + "limit": "10" + }, + "assert-queryresult": { + "count": 0, + "error": 1 + } + }, + { + "type": "concept", + "about": "#1 Check cache", + "condition": "[[Concept:Concept-for-any-description]]", + "parameters": { + "limit": "10" + }, + "assert-queryresult": { + "count": 0, + "error": 1 + }, + "conceptcache": [ + { + "concept": "Concept-for-any-description", + "count": 2 + } + ] + } + ], + "settings": { + "smwgQConceptCaching": "CONCEPT_CACHE_ALL" + }, + "meta": { + "skip-on": { + "elastic": "CONCEPT_CACHE_ALL isn't implemented", + "virtuoso": "CONCEPT_CACHE_ALL isn't implemented", + "sesame": "CONCEPT_CACHE_ALL isn't implemented", + "fuseki": "CONCEPT_CACHE_ALL isn't implemented", + "blazegraph": "CONCEPT_CACHE_ALL isn't implemented" + }, + "version": "2", + "is-incomplete": false, + "debug": false + } +}
\ No newline at end of file |