Package org.jboss.arquillian.protocol.jmx

Examples of org.jboss.arquillian.protocol.jmx.JMXTestRunnerMBean


      JMXTestRunner jmxTestRunner = new JMXTestRunner(null);
      ObjectName oname = jmxTestRunner.registerMBean(mbeanServer);
     
      try
      {
         JMXTestRunnerMBean testRunner = getMBeanProxy(mbeanServer, oname, JMXTestRunnerMBean.class);
         TestResult result = testRunner.runTestMethodLocal(DummyTestCase.class.getName(), "testMethod");
        
         assertNotNull("TestResult not null", result);
         assertNotNull("Status not null", result.getStatus());
         if (result.getStatus() == Status.FAILED)
            throw result.getThrowable();
View Full Code Here

TOP

Related Classes of org.jboss.arquillian.protocol.jmx.JMXTestRunnerMBean

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.