Package org.springframework.osgi.test.internal

Examples of org.springframework.osgi.test.internal.OsgiJUnitTest


    try {
      // use bundle to load the classes
      Class clazz = context.getBundle().loadClass(testClass);
      TestCase test = (TestCase) clazz.newInstance();
      // wrap the test with the OsgiJUnitTestAdapter
      OsgiJUnitTest osgiTest = new OsgiJUnitTestAdapter(test);
      osgiTest.injectBundleContext(context);
      return osgiTest;

    }
    catch (Exception ex) {
      log.error("failed to invoke test execution", ex);
View Full Code Here

TOP

Related Classes of org.springframework.osgi.test.internal.OsgiJUnitTest

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.