Package org.jbehave.core.junit.needle

Source Code of org.jbehave.core.junit.needle.NeedleAnnotatedPathRunner

package org.jbehave.core.junit.needle;

import org.jbehave.core.configuration.AnnotationBuilder;
import org.jbehave.core.configuration.needle.NeedleAnnotationBuilder;
import org.jbehave.core.junit.AnnotatedPathRunner;
import org.junit.runners.model.InitializationError;

/**
* AnnotatedPathRunner that uses {@link NeedleAnnotationBuilder}.
*/
public class NeedleAnnotatedPathRunner extends AnnotatedPathRunner {

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

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

}
TOP

Related Classes of org.jbehave.core.junit.needle.NeedleAnnotatedPathRunner

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.