Package com.atlassian.bamboo.junit
Class BambooTemporaryFolder
- java.lang.Object
-
- org.junit.rules.ExternalResource
-
- com.atlassian.bamboo.junit.BambooTemporaryFolder
-
- All Implemented Interfaces:
org.junit.rules.TestRule
public class BambooTemporaryFolder extends org.junit.rules.ExternalResource
-
-
Constructor Summary
Constructors Constructor Description BambooTemporaryFolder()BambooTemporaryFolder(File parentFolder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafter()org.junit.runners.model.Statementapply(org.junit.runners.model.Statement base, org.junit.runner.Description description)protected voidbefore()PathnewPath()PathnewPath(String s)
-
-
-
Constructor Detail
-
BambooTemporaryFolder
public BambooTemporaryFolder()
-
BambooTemporaryFolder
public BambooTemporaryFolder(File parentFolder)
-
-
Method Detail
-
newPath
public Path newPath(String s) throws IOException
- Throws:
IOException
-
newPath
public Path newPath() throws IOException
- Throws:
IOException
-
apply
public org.junit.runners.model.Statement apply(org.junit.runners.model.Statement base, org.junit.runner.Description description)- Specified by:
applyin interfaceorg.junit.rules.TestRule- Overrides:
applyin classorg.junit.rules.ExternalResource
-
before
protected void before() throws Throwable- Overrides:
beforein classorg.junit.rules.ExternalResource- Throws:
Throwable
-
after
protected void after()
- Overrides:
afterin classorg.junit.rules.ExternalResource
-
-