Upgrades testsuite

pull/707/head
Tpt 12 months ago committed by Thomas Tanon
parent 5cc3e37876
commit 4c79e7ee78
  1. 2
      testsuite/N3
  2. 2
      testsuite/rdf-canon
  3. 2
      testsuite/rdf-tests
  4. 19
      testsuite/tests/parser.rs

@ -1 +1 @@
Subproject commit 73f4e00c15828f030749567f61cea2f5d7d9c59b Subproject commit 1425e33527f725262103a6640eadb242d80a9b22

@ -1 +1 @@
Subproject commit 0503facfaa0825686afc1f533f487816de54d9b7 Subproject commit eaf67e398b2358f9987c9550443c109d43ce89b1

@ -1 +1 @@
Subproject commit 59b0496b050e1c2397f22d94af0609d8324d95f7 Subproject commit 35fb5dd65b9d504770008a85b4ff577cc581fcee

@ -3,6 +3,8 @@
use anyhow::Result; use anyhow::Result;
use oxigraph_testsuite::check_testsuite; use oxigraph_testsuite::check_testsuite;
// TODO: add support of language directions
#[test] #[test]
fn rdf11_n_triples_w3c_testsuite() -> Result<()> { fn rdf11_n_triples_w3c_testsuite() -> Result<()> {
check_testsuite( check_testsuite(
@ -15,7 +17,10 @@ fn rdf11_n_triples_w3c_testsuite() -> Result<()> {
fn rdf12_n_triples_syntax_w3c_testsuite() -> Result<()> { fn rdf12_n_triples_syntax_w3c_testsuite() -> Result<()> {
check_testsuite( check_testsuite(
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/syntax/manifest.ttl", "https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/syntax/manifest.ttl",
&[], &[
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/syntax#ntriples-base-1",
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/syntax#ntriples-base-2",
],
) )
} }
@ -24,7 +29,7 @@ fn rdf12_n_triples_syntax_w3c_testsuite() -> Result<()> {
fn rdf12_n_triples_c14n_w3c_testsuite() -> Result<()> { fn rdf12_n_triples_c14n_w3c_testsuite() -> Result<()> {
check_testsuite( check_testsuite(
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/c14n/manifest.ttl", "https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/c14n/manifest.ttl",
&[], &["https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-n-triples/c14n#dirlangtagged_string"],
) )
} }
@ -49,7 +54,10 @@ fn rdf11_turtle_w3c_testsuite() -> Result<()> {
fn rdf12_turtle_syntax_w3c_testsuite() -> Result<()> { fn rdf12_turtle_syntax_w3c_testsuite() -> Result<()> {
check_testsuite( check_testsuite(
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-turtle/syntax/manifest.ttl", "https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-turtle/syntax/manifest.ttl",
&[], &[
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-turtle/syntax#nt-ttl-base-1",
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-turtle/syntax#nt-ttl-base-2",
],
) )
} }
@ -74,7 +82,10 @@ fn rdf11_trig_w3c_testsuite() -> Result<()> {
fn rdf12_trig_syntax_w3c_testsuite() -> Result<()> { fn rdf12_trig_syntax_w3c_testsuite() -> Result<()> {
check_testsuite( check_testsuite(
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-trig/syntax/manifest.ttl", "https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-trig/syntax/manifest.ttl",
&[], &[
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-trig/syntax#trig-base-1",
"https://w3c.github.io/rdf-tests/rdf/rdf12/rdf-trig/syntax#trig-base-2",
],
) )
} }

Loading…
Cancel
Save