org.ujac.util.test
Class CollectionUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.ujac.util.test.CollectionUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class CollectionUtilsTest
extends junit.framework.TestCase

Name: StringUtilsTest
Description: Tests for the StringUtils class.

Author:
lauerc

Nested Class Summary
 class CollectionUtilsTest.Person
          Data container for sorting tests.
 
Constructor Summary
CollectionUtilsTest()
           
 
Method Summary
protected  void setUp()
           
 void testContains()
          Tests ascending list sorting.
 void testSortListAscending()
          Tests ascending list sorting.
 void testSortListDescending()
          Tests ascending list sorting.
 void testSortListMixedDirections()
          Tests list sorting with mixed directions.
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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

CollectionUtilsTest

public CollectionUtilsTest()
Method Detail

setUp

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

testSortListAscending

public void testSortListAscending()
                           throws Exception
Tests ascending list sorting.

Throws:
Exception - In case something went wrong.

testSortListDescending

public void testSortListDescending()
                            throws Exception
Tests ascending list sorting.

Throws:
Exception - In case something went wrong.

testSortListMixedDirections

public void testSortListMixedDirections()
                                 throws Exception
Tests list sorting with mixed directions.

Throws:
Exception - In case something went wrong.

testContains

public void testContains()
                  throws Exception
Tests ascending list sorting.

Throws:
Exception - In case something went wrong.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.