]> source.dussan.org Git - dcevm.git/commitdiff
Adding test to verify JMX could be loaded
authorIvan Dubrov <idubrov@guidewire.com>
Thu, 18 Jun 2015 22:00:29 +0000 (15:00 -0700)
committerIvan Dubrov <idubrov@guidewire.com>
Thu, 18 Jun 2015 22:00:29 +0000 (15:00 -0700)
dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java [new file with mode: 0644]

diff --git a/dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java b/dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java
new file mode 100644 (file)
index 0000000..f9489b7
--- /dev/null
@@ -0,0 +1,16 @@
+package com.github.dcevm.test.management;
+
+import org.junit.Test;
+
+import java.lang.management.ManagementFactory;
+
+public class ManagementTest {
+
+  @Test
+  public void testJMXIsFine() {
+    // https://github.com/dcevm/dcevm/issues/69
+    // Verify management.dll could be loaded
+    ManagementFactory.getRuntimeMXBean();
+    ManagementFactory.getPlatformMBeanServer();
+  }
+}