1 | |
package org.jbehave.core.junit.groovy; |
2 | |
|
3 | |
import org.jbehave.core.configuration.AnnotationBuilder; |
4 | |
import org.jbehave.core.configuration.groovy.GroovyAnnotationBuilder; |
5 | |
import org.jbehave.core.junit.AnnotatedEmbedderRunner; |
6 | |
import org.junit.runners.model.InitializationError; |
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
public class GroovyAnnotatedEmbedderRunner extends AnnotatedEmbedderRunner { |
12 | |
|
13 | |
private GroovyAnnotationBuilder annotationBuilder; |
14 | |
|
15 | |
public GroovyAnnotatedEmbedderRunner(Class<?> testClass) throws InitializationError { |
16 | 1 | super(testClass); |
17 | 1 | annotationBuilder = new GroovyAnnotationBuilder(testClass()); |
18 | 1 | } |
19 | |
|
20 | |
public AnnotationBuilder annotationBuilder() { |
21 | 1 | return annotationBuilder; |
22 | |
} |
23 | |
|
24 | |
} |