public void assertOutputHasNoDeprecationWarnings(ExecutionResult result) {
   assertNoDeprecationWarnings(result.getOutput(), "Standard output");
   assertNoDeprecationWarnings(result.getError(), "Standard error");
 }
Exemplo n.º 2
0
 public void testOuptut() throws IOException {
   ExecutionResult res;
   res = executor.exec(true, false, scriptDir.getPath("test.sh"));
   assertEquals("test.sh\n", res.getOutput());
 }
 private void assertOutputHasNoStackTraces(ExecutionResult result) {
   assertNoStackTraces(result.getOutput(), "Standard output");
 }