Ejemplo n.º 1
0
 public void testEmpty() {
   Graph g = getGraph();
   assertTrue(g.isEmpty());
   graphAdd(g, "x rdf:type rdf:Statement");
   assertFalse(g.isEmpty());
   graphAdd(g, "x rdf:subject Deconstruction");
   assertFalse(g.isEmpty());
   graphAdd(g, "x rdf:predicate rdfs:subTypeOf");
   assertFalse(g.isEmpty());
   graphAdd(g, "x rdf:object LiteraryCriticism");
   assertFalse(g.isEmpty());
 }
Ejemplo n.º 2
0
 @Override
 public boolean isEmpty() {
   return base.isEmpty();
 }