public final class DefaultMethodRules extends Object implements org.junit.rules.TestRule
DefaultProductContextRules.ForMethod
. It includes
VisitNoopAndCancelAlertsRule
and excludes WindowSizeRule
Constructor and Description |
---|
DefaultMethodRules(com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreBrowserRule,
com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule,
VisitNoopAndCancelAlertsRule visitNoopAndCancelAlertsRule,
CancelAnyAlert cancelAnyAlert,
NoUrlLoggingWebDriverScreenshotRule webDriverScreenshotRule,
com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule,
LogTimeRule logTimeRule,
BrowserUserAgentLoggingRule browserUserAgentLoggingRule) |
Modifier and Type | Method and Description |
---|---|
org.junit.runners.model.Statement |
apply(org.junit.runners.model.Statement base,
org.junit.runner.Description description) |
@Inject public DefaultMethodRules(com.atlassian.webdriver.testing.rule.IgnoreBrowserRule ignoreBrowserRule, com.atlassian.webdriver.testing.rule.SessionCleanupRule sessionCleanupRule, VisitNoopAndCancelAlertsRule visitNoopAndCancelAlertsRule, CancelAnyAlert cancelAnyAlert, NoUrlLoggingWebDriverScreenshotRule webDriverScreenshotRule, com.atlassian.webdriver.testing.rule.LogPageSourceRule logPageSourceRule, LogTimeRule logTimeRule, BrowserUserAgentLoggingRule browserUserAgentLoggingRule)
Copyright © 2003–2021 Atlassian. All rights reserved.