Searched defs:expectedExitValue (Results 1 - 3 of 3) sorted by relevance

/openjdk7/jdk/test/java/lang/Runtime/exec/
H A DExitValue.java44 int expectedExitValue)
59 if ((val = proc.waitFor()) != expectedExitValue)
62 if ((val = proc.exitValue()) != expectedExitValue)
68 int expectedExitValue)
72 expectedExitValue);
43 checkExitValue(String[] commandArgs, int expectedExitValue) argument
67 checkPosixShellExitValue(String posixShellProgram, int expectedExitValue) argument
/openjdk7/hotspot/test/testlibrary/com/oracle/java/testlibrary/
H A DOutputAnalyzer.java246 * @param expectedExitValue Expected exit value from process
249 public void shouldHaveExitValue(int expectedExitValue) { argument
250 if (getExitValue() != expectedExitValue) {
251 throw new RuntimeException("Exit value " + getExitValue() + " , expected to get " + expectedExitValue);
/openjdk7/jdk/test/lib/testlibrary/jdk/testlibrary/
H A DOutputAnalyzer.java276 * @param expectedExitValue
282 public void shouldHaveExitValue(int expectedExitValue) { argument
283 if (getExitValue() != expectedExitValue) {
285 + " , expected to get " + expectedExitValue);

Completed in 38 milliseconds