org.apache.commons.io.comparator
Class ExtensionFileComparatorTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.apache.commons.io.testtools.FileBasedTestCase
              extended by org.apache.commons.io.comparator.ComparatorAbstractTestCase
                  extended by org.apache.commons.io.comparator.ExtensionFileComparatorTest
All Implemented Interfaces:
junit.framework.Test

public class ExtensionFileComparatorTest
extends ComparatorAbstractTestCase

Test case for ExtensionFileComparator.


Field Summary
 
Fields inherited from class org.apache.commons.io.comparator.ComparatorAbstractTestCase
comparator, equalFile1, equalFile2, lessFile, moreFile, reverse
 
Constructor Summary
ExtensionFileComparatorTest(java.lang.String name)
          Construct a new test case with the specified name.
 
Method Summary
static void main(java.lang.String[] args)
          Run the test.
protected  void setUp()
           
static junit.framework.Test suite()
          Create a test suite.
 
Methods inherited from class org.apache.commons.io.comparator.ComparatorAbstractTestCase
tearDown, testComparator, testReverseComparator
 
Methods inherited from class org.apache.commons.io.testtools.FileBasedTestCase
assertEqualContent, assertEqualContent, checkFile, checkWrite, checkWrite, createFile, createLineBasedFile, deleteFile, generateTestData, generateTestData, getTestDirectory, newFile
 
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
 

Constructor Detail

ExtensionFileComparatorTest

public ExtensionFileComparatorTest(java.lang.String name)
Construct a new test case with the specified name.

Parameters:
name - Name of the test
Method Detail

main

public static void main(java.lang.String[] args)
Run the test.

Parameters:
args - arguments

suite

public static junit.framework.Test suite()
Create a test suite.

Returns:
The test suite

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class ComparatorAbstractTestCase
Throws:
java.lang.Exception
See Also:
TestCase.setUp()


Copyright © 2002-2008 The Apache Software Foundation. All Rights Reserved.