public void test10000() throws Exception { populate(10000); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void setUp() throws Exception { repo = newRepository(); repo.initialize(); con = repo.getConnection(); }
protected SailRepository newRepository() throws RepositoryException { if (true) { final Properties props = getProperties(); // if (cannotInlineTests.contains(testURI)){ // // The test can not be run using XSD inlining. // props.setProperty(Options.INLINE_XSD_DATATYPE_LITERALS, "false"); // props.setProperty(Options.INLINE_DATE_TIMES, "false"); // } // // if(unicodeStrengthIdentical.contains(testURI)) { // // Force identical Unicode comparisons. // props.setProperty(Options.COLLATOR, CollatorEnum.JDK.toString()); // props.setProperty(Options.STRENGTH, StrengthEnum.Identical.toString()); // } final BigdataSail sail = new BigdataSail(props); return new BigdataSailRepository(sail); } else { /* * Run against openrdf. */ SailRepository repo = new SailRepository(new MemoryStore()); return repo; } }
protected SailRepository newRepository() throws RepositoryException { if (true) { final Properties props = getProperties(); // if (cannotInlineTests.contains(testURI)){ // // The test can not be run using XSD inlining. // props.setProperty(Options.INLINE_XSD_DATATYPE_LITERALS, "false"); // props.setProperty(Options.INLINE_DATE_TIMES, "false"); // } // // if(unicodeStrengthIdentical.contains(testURI)) { // // Force identical Unicode comparisons. // props.setProperty(Options.COLLATOR, CollatorEnum.JDK.toString()); // props.setProperty(Options.STRENGTH, StrengthEnum.Identical.toString()); // } final BigdataSail sail = new BigdataSail(props); return new BigdataSailRepository(sail); } else { /* * Run against openrdf. */ SailRepository repo = new SailRepository(new MemoryStore()); return repo; } }
public void test10() throws Exception { populate(10); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void setUp() throws Exception { repo = newRepository(); repo.initialize(); con = repo.getConnection(); }
public void test100() throws Exception { populate(100); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test1000() throws Exception { populate(1000); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test100000() throws Exception { populate(100000); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test1000() throws Exception { populate(1000); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test100000() throws Exception { populate(100000); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test10() throws Exception { populate(10); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test100() throws Exception { populate(100); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }
public void test10000() throws Exception { populate(10000); String sparql = "ASK { <urn:test:root> <urn:test:hasChild>* <urn:test:node-end> }"; assertTrue(con.prepareBooleanQuery(QueryLanguage.SPARQL, sparql).evaluate()); }