public class SlingRule extends Object implements org.junit.rules.TestRule
TestTimeout
, TestDescriptionRule
, TestStickyCookieRule
, FilterRule
Modifier and Type | Field and Description |
---|---|
FilterRule |
filterRule
Rule to filter tests per method name
|
protected org.junit.rules.RuleChain |
ruleChain
Main RuleChain describing the order of execution of all the rules
|
TestDescriptionRule |
testDescriptionRule
Rule to send in every request a header with the test name
|
TestStickyCookieRule |
testStickySessionRule
Rule to add a Sticky Session Cookie for requests
|
TestTimeout |
testTimeoutRule
Rule to define the max timeout for all the tests
|
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
public final TestTimeout testTimeoutRule
public final TestStickyCookieRule testStickySessionRule
public final FilterRule filterRule
public final TestDescriptionRule testDescriptionRule
protected org.junit.rules.RuleChain ruleChain
public SlingRule(Instance... instances)
Copyright © 2007–2018 The Apache Software Foundation. All rights reserved.