|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectorg.junit.rules.ExternalResource
net.thucydides.core.util.ExtendedTemporaryFolder
public class ExtendedTemporaryFolder
| Constructor Summary | |
|---|---|
ExtendedTemporaryFolder()
|
|
ExtendedTemporaryFolder(File parentFolder)
|
|
| Method Summary | |
|---|---|
protected void |
after()
|
protected void |
before()
|
void |
create()
for testing purposes only. |
void |
delete()
Delete all files and folders under the temporary folder. |
File |
getRoot()
|
protected static boolean |
isWindows()
|
File |
newFile()
Returns a new fresh file with a random name under the temporary folder. |
File |
newFile(String fileName)
|
File |
newFolder()
|
File |
newFolder(String... folderNames)
Returns a new fresh folder with the given name(s) under the temporary folder. |
File |
newFolder(String folder)
Returns a new fresh folder with the given name under the temporary folder. |
| Methods inherited from class org.junit.rules.ExternalResource |
|---|
apply |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExtendedTemporaryFolder()
public ExtendedTemporaryFolder(File parentFolder)
| Method Detail |
|---|
protected void before()
throws Throwable
before in class org.junit.rules.ExternalResourceThrowableprotected void after()
after in class org.junit.rules.ExternalResource
public void create()
throws IOException
IOException
public File newFile()
throws IOException
IOException
public File newFolder(String folder)
throws IOException
IOException
public File newFolder(String... folderNames)
throws IOException
IOExceptionpublic File getRoot()
public void delete()
Rule
protected static boolean isWindows()
public File newFolder()
throws IOException
IOException
public File newFile(String fileName)
throws IOException
IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||