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);
}
Aggregations