< prev index next >
test/jdk/sun/tools/jstatd/JstatdTest.java
Print this page
rev 51638 : [mq]: 8210112
@@ -30,12 +30,12 @@
import jdk.test.lib.thread.ProcessThread;
import static jdk.testlibrary.Asserts.*;
import jdk.testlibrary.JDKToolLauncher;
import jdk.testlibrary.Utils;
-import jdk.testlibrary.OutputAnalyzer;
-import jdk.testlibrary.ProcessTools;
+import jdk.test.lib.process.OutputAnalyzer;
+import jdk.test.lib.process.ProcessTools;
/**
* The base class for tests of jstatd.
*
* The test sequence for TestJstatdDefaults for example is:
@@ -326,11 +326,11 @@
} finally {
cleanUpThread(jstatdThread);
}
// Verify output from jstatd
- jdk.test.lib.process.OutputAnalyzer output = jstatdThread.getOutput();
+ OutputAnalyzer output = jstatdThread.getOutput();
assertTrue(output.getOutput().isEmpty(),
"jstatd should get an empty output, got: "
+ Utils.NEW_LINE + output.getOutput());
assertNotEquals(output.getExitValue(), 0,
"jstatd process exited with unexpected exit code");
< prev index next >