com.atlassian.jira.functest.rules
Class EnableAttachmentsRule

java.lang.Object
  extended by com.atlassian.jira.functest.rules.EnableAttachmentsRule
All Implemented Interfaces:
org.junit.rules.TestRule

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

Clean up attachments directory before and after the test case.

Since:
v6.1

Field Summary
protected  Backdoor backdoor
           
protected  JIRAEnvironmentData environmentData
           
 
Constructor Summary
EnableAttachmentsRule(Backdoor backdoor)
           
EnableAttachmentsRule(FuncTestCase testCase)
           
 
Method Summary
 void after()
           
 org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)
           
 void before()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

backdoor

protected final Backdoor backdoor

environmentData

protected final JIRAEnvironmentData environmentData
Constructor Detail

EnableAttachmentsRule

public EnableAttachmentsRule(FuncTestCase testCase)

EnableAttachmentsRule

public EnableAttachmentsRule(Backdoor backdoor)
Method Detail

before

public void before()

after

public void after()

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.