protected class FeaturesRunner.RulesFactory<A extends Annotation,R> extends Object
Modifier and Type | Class and Description |
---|---|
protected class |
FeaturesRunner.RulesFactory.BindRule |
Modifier and Type | Field and Description |
---|---|
protected Class<A> |
annotationType |
protected ArrayList<R> |
rules |
protected Class<R> |
ruleType |
Modifier | Constructor and Description |
---|---|
protected |
RulesFactory(Class<A> anAnnotationType,
Class<R> aRuleType) |
Modifier and Type | Method and Description |
---|---|
List<R> |
build() |
protected org.junit.runners.model.Statement |
build(org.junit.runners.model.Statement base,
String name) |
protected R |
onMethod(Class<R> aRuleType,
org.junit.runners.model.FrameworkMethod aMethod,
Object aTarget,
Object... someParms) |
FeaturesRunner.RulesFactory<A,R> |
withRule(R aRule) |
FeaturesRunner.RulesFactory<A,R> |
withRules(List<R> someRules) |
FeaturesRunner.RulesFactory<A,R> |
withRules(org.junit.runners.model.TestClass aType,
Object aTest) |
protected final Class<A extends Annotation> annotationType
protected RulesFactory(Class<A> anAnnotationType, Class<R> aRuleType)
protected org.junit.runners.model.Statement build(org.junit.runners.model.Statement base, String name)
public FeaturesRunner.RulesFactory<A,R> withRule(R aRule)
public FeaturesRunner.RulesFactory<A,R> withRules(org.junit.runners.model.TestClass aType, Object aTest)
Copyright © 2018 Nuxeo. All rights reserved.