Package org.jbehave.core.junit.spring

Source Code of org.jbehave.core.junit.spring.SpringAnnotatedPathRunner

package org.jbehave.core.junit.spring;

import org.jbehave.core.configuration.AnnotationBuilder;
import org.jbehave.core.configuration.spring.SpringAnnotationBuilder;
import org.jbehave.core.junit.AnnotatedPathRunner;
import org.junit.runners.model.InitializationError;

/**
* AnnotatedPathRunner that uses {@link SpringAnnotationBuilder}.
*/
public class SpringAnnotatedPathRunner extends AnnotatedPathRunner {

    public SpringAnnotatedPathRunner(Class<?> testClass) throws InitializationError {
        super(testClass);
    }

    public AnnotationBuilder annotationBuilder() {
        return new SpringAnnotationBuilder(testClass());
    }

}
TOP

Related Classes of org.jbehave.core.junit.spring.SpringAnnotatedPathRunner

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.