test/testlibrary/com/oracle/java/testlibrary/OutputAnalyzer.java

changeset 9948
ae4fc0906f45
parent 8455
c1377624d51e
child 10015
eb7ce841ccec
equal deleted inserted replaced
9947:db357034b763 9948:ae4fc0906f45
372 * - standard input produced by the process under test 372 * - standard input produced by the process under test
373 * - standard output 373 * - standard output
374 * - exit code 374 * - exit code
375 * Note: the command line is printed by the ProcessTools 375 * Note: the command line is printed by the ProcessTools
376 */ 376 */
377 private void reportDiagnosticSummary() { 377 public void reportDiagnosticSummary() {
378 String msg = 378 String msg =
379 " stdout: [" + stdout + "];\n" + 379 " stdout: [" + stdout + "];\n" +
380 " stderr: [" + stderr + "]\n" + 380 " stderr: [" + stderr + "]\n" +
381 " exitValue = " + getExitValue() + "\n"; 381 " exitValue = " + getExitValue() + "\n";
382 382
383 System.err.println(msg); 383 System.err.println(msg);
384 } 384 }
385 385
386 386
387 /** 387 /**
388 * Get the contents of the output buffer (stdout and stderr) 388 * Get the contents of the output buffer (stdout and stderr)
389 * 389 *

mercurial