1 | |
package org.jbehave.core.junit.guice; |
2 | |
|
3 | |
import org.jbehave.core.configuration.AnnotationBuilder; |
4 | |
import org.jbehave.core.configuration.guice.GuiceAnnotationBuilder; |
5 | |
import org.jbehave.core.junit.AnnotatedPathRunner; |
6 | |
import org.junit.runners.model.InitializationError; |
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
public class GuiceAnnotatedPathRunner extends AnnotatedPathRunner { |
12 | |
|
13 | |
public GuiceAnnotatedPathRunner(Class<?> testClass) throws InitializationError { |
14 | 0 | super(testClass); |
15 | 0 | } |
16 | |
|
17 | |
public AnnotationBuilder annotationBuilder() { |
18 | 0 | return new GuiceAnnotationBuilder(testClass()); |
19 | |
} |
20 | |
|
21 | |
} |