use of com.ibm.streams.flow.javaprimitives.JavaTestableGraph in project streamsx.topology by IBMStreams.
the class EmbeddedTester method submit.
@Override
public Future<JavaTestableGraph> submit(Topology app, Map<String, Object> config) throws Exception {
app.builder().checkSupportsEmbeddedMode();
SubmissionParameterManager.initializeEmbedded(app.builder(), config);
JavaTestableGraph tg = jot.executable(app.graph());
TupleCollection tester = (TupleCollection) app.getTester();
tester.setupEmbeddedTestHandlers(tg);
return tg.execute();
}
Aggregations