Search in sources :

Example 1 with JavaTestableGraph

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();
}
Also used : TupleCollection(com.ibm.streamsx.topology.internal.tester.TupleCollection) JavaTestableGraph(com.ibm.streams.flow.javaprimitives.JavaTestableGraph)

Aggregations

JavaTestableGraph (com.ibm.streams.flow.javaprimitives.JavaTestableGraph)1 TupleCollection (com.ibm.streamsx.topology.internal.tester.TupleCollection)1