예제 #1
0
 public Runtime(List<String> packageNamesOrScriptPaths) {
   backends =
       Resources.instantiateSubclasses(
           Backend.class,
           "cucumber.runtime",
           new Class[] {List.class},
           new Object[] {packageNamesOrScriptPaths});
 }
예제 #2
0
 public Runtime(String packageName) {
   backends = Resources.instantiateSubclasses(Backend.class, "cucumber.runtime", packageName);
 }