net.sf.jpkgmk.util
Class FsTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jpkgmk.util.FsTestCase
All Implemented Interfaces:
junit.framework.Test

public abstract class FsTestCase
extends junit.framework.TestCase

Since:
1.0
Version:
$Revision: 2 $ $Date: 2008-08-20 21:14:19 +0200 (Mi, 20 Aug 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Constructor Summary
FsTestCase()
           
 
Method Summary
 void assertArraysEqual(java.io.File[] expected, java.io.File[] actual)
           
 void assertArraysEqual(java.io.File[] expected, java.io.File[] actual, boolean honorOrder)
           
 void createDir(java.io.File dir)
           
 java.io.File getDirectory()
           
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FsTestCase

public FsTestCase()
Method Detail

setUp

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

tearDown

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

getDirectory

public java.io.File getDirectory()
Returns:
The directory to be used for the unit test

createDir

public void createDir(java.io.File dir)

assertArraysEqual

public void assertArraysEqual(java.io.File[] expected,
                              java.io.File[] actual)

assertArraysEqual

public void assertArraysEqual(java.io.File[] expected,
                              java.io.File[] actual,
                              boolean honorOrder)


Copyright © 2007-2008. All Rights Reserved.