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
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
package io .cucumber .core .backend ;
2
2
3
- import io .cucumber .core .backend .Pending ;
4
-
5
3
import java .io .PrintStream ;
6
4
import java .io .PrintWriter ;
7
5
Original file line number Diff line number Diff line change 14
14
15
15
/**
16
16
* 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.
18
18
*/
19
19
public class ServiceLoaderTestClassLoader extends URLClassLoader {
20
20
Class <?> metaInfInterface ;
21
21
Class <?>[] implementingClasses ;
22
22
23
23
/**
24
- * Constructs a classloader which has no META-INF/services/metaInfInterface.
24
+ * Constructs a classloader which has no
25
+ * META-INF/services/<metaInfInterface>.
25
26
*
26
27
* @param metaInfInterface ServiceLoader interface
27
28
*/
@@ -30,10 +31,11 @@ public ServiceLoaderTestClassLoader(Class<?> metaInfInterface) {
30
31
}
31
32
32
33
/**
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.
37
39
*
38
40
* @param metaInfInterface ServiceLoader interface
39
41
* @param implementingClasses potential subclasses of the ServiceLoader
Original file line number Diff line number Diff line change 16
16
class Issue1970Test {
17
17
18
18
@ Test
19
- public void issue1970 () {
19
+ void issue1970 () {
20
20
ObjectFactory factory = new SpringFactory ();
21
21
factory .addClass (GlueClass .class ); // Add glue with Spring configuration
22
22
factory .start ();
You can’t perform that action at this time.
0 commit comments