< prev index next >

test/jdk/tools/launcher/InfoStreams.java

Print this page
rev 51638 : [mq]: 8210112

*** 21,39 **** * questions. */ /** * @test ! * @library /lib/testlibrary ! * @build InfoStreams jdk.testlibrary.ProcessTools * @run main InfoStreams * @summary Test that informational options use the correct streams */ ! import jdk.testlibrary.ProcessTools; ! import jdk.testlibrary.OutputAnalyzer; ! public class InfoStreams { public static OutputAnalyzer run(String ... opts) throws Exception { return ProcessTools.executeTestJava(opts).shouldHaveExitValue(0); --- 21,38 ---- * questions. */ /** * @test ! * @library /test/lib ! * @build InfoStreams jdk.test.lib.process.ProcessTools * @run main InfoStreams * @summary Test that informational options use the correct streams */ ! import jdk.test.lib.process.ProcessTools; ! import jdk.test.lib.process.OutputAnalyzer; public class InfoStreams { public static OutputAnalyzer run(String ... opts) throws Exception { return ProcessTools.executeTestJava(opts).shouldHaveExitValue(0);
< prev index next >