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