com.atlassian.jira.pageobjects.config.junit4.rule
Class WebSudoRule

java.lang.Object
  extended by com.atlassian.jira.pageobjects.config.junit4.rule.WebSudoRule
All Implemented Interfaces:
org.junit.rules.TestRule

public class WebSudoRule
extends Object
implements org.junit.rules.TestRule

Disables web-sudo in JIRA, unless the EnableWebSudo annotation is present for given test.

Since:
5.1

Constructor Summary
WebSudoRule(Backdoor backdoor)
           
 
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
 

Constructor Detail

WebSudoRule

@Inject
public WebSudoRule(Backdoor backdoor)
Method Detail

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 © 2002-2013 Atlassian. All Rights Reserved.