public void test_add_emptyLiteral() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("") // }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_abc() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("abc") // }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_emptyLiteral() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("") // }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_abc() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("abc") // }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_abc() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("abc") // }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_emptyLiteral() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("") // }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
/** * Note: Blank nodes are NOT included in this test since the test helper is * not smart enough to verify the blank nodes will not be unified when using * standard bnode semantics. However, {@link TestBlobsIndex} does verify * both standard and told bnode semantics. */ public void test_add_various_standardBNodes() { /* The values that we will be testing with. */ final Value[] valuesIn = new Value[] {// new LiteralImpl("abc"), // RDF.TYPE,// RDF.PROPERTY,// new LiteralImpl("test"),// new LiteralImpl("test", "en"),// new LiteralImpl("10", new URIImpl("http://www.w3.org/2001/XMLSchema#int")), new LiteralImpl("12", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.0", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.00", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), // new BNodeImpl("a"),// // new BNodeImpl("12"),// }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
/** * Note: Blank nodes are NOT included in this test since the test helper is * not smart enough to verify the blank nodes will not be unified when using * standard bnode semantics. However, {@link TestBlobsIndex} does verify * both standard and told bnode semantics. */ public void test_add_various_standardBNodes() { /* The values that we will be testing with. */ final Value[] valuesIn = new Value[] {// new LiteralImpl("abc"), // RDF.TYPE,// RDF.PROPERTY,// new LiteralImpl("test"),// new LiteralImpl("test", "en"),// new LiteralImpl("10", new URIImpl("http://www.w3.org/2001/XMLSchema#int")), new LiteralImpl("12", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.0", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.00", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), // new BNodeImpl("a"),// // new BNodeImpl("12"),// }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_various_toldBNodes() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("abc"), // RDF.TYPE,// RDF.PROPERTY,// new LiteralImpl("test"),// new LiteralImpl("test", "en"),// new LiteralImpl("10", new URIImpl("http://www.w3.org/2001/XMLSchema#int")), new LiteralImpl("12", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.0", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.00", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new BNodeImpl("a"),// new BNodeImpl("12"),// }; doAddTermsTest(valuesIn, true/* toldBNodes */); }
public void test_add_various_toldBNodes() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("abc"), // RDF.TYPE,// RDF.PROPERTY,// new LiteralImpl("test"),// new LiteralImpl("test", "en"),// new LiteralImpl("10", new URIImpl("http://www.w3.org/2001/XMLSchema#int")), new LiteralImpl("12", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.0", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.00", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new BNodeImpl("a"),// new BNodeImpl("12"),// }; doAddTermsTest(valuesIn, true/* toldBNodes */); }
/** * Note: Blank nodes are NOT included in this test since the test helper is * not smart enough to verify the blank nodes will not be unified when using * standard bnode semantics. However, {@link TestBlobsIndex} does verify * both standard and told bnode semantics. */ public void test_add_various_standardBNodes() { /* The values that we will be testing with. */ final Value[] valuesIn = new Value[] {// new LiteralImpl("abc"), // RDF.TYPE,// RDF.PROPERTY,// new LiteralImpl("test"),// new LiteralImpl("test", "en"),// new LiteralImpl("10", new URIImpl("http://www.w3.org/2001/XMLSchema#int")), new LiteralImpl("12", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.0", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.00", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), // new BNodeImpl("a"),// // new BNodeImpl("12"),// }; doAddTermsTest(valuesIn, false/* toldBNodes */); }
public void test_add_various_toldBNodes() { // The values that we will be testing with. final Value[] valuesIn = new Value[] {// new LiteralImpl("abc"), // RDF.TYPE,// RDF.PROPERTY,// new LiteralImpl("test"),// new LiteralImpl("test", "en"),// new LiteralImpl("10", new URIImpl("http://www.w3.org/2001/XMLSchema#int")), new LiteralImpl("12", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.0", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new LiteralImpl("12.00", new URIImpl("http://www.w3.org/2001/XMLSchema#float")), new BNodeImpl("a"),// new BNodeImpl("12"),// }; doAddTermsTest(valuesIn, true/* toldBNodes */); }