< prev index next >
test/jdk/sun/management/jmxremote/startstop/JMXStatusTest.java
Print this page
rev 51638 : [mq]: 8210112
*** 27,46 ****
import java.util.function.Predicate;
import java.util.regex.Pattern;
import org.testng.annotations.*;
import static org.testng.Assert.*;
! import jdk.testlibrary.ProcessTools;
/**
* @test
* @bug 8023093 8138748 8142398
* @summary Performs a sanity test for the ManagementAgent.status diagnostic command.
* Management agent may be disabled, started (only local connections) and started.
* The test asserts that the expected text is being printed.
*
* @library /lib/testlibrary
*
* @build jdk.testlibrary.* PortAllocator TestApp ManagementAgentJcmd
* JMXStatusTest JMXStatus1Test JMXStatus2Test
* @run testng/othervm -XX:+UsePerfData JMXStatus1Test
* @run testng/othervm -XX:+UsePerfData JMXStatus2Test
--- 27,47 ----
import java.util.function.Predicate;
import java.util.regex.Pattern;
import org.testng.annotations.*;
import static org.testng.Assert.*;
! import jdk.test.lib.process.ProcessTools;
/**
* @test
* @bug 8023093 8138748 8142398
* @summary Performs a sanity test for the ManagementAgent.status diagnostic command.
* Management agent may be disabled, started (only local connections) and started.
* The test asserts that the expected text is being printed.
*
* @library /lib/testlibrary
+ * @library /test/lib
*
* @build jdk.testlibrary.* PortAllocator TestApp ManagementAgentJcmd
* JMXStatusTest JMXStatus1Test JMXStatus2Test
* @run testng/othervm -XX:+UsePerfData JMXStatus1Test
* @run testng/othervm -XX:+UsePerfData JMXStatus2Test
< prev index next >