com.atlassian.jira.functest.rules
Class CopyAttachmentsRule

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

public class CopyAttachmentsRule
extends RemoveAttachmentsRule

Cleans up the attachments directory and copies set of attachments into the directory. Cleans up the attachments dir after the test.

Since:
v6.1

Field Summary
 
Fields inherited from class com.atlassian.jira.functest.rules.RemoveAttachmentsRule
backdoor, environmentData
 
Constructor Summary
CopyAttachmentsRule(FuncTestCase testCase)
           
 
Method Summary
 void copyAttachmentsFrom(String subDirectory)
           
 
Methods inherited from class com.atlassian.jira.functest.rules.RemoveAttachmentsRule
after, apply, before, getAttachmentPath, removeAttachmentFilesFromJiraHome
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyAttachmentsRule

public CopyAttachmentsRule(FuncTestCase testCase)
Method Detail

copyAttachmentsFrom

public void copyAttachmentsFrom(String subDirectory)


Copyright © 2002-2014 Atlassian. All Rights Reserved.