com.atlassian.jira.functest.rules
Class RemoveAttachmentsRule
java.lang.Object
   com.atlassian.jira.functest.rules.RemoveAttachmentsRule
com.atlassian.jira.functest.rules.RemoveAttachmentsRule
- All Implemented Interfaces: 
- org.junit.rules.TestRule
- Direct Known Subclasses: 
- CopyAttachmentsRule
- public class RemoveAttachmentsRule 
- extends Object- implements org.junit.rules.TestRule
Clean up attachments directory before and after the test case.
- Since:
- v6.1
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
backdoor
protected final Backdoor backdoor
environmentData
protected final JIRAEnvironmentData environmentData
RemoveAttachmentsRule
public RemoveAttachmentsRule(FuncTestCase testCase)
RemoveAttachmentsRule
public RemoveAttachmentsRule(Backdoor backdoor)
before
public void before()
- 
 
- 
 
after
public void after()
- 
 
- 
 
removeAttachmentFilesFromJiraHome
protected final void removeAttachmentFilesFromJiraHome()
- 
 
- 
 
getAttachmentPath
protected File getAttachmentPath()
- 
 
- 
 
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base,
                                               org.junit.runner.Description description)
- 
- Specified by:
- applyin interface- org.junit.rules.TestRule
 
- 
 
Copyright © 2002-2014 Atlassian. All Rights Reserved.