open class MethodRuleChain : MethodRule
Similar to java's org.junit.rules.RuleChain
except that it is implemented via a MethodRule instead of a TestRule, and it supports both MethodRules and TestRules (but not ClassRules) Currently this isn't directly tied to Mockspresso, so I may pull this out and move to its own library.
open fun apply(base: Statement!, method: FrameworkMethod!, target: Any!): Statement! |
|
open fun chainAround(enclosedRule: MethodRule!): MethodRuleChain! open fun chainAround(enclosedRule: TestRule!): MethodRuleChain! |
|
open static fun emptyRuleChain(): MethodRuleChain! |
|
open static fun outerRule(outerRule: MethodRule!): MethodRuleChain! open static fun outerRule(outerRule: TestRule!): MethodRuleChain! |