Package org.jbehave.core.junit.groovy

Source Code of org.jbehave.core.junit.groovy.GroovyAnnotatedEmbedderRunner

package org.jbehave.core.junit.groovy;

import org.jbehave.core.configuration.AnnotationBuilder;
import org.jbehave.core.configuration.groovy.GroovyAnnotationBuilder;
import org.jbehave.core.junit.AnnotatedEmbedderRunner;
import org.junit.runners.model.InitializationError;

/**
* AnnotatedEmbedderRunner that uses {@link GroovyAnnotationBuilder}.
*/
public class GroovyAnnotatedEmbedderRunner extends AnnotatedEmbedderRunner {

    private GroovyAnnotationBuilder annotationBuilder;
   
    public GroovyAnnotatedEmbedderRunner(Class<?> testClass) throws InitializationError {
        super(testClass);
        annotationBuilder = new GroovyAnnotationBuilder(testClass());
    }

    public AnnotationBuilder annotationBuilder() {
        return annotationBuilder;
    }

}
TOP

Related Classes of org.jbehave.core.junit.groovy.GroovyAnnotatedEmbedderRunner

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.