@Test public void nonInteractiveHasNoHistory() throws Exception { NonInteractiveShellRunner runner = new NonInteractiveShellRunner( FailBehavior.FAIL_AT_END, cmdExecuter, logger, statementParser, new ByteArrayInputStream("".getBytes())); assertEquals(Historian.empty, runner.getHistorian()); }
@Nonnull @Override public Historian getHistorian() { return Historian.empty; }
NonInteractiveShellRunner implements ShellRunner { @Nonnull @Override public Historian getHistorian() { return Historian.empty; } }
NonInteractiveShellRunner implements ShellRunner { @Nonnull @Override public Historian getHistorian() { return Historian.empty; } NonInteractiveShellRunner(@Nonnull FailBehavior failBehavior,
                                     @Nonnull StatementExecuter executer,
                                     @Nonnull Logger logger,
                                     @Nonnull StatementParser statementParser,
                                     @Nonnull InputStream inputStream); }
NonInteractiveShellRunner implements ShellRunner { @Nonnull @Override public Historian getHistorian() { return Historian.empty; } NonInteractiveShellRunner(@Nonnull FailBehavior failBehavior,
                                     @Nonnull StatementExecuter executer,
                                     @Nonnull Logger logger,
                                     @Nonnull StatementParser statementParser,
                                     @Nonnull InputStream inputStream); @Override int runUntilEnd(); @Nonnull @Override Historian getHistorian(); }
NonInteractiveShellRunner implements ShellRunner { @Nonnull @Override public Historian getHistorian() { return Historian.empty; } NonInteractiveShellRunner(@Nonnull FailBehavior failBehavior,
                                     @Nonnull StatementExecuter executer,
                                     @Nonnull Logger logger,
                                     @Nonnull StatementParser statementParser,
                                     @Nonnull InputStream inputStream); @Override int runUntilEnd(); @Nonnull @Override Historian getHistorian();  }