Package uk.co.brunella.osgi.bdt.junit.annotation

Examples of uk.co.brunella.osgi.bdt.junit.annotation.OSGiBDTTest


      }
    }
  }

  private void executeTestCases(Map<String, Object> parameters) {
    OSGiBDTTest annotation = testClass.getAnnotation(OSGiBDTTest.class);

    OSGiBDTTestWrapper testArguments = null;
    try {
      if (args.length > 0) {
        loadRepository(args[0]);
        testArguments = new OSGiBDTTestWrapper(annotation, new String[] { args[0] });
      } else {
        loadRepository(annotation.repositories()[0]);
        testArguments = new OSGiBDTTestWrapper(annotation);
      }
    } catch (IOException e) {
      exception(getCell(0, 0), new RuntimeException("Repository cannot be loaded: " + e.getMessage()));
      return;
View Full Code Here

TOP

Related Classes of uk.co.brunella.osgi.bdt.junit.annotation.OSGiBDTTest

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.