Method Summary |
|
protected static void | abort(int exitCode) Aborts current process with the specified code. |
protected static void | abort() Aborts current process. |
protected static boolean | checkProxy() Checks if proxy is available. |
protected static boolean | checkProxy(String testName) Checks if proxy is available.
Parameters: testName - Test name (for diagnostics purposes). |
protected static boolean | checkSocket(String host, int port, int timeout) Checks if the specified socket/port is available.
Parameters: host - Host to check. Parameters: port - Port to check. Parameters: timeout - Time (in milliseconds) to wait for response. |
protected static void | printArray(Object[] array) Prints the specified array to standard output. |
protected static void | setEnvironment(boolean disableHttp, boolean eagerHttpFallback, boolean disableDirectSocket, boolean enableDirectHTTP, boolean disablePlainHTTP, boolean useProxy, long connectionTimeout, boolean logging) Sets environment to system properties. |
protected static void | setEnvironmentForConfig(int config) Sets environment for direct socket connections. |
protected static SubProcess | startProcess(String className, String id, int config, boolean endorsed) Starts process in a separate JVM.
Parameters: className - Name of the class to run in process created. Parameters: id - Identifier of function to run (class specific). Parameters: config - Number of the configuration to run. Parameters: endorsed - If endorsedDirs and bootClassPath should be propagated. |
protected void | unexportObjects() Unexports exported objects. |