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