31 * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33 package org.openjdk.jmc.rjmx.test.internal;
34
35 import org.junit.Assert;
36 import org.junit.Test;
37
38 import org.openjdk.jmc.rjmx.test.RjmxTestCase;
39
40 /**
41 * This test cycles through all the server operations and makes sure they all behave according to
42 * specification.
43 */
44
45 public class RJMXProxyOperationsTest extends RjmxTestCase {
46
47 @Test
48 public void testCtrlBreakHandler() throws Exception {
49 assumeHotSpot8OrLater(getConnectionHandle());
50
51 String help = getDiagnosticCommandService().runCtrlBreakHandlerWithResult("help"); //$NON-NLS-1$
52 Assert.assertNotNull(help);
53 }
54
55 }
|
31 * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
32 */
33 package org.openjdk.jmc.rjmx.test.internal;
34
35 import org.junit.Assert;
36 import org.junit.Test;
37
38 import org.openjdk.jmc.rjmx.test.RjmxTestCase;
39
40 /**
41 * This test cycles through all the server operations and makes sure they all behave according to
42 * specification.
43 */
44
45 public class RJMXProxyOperationsTest extends RjmxTestCase {
46
47 @Test
48 public void testCtrlBreakHandler() throws Exception {
49 assumeHotSpot8OrLater(getConnectionHandle());
50
51 String help = getDiagnosticCommandService().runCtrlBreakHandlerWithResult("help");
52 Assert.assertNotNull(help);
53 }
54
55 }
|