com.atlassian.jira.functest.rules
Class EnableAttachmentsRule
java.lang.Object
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
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 |
backdoor
protected final Backdoor backdoor
environmentData
protected final JIRAEnvironmentData environmentData
EnableAttachmentsRule
public EnableAttachmentsRule(FuncTestCase testCase)
EnableAttachmentsRule
public EnableAttachmentsRule(Backdoor backdoor)
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.