< prev index next >
test/jdk/modules/scenarios/container/ContainerTest.java
Print this page
*** 33,42 ****
--- 33,43 ----
*/
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
+ import java.util.Arrays;
import static jdk.testlibrary.ProcessTools.*;
import org.testng.annotations.BeforeTest;
import org.testng.annotations.Test;
*** 132,145 ****
* Launches the container
*/
public void testContainer() throws Exception {
int exitValue
! = executeTestJava("-mp", MLIB_DIR.toString(),
! "-m", CONTAINER_MODULE)
! .outputTo(System.out)
! .errorTo(System.err)
.getExitValue();
assertTrue(exitValue == 0);
}
--- 133,144 ----
* Launches the container
*/
public void testContainer() throws Exception {
int exitValue
! = executeModularTest(CONTAINER_MODULE, null, null, null,
! Arrays.asList(MLIB_DIR), null)
.getExitValue();
assertTrue(exitValue == 0);
}
< prev index next >