diff options
author | Ivan Dubrov <idubrov@guidewire.com> | 2015-06-18 15:00:29 -0700 |
---|---|---|
committer | Ivan Dubrov <idubrov@guidewire.com> | 2015-06-18 15:00:29 -0700 |
commit | 516d955f92609b47a024b90a6d5df701bb1d98b3 (patch) | |
tree | d192b6f6f9735ea91b99a387604cc27e2cb16858 /dcevm/src/test | |
parent | 0340420ebf0794947fb66b4e262d64daedc870a4 (diff) | |
download | dcevm-516d955f92609b47a024b90a6d5df701bb1d98b3.tar.gz dcevm-516d955f92609b47a024b90a6d5df701bb1d98b3.zip |
Adding test to verify JMX could be loaded
Diffstat (limited to 'dcevm/src/test')
-rw-r--r-- | dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java | 16 |
1 files changed, 16 insertions, 0 deletions
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 index 00000000..f9489b70 --- /dev/null +++ b/dcevm/src/test/java7/com/github/dcevm/test/management/ManagementTest.java @@ -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(); + } +} |