Improves halloween problem test

pull/190/head
Tpt 3 years ago
parent 045fb8cbf6
commit 54c6652ea5
  1. 3
      testsuite/oxigraph-tests/sparql/halloween_problem.ru
  2. 5
      testsuite/oxigraph-tests/sparql/halloween_problem_result.ttl
  3. 10
      testsuite/oxigraph-tests/sparql/manifest.ttl
  4. 3
      testsuite/oxigraph-tests/sparql/update_dirty_read.ru
  5. 3
      testsuite/oxigraph-tests/sparql/update_dirty_read_result.ttl

@ -0,0 +1,3 @@
PREFIX ex: <http://example.com/>
INSERT DATA { ex:s ex:salary 1200 . ex:s2 ex:salary 1250 . ex:boss ex:salary 1600 . };
DELETE { ?s ex:salary ?o } INSERT { ?s ex:salary ?v } WHERE { ?s ex:salary ?o FILTER(?o < 1500) BIND(?o + 100 AS ?v) }

@ -0,0 +1,5 @@
@prefix ex: <http://example.com/> .
ex:s ex:salary 1300 .
ex:s2 ex:salary 1350 .
ex:boss ex:salary 1600 .

@ -22,7 +22,7 @@
:values_in_filter_not_exists
:subquery_in_filter_not_exists
:cmp_langString
:update_dirtyRead
:halloween_problem
:nested_path
:nested_expression
) .
@ -96,10 +96,10 @@
mf:action [ qt:query <cmp_langString.rq> ] ;
mf:result <cmp_langString.srx> .
:update_dirty_read rdf:type mf:UpdateEvaluationTest ;
mf:name "An update operation should not be able to read its own writes" ;
mf:action [ ut:request <update_dirtyRead.ru> ] ;
mf:result [ ut:data <update_dirty_read_result.ttl> ] .
:halloween_problem rdf:type mf:UpdateEvaluationTest ;
mf:name "Halloween Problem: An update operation should not be able to read its own writes" ;
mf:action [ ut:request <halloween_problem.ru> ] ;
mf:result [ ut:data <halloween_problem_result.ttl> ] .
:nested_path rdf:type mf:PositiveSyntaxTest11 ;
mf:name "A very nested property path" ;

@ -1,3 +0,0 @@
PREFIX ex: <http://example.com/>
INSERT DATA { ex:s ex:p 1 . ex:s ex:p 5 };
INSERT { ex:s ex:p ?v } WHERE { VALUES ?o { 1 2 5 6 } FILTER EXISTS { ?s ex:p ?o } BIND(?o + 1 AS ?v) }

@ -1,3 +0,0 @@
@prefix ex: <http://example.com/> .
ex:s ex:p 1 , 2 , 5 , 6 .
Loading…
Cancel
Save