org.apache.excalibur.source.test
Class FileSourceTestCase
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.excalibur.source.test.FileSourceTestCase
- All Implemented Interfaces:
- junit.framework.Test
- public class FileSourceTestCase
- extends junit.framework.TestCase
Test case for FileSource.
- Version:
- $Id: FileSourceTestCase.java,v 1.4 2004/02/28 11:47:22 cziegeler Exp $
- Author:
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
m_tempDir
private java.io.File m_tempDir
-
FileSourceTestCase
public FileSourceTestCase()
FileSourceTestCase
public FileSourceTestCase(java.lang.String name)
setUp
protected void setUp()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testDirExistence
public void testDirExistence()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testChildCreation
public void testChildCreation()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testMove
public void testMove()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testCopy
public void testCopy()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testDelete
public void testDelete()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testConcurrentAccess
public void testConcurrentAccess()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
testAtomicUpdate
public void testAtomicUpdate()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
-
- Throws:
java.lang.Exception
deleteAll
private void deleteAll(java.io.File f)
-
fillSource
private void fillSource(ModifiableSource src,
java.lang.String text)
throws java.lang.Exception
-
- Throws:
java.lang.Exception
Please see keelframework.org for information about new Keel releases.