Package no.hal.jex.java

Examples of no.hal.jex.java.ReflectiveTestAnnotationsToModelConverter


      openJexFile(name);
    } else {
      setReflectionClassLoader(requirementChecker.getReflectionHelper());
      Test suite = requirementChecker.createTest(name, null);
      if (suite instanceof TestSuite) {
        ReflectiveTestAnnotationsToModelConverter converter = new ReflectiveTestAnnotationsToModelConverter(JexFactory.eINSTANCE.createExercise(), (TestSuite) suite);
        setReflectionClassLoader(converter.getReflectionHelper());
        Exercise ex = converter.convert();
        openExercise(ex);
      } else {
        throw new IllegalArgumentException("Couldn't find class " + name + ", are you sure the classpath is correctly set?");
      }
    }
View Full Code Here

TOP

Related Classes of no.hal.jex.java.ReflectiveTestAnnotationsToModelConverter

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.