|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.apache.commons.AbstractVfsTestCase
org.apache.commons.vfs2.test.AbstractProviderTestCase
org.apache.commons.vfs2.test.ProviderDeleteTests
public class ProviderDeleteTests
File system test that do some delete operations.
| Field Summary |
|---|
| Fields inherited from class org.apache.commons.vfs2.test.AbstractProviderTestCase |
|---|
FILE1_CONTENT, TEST_FILE_CONTENT |
| Constructor Summary | |
|---|---|
ProviderDeleteTests()
|
|
| Method Summary | |
|---|---|
protected FileObject |
createScratchFolder()
Sets up a scratch folder for the test to use. |
protected Capability[] |
getRequiredCaps()
Returns the capabilities required by the tests of this test case. |
void |
testDeleteAllFiles()
deletes files |
void |
testDeleteFile()
deletes a single file |
void |
testDeleteFiles()
deletes the complete structure |
void |
testDeleteNonExistantFile()
Deletes a non existent file |
void |
testDeleteOneFiles()
deletes a.txt |
| Methods inherited from class org.apache.commons.vfs2.test.AbstractProviderTestCase |
|---|
addEmptyDir, assertSameContent, assertSameURLContent, buildExpectedStructure, createManager, getBaseFolder, getBaseTestFolder, getManager, getProviderConfig, getReadFolder, getWriteFolder, notConfigured, runTest, setConfig, setMethod, setWriteFolder |
| Methods inherited from class org.apache.commons.AbstractVfsTestCase |
|---|
assertSameMessage, assertSameMessage, assertSameMessage, assertSameMessage, equals, getCanonicalFile, getCause, getPackageName, getResourceTestDirectory, getTestDirectory, getTestDirectory, getTestDirectoryFile, getTestResource, getTestResource |
| Methods inherited from class junit.framework.TestCase |
|---|
countTestCases, createResult, getName, run, run, runBare, setName, setUp, 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 |
| Constructor Detail |
|---|
public ProviderDeleteTests()
| Method Detail |
|---|
protected Capability[] getRequiredCaps()
getRequiredCaps in class AbstractProviderTestCase
protected FileObject createScratchFolder()
throws Exception
Exception
public void testDeleteFiles()
throws Exception
Exception
public void testDeleteFile()
throws Exception
Exception
public void testDeleteNonExistantFile()
throws Exception
Exception
public void testDeleteAllFiles()
throws Exception
Exception
public void testDeleteOneFiles()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||