public void ParsingChainedHandlerGraphAndNull() { EnsureTestData(); Graph g = new Graph(); GraphHandler handler1 = new GraphHandler(g); NullHandler handler2 = new NullHandler(); ChainedHandler handler = new ChainedHandler(new IRdfHandler[] { handler1, handler2 }); TurtleParser parser = new TurtleParser(); parser.Load(handler, "temp.ttl"); }
public void ParsingMultiHandlerGraphAndNull() { EnsureTestData(); Graph g = new Graph(); GraphHandler handler1 = new GraphHandler(g); NullHandler handler2 = new NullHandler(); MultiHandler handler = new MultiHandler(new IRdfHandler[] { handler1, handler2 }); TurtleParser parser = new TurtleParser(); parser.Load(handler, "multi_handler_tests_temp.ttl"); }
public void ParsingMultiHandlerGraphAndNull() { EnsureTestData(); Graph g = new Graph(); GraphHandler handler1 = new GraphHandler(g); NullHandler handler2 = new NullHandler(); MultiHandler handler = new MultiHandler(new IRdfHandler[] { handler1, handler2 }); TurtleParser parser = new TurtleParser(); parser.Load(handler, "temp.ttl"); }