|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
junit.com.mcdermottroe.exemplar.ExemplarTestCase<T>
junit.com.mcdermottroe.exemplar.UtilityClassTestCase<Files>
junit.com.mcdermottroe.exemplar.utils.FilesTest
public class FilesTest
Test class for Files.
| Field Summary | |
|---|---|
private File |
testDirectory
A root directory for this test. |
| Fields inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
DELIBERATE_PASS, testedClass, TMP |
| Constructor Summary | |
|---|---|
FilesTest()
|
|
| Method Summary | |
|---|---|
private void |
createTestTree()
Create a test tree of files and directories. |
private void |
removeTestTree()
Remove the test tree created by createTestTree(). |
void |
setUp()
Set up the JUnit test. |
void |
testFindDirectories()
Test Files.findDirectories(File). |
void |
testFindFiles()
Test Files.findFiles(File). |
void |
testRemoveTree()
Test Files.removeTree(File). |
| Methods inherited from class junit.com.mcdermottroe.exemplar.UtilityClassTestCase |
|---|
testAllFieldsStatic, testAllMethodsStatic, testOnePrivateConstructor |
| Methods inherited from class junit.com.mcdermottroe.exemplar.ExemplarTestCase |
|---|
getTestedClass, testAllMethodsBeingTested, testCorrectPackage |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString |
| Methods inherited from class junit.framework.Assert |
|---|
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private File testDirectory
| Constructor Detail |
|---|
public FilesTest()
| Method Detail |
|---|
public void setUp()
throws Exception
setUp in class ExemplarTestCase<Files>Exception - if TestCase.setUp() throws one.ExemplarTestCase.testedClass,
TestCase.setUp()public void testFindDirectories()
Files.findDirectories(File).
public void testFindFiles()
Files.findFiles(File).
public void testRemoveTree()
Files.removeTree(File).
private void createTestTree()
private void removeTestTree()
createTestTree().
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||