File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed
cucumber-core/src/test/java/io/cucumber/core
cucumber-spring/src/test/java/io/cucumber/spring Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 11package io .cucumber .core .backend ;
22
3- import io .cucumber .core .backend .Pending ;
4-
53import java .io .PrintStream ;
64import java .io .PrintWriter ;
75
Original file line number Diff line number Diff line change 1414
1515/**
1616 * Testing classloader for ServiceLoader. This classloader overrides the
17- * META-INF/services/interface-class-name file with a custom definition.
17+ * META-INF/services/< interface> file with a custom definition.
1818 */
1919public class ServiceLoaderTestClassLoader extends URLClassLoader {
2020 Class <?> metaInfInterface ;
2121 Class <?>[] implementingClasses ;
2222
2323 /**
24- * Constructs a classloader which has no META-INF/services/metaInfInterface.
24+ * Constructs a classloader which has no
25+ * META-INF/services/<metaInfInterface>.
2526 *
2627 * @param metaInfInterface ServiceLoader interface
2728 */
@@ -30,10 +31,11 @@ public ServiceLoaderTestClassLoader(Class<?> metaInfInterface) {
3031 }
3132
3233 /**
33- * Constructs a fake META-INF/services/metaInfInterface file which contains
34- * the provided array of classes. When the implementingClasses array is
35- * null, the META-INF file will not be constructed. The classes from
36- * implementingClasses are not required to implement the metaInfInterface.
34+ * Constructs a fake META-INF/services/<metaInfInterface> file which
35+ * contains the provided array of classes. When the implementingClasses
36+ * array is null, the META-INF file will not be constructed. The classes
37+ * from implementingClasses are not required to implement the
38+ * metaInfInterface.
3739 *
3840 * @param metaInfInterface ServiceLoader interface
3941 * @param implementingClasses potential subclasses of the ServiceLoader
Original file line number Diff line number Diff line change 1616class Issue1970Test {
1717
1818 @ Test
19- public void issue1970 () {
19+ void issue1970 () {
2020 ObjectFactory factory = new SpringFactory ();
2121 factory .addClass (GlueClass .class ); // Add glue with Spring configuration
2222 factory .start ();
You can’t perform that action at this time.
0 commit comments