do {
tryAgain = false;
jmxPort = Utils.getFreePort();
output = runVM(); try {
output.shouldNotContain("Port already in use");
} catch (RuntimeException e) { if (retries < 3) {
retries++;
tryAgain = true;
}
}
} while (tryAgain);
output.shouldHaveExitValue(0); // java.lang.Exception is thrown by JdpTestCase if something goes wrong // for instance - see JdpTestCase::shutdown()
output.shouldNotContain("java.lang.Exception:");
output.shouldNotContain("Error: Could not find or load main class");
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.