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