com.atlassian.confluence.webdriver.rules
Class DefaultMethodRules
java.lang.Object
com.atlassian.confluence.webdriver.rules.DefaultMethodRules
- All Implemented Interfaces:
- org.junit.rules.TestRule
public final class DefaultMethodRules
- extends java.lang.Object
- implements org.junit.rules.TestRule
Standard RuleChain to run in a webdriver test. This is a slightly modified version of
DefaultProductContextRules.ForMethod
. It includes
VisitNoopAndCancelAlertsRule
and excludes WindowSizeRule
Method Summary |
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMethodRules
@Inject
public DefaultMethodRules(com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreBrowserRule,
com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule,
VisitNoopAndCancelAlertsRule visitNoopAndCancelAlertsRule,
NoUrlLoggingWebDriverScreenshotRule webDriverScreenshotRule,
com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule,
LogTimeRule logTimeRule)
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description)
- Specified by:
apply
in interface org.junit.rules.TestRule
Copyright © 2003-2014 Atlassian. All Rights Reserved.