Fork of https://github.com/oxigraph/oxigraph.git for the purpose of NextGraph project
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
53 lines
1.2 KiB
53 lines
1.2 KiB
#![cfg(test)]
|
|
|
|
use anyhow::Result;
|
|
use oxigraph_testsuite::check_testsuite;
|
|
|
|
#[cfg(not(windows))] // Tests don't like git auto "\r\n" on Windows
|
|
#[test]
|
|
fn oxigraph_parser_testsuite() -> Result<()> {
|
|
check_testsuite(
|
|
"https://github.com/oxigraph/oxigraph/tests/parser/manifest.ttl",
|
|
&[],
|
|
)
|
|
}
|
|
|
|
#[test]
|
|
fn oxigraph_parser_recovery_testsuite() -> Result<()> {
|
|
check_testsuite(
|
|
"https://github.com/oxigraph/oxigraph/tests/parser-recovery/manifest.ttl",
|
|
&[],
|
|
)
|
|
}
|
|
|
|
#[test]
|
|
fn oxigraph_parser_error_testsuite() -> Result<()> {
|
|
check_testsuite(
|
|
"https://github.com/oxigraph/oxigraph/tests/parser-error/manifest.ttl",
|
|
&[],
|
|
)
|
|
}
|
|
|
|
#[test]
|
|
fn oxigraph_sparql_testsuite() -> Result<()> {
|
|
check_testsuite(
|
|
"https://github.com/oxigraph/oxigraph/tests/sparql/manifest.ttl",
|
|
&[],
|
|
)
|
|
}
|
|
|
|
#[test]
|
|
fn oxigraph_sparql_results_testsuite() -> Result<()> {
|
|
check_testsuite(
|
|
"https://github.com/oxigraph/oxigraph/tests/sparql-results/manifest.ttl",
|
|
&[],
|
|
)
|
|
}
|
|
|
|
#[test]
|
|
fn oxigraph_optimizer_testsuite() -> Result<()> {
|
|
check_testsuite(
|
|
"https://github.com/oxigraph/oxigraph/tests/sparql-optimization/manifest.ttl",
|
|
&[],
|
|
)
|
|
}
|
|
|