org.apache.commons.jci
Class AbstractTestCase

java.lang.Object
  extended by TestCase
      extended by org.apache.commons.jci.AbstractTestCase
Direct Known Subclasses:
CompilingClassLoaderTestCase, ReloadingClassLoaderTestCase, ResourceReaderTestCase, ResourceStoreTestCase

public abstract class AbstractTestCase
extends TestCase

Author:
tcurdt

Field Summary
protected  java.io.File directory
           
 
Constructor Summary
AbstractTestCase()
           
 
Method Summary
protected  java.io.File createDirectory(java.lang.String pName)
           
protected  java.io.File createTempDirectory()
           
protected  void delay()
           
protected  void setUp()
           
protected  void tearDown()
           
protected  java.io.File writeFile(java.lang.String pName, byte[] pData)
           
protected  java.io.File writeFile(java.lang.String pName, java.lang.String pText)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

directory

protected java.io.File directory
Constructor Detail

AbstractTestCase

public AbstractTestCase()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

createDirectory

protected java.io.File createDirectory(java.lang.String pName)
                                throws java.lang.Exception
Throws:
java.lang.Exception

writeFile

protected java.io.File writeFile(java.lang.String pName,
                                 byte[] pData)
                          throws java.lang.Exception
Throws:
java.lang.Exception

writeFile

protected java.io.File writeFile(java.lang.String pName,
                                 java.lang.String pText)
                          throws java.lang.Exception
Throws:
java.lang.Exception

delay

protected void delay()

createTempDirectory

protected java.io.File createTempDirectory()
                                    throws java.io.IOException
Throws:
java.io.IOException

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004-2009 Apache Software Foundation. All Rights Reserved.