org.prevayler.foundation
Class FileIOTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.prevayler.foundation.FileIOTest
All Implemented Interfaces:
junit.framework.Test

public abstract class FileIOTest
extends junit.framework.TestCase


Field Summary
protected  String _testDirectory
           
 
Constructor Summary
FileIOTest()
           
 
Method Summary
static void delete(File file)
           
static void delete(String fileName)
           
protected  void deleteFromTestDirectory(String fileName)
           
protected  File findJournal(String suffix)
           
protected  String journalContents(String suffix)
           
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_testDirectory

protected String _testDirectory
Constructor Detail

FileIOTest

public FileIOTest()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

deleteFromTestDirectory

protected void deleteFromTestDirectory(String fileName)

delete

public static void delete(String fileName)

delete

public static void delete(File file)

journalContents

protected String journalContents(String suffix)
                          throws IOException
Throws:
IOException

findJournal

protected File findJournal(String suffix)


Copyright © 2001-2013. All Rights Reserved.