Search in sources :

Example 1 with TestTerminal

use of io.confluent.ksql.TestTerminal in project ksql by confluentinc.

the class CliTest method setUp.

@Before
public void setUp() {
    streamName = KsqlIdentifierTestUtil.uniqueIdentifierName();
    tableName = KsqlIdentifierTestUtil.uniqueIdentifierName();
    terminal = new TestTerminal(lineSupplier);
    rowCaptor = new TestRowCaptor();
    console = new Console(CLI_OUTPUT_FORMAT, terminal, rowCaptor);
    localCli = new Cli(STREAMED_QUERY_ROW_LIMIT, STREAMED_QUERY_TIMEOUT_MS, restClient, console);
}
Also used : TestTerminal(io.confluent.ksql.TestTerminal) Console(io.confluent.ksql.cli.console.Console) Before(org.junit.Before)

Aggregations

TestTerminal (io.confluent.ksql.TestTerminal)1 Console (io.confluent.ksql.cli.console.Console)1 Before (org.junit.Before)1