public class

RemoveAttachmentsRule

extends Object
implements TestRule
java.lang.Object
   ↳ com.atlassian.jira.functest.rules.RemoveAttachmentsRule
Known Direct Subclasses

Class Overview

Clean up attachments directory before and after the test case.

Summary

Fields
protected final Backdoor backdoor
protected final JIRAEnvironmentData environmentData
Public Constructors
RemoveAttachmentsRule(FuncTestCase testCase)
RemoveAttachmentsRule(Backdoor backdoor)
Public Methods
void after()
Statement apply(Statement base, Description description)
void before()
Protected Methods
File getAttachmentPath()
final void removeAttachmentFilesFromJiraHome()
[Expand]
Inherited Methods
From class java.lang.Object
From interface org.junit.rules.TestRule

Fields

protected final Backdoor backdoor

protected final JIRAEnvironmentData environmentData

Public Constructors

public RemoveAttachmentsRule (FuncTestCase testCase)

public RemoveAttachmentsRule (Backdoor backdoor)

Public Methods

public void after ()

public Statement apply (Statement base, Description description)

public void before ()

Protected Methods

protected File getAttachmentPath ()

protected final void removeAttachmentFilesFromJiraHome ()