use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Basic method testNotItem.
private void testNotItem(String str, Item result) {
Item item = parse(str);
assertFalse(result.equals(item));
}
use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestSSE_Basic method testNotEquals.
private void testNotEquals(String x1, String x2) {
Item item1 = parse(x1);
Item item2 = parse(x2);
assertFalse(item1.equals(item2));
assertFalse(item2.equals(item1));
}
use of org.apache.jena.sparql.sse.Item in project jena by apache.
the class TestResultSetFormat1 method make.
static ResultSet make(String... strings) {
if (strings.length == 0)
throw new IllegalArgumentException();
String x = StrUtils.strjoinNL(strings);
Item item = SSE.parse(x);
return ResultSetFactory.makeRewindable(BuilderResultSet.build(item));
}
Aggregations