Keel 2.1RC2

org.apache.excalibur.source.test
Class FileSourceTestCase

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended byorg.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:

Field Summary
private  java.io.File m_tempDir
           
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
FileSourceTestCase()
           
FileSourceTestCase(java.lang.String name)
           
 
Method Summary
private  void deleteAll(java.io.File f)
           
private  void fillSource(ModifiableSource src, java.lang.String text)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testAtomicUpdate()
           
 void testChildCreation()
           
 void testConcurrentAccess()
           
 void testCopy()
           
 void testDelete()
           
 void testDirExistence()
           
 void testMove()
           
 
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
 

Field Detail

m_tempDir

private java.io.File m_tempDir
Constructor Detail

FileSourceTestCase

public FileSourceTestCase()

FileSourceTestCase

public FileSourceTestCase(java.lang.String name)
Method Detail

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

Keel 2.1RC2

Please see keelframework.org for information about new Keel releases.