@Override protected int countQueryResults(String query) throws Exception { query = "PREFIX ex: <http://example.org/> PREFIX rdf: <"+RDF.NAMESPACE+"> PREFIX rdfs: <"+RDFS.NAMESPACE+"> " + query; return countElements(evaluate(query, con)); }
public SPARQLQueryTest createSPARQLQueryTest(String URI, String name, String query, String results, Dataset dataSet, boolean laxCardinality, boolean checkOrder) { return new BigdataFederationSparqlTest(URI, name, query, results, dataSet, laxCardinality, checkOrder); } };
@Override public SPARQLQueryTest createSPARQLQueryTest(String testURI, String name, String queryFileURL, String resultFileURL, Dataset dataSet, boolean laxCardinality) { return createSPARQLQueryTest(testURI, name, queryFileURL, resultFileURL, dataSet, laxCardinality, true/* checkOrder */); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
@Override public SPARQLQueryTest createSPARQLQueryTest(String testURI, String name, String queryFileURL, String resultFileURL, Dataset dataSet, boolean laxCardinality) { return createSPARQLQueryTest(testURI, name, queryFileURL, resultFileURL, dataSet, laxCardinality, true/* checkOrder */); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
public SPARQLQueryTest createSPARQLQueryTest(String URI, String name, String query, String results, Dataset dataSet, boolean laxCardinality) { return createSPARQLQueryTest(URI, name, query, results, dataSet, laxCardinality, true/* checkOrder */); }
@Override public BigdataSPARQLUpdateConformanceTest createSPARQLUpdateConformanceTest( String testURI, String name, String requestFile, URI defaultGraphURI, Map<String, URI> inputNamedGraphs, URI resultDefaultGraphURI, Map<String, URI> resultNamedGraphs) { return new BigdataSPARQLUpdateConformanceTest(testURI, name, requestFile, defaultGraphURI, inputNamedGraphs, resultDefaultGraphURI, resultNamedGraphs); }
@Override protected Repository createRepository() throws Exception { Repository repo = newRepository(); repo.initialize(); return repo; }
public void setUp() throws Exception { repo = newRepository(); repo.initialize(); con = repo.getConnection(); }
@Override protected int countQueryResults(String query) throws Exception { query = "PREFIX ex: <http://example.org/> PREFIX rdf: <"+RDF.NAMESPACE+"> PREFIX rdfs: <"+RDFS.NAMESPACE+"> " + query; return countElements(evaluate(query, con)); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
public SPARQLQueryTest createSPARQLQueryTest(String URI, String name, String query, String results, Dataset dataSet, boolean laxCardinality, boolean checkOrder) { return new BigdataFederationSparqlTest(URI, name, query, results, dataSet, laxCardinality, checkOrder); } };
@Override public SPARQLQueryTest createSPARQLQueryTest(String testURI, String name, String queryFileURL, String resultFileURL, Dataset dataSet, boolean laxCardinality) { return createSPARQLQueryTest(testURI, name, queryFileURL, resultFileURL, dataSet, laxCardinality, true/* checkOrder */); }
@Override public SPARQLQueryTest createSPARQLQueryTest(String testURI, String name, String queryFileURL, String resultFileURL, Dataset dataSet, boolean laxCardinality) { return createSPARQLQueryTest(testURI, name, queryFileURL, resultFileURL, dataSet, laxCardinality, true/* checkOrder */); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
/** * Skip the dataset tests for now until we can figure out what is wrong with * them. * * FIXME Fix the dataset tests. There is some problem in how the data to be * loaded into the fixture is being resolved in these tests. */ public static Test suite() throws Exception { return suite(true /*hideDatasetTests*/); }
public SPARQLQueryTest createSPARQLQueryTest(String URI, String name, String query, String results, Dataset dataSet, boolean laxCardinality) { return createSPARQLQueryTest(URI, name, query, results, dataSet, laxCardinality, true/* checkOrder */); }
@Override public BigdataSPARQLUpdateConformanceTest createSPARQLUpdateConformanceTest( String testURI, String name, String requestFile, URI defaultGraphURI, Map<String, URI> inputNamedGraphs, URI resultDefaultGraphURI, Map<String, URI> resultNamedGraphs) { return new BigdataSPARQLUpdateConformanceTest(testURI, name, requestFile, defaultGraphURI, inputNamedGraphs, resultDefaultGraphURI, resultNamedGraphs); }