|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object junit.framework.Assert junit.framework.TestCase org.ujac.util.test.CollectionUtilsTest
public class CollectionUtilsTest
Name: StringUtilsTest
Description: Tests for the StringUtils class.
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 |
---|
public CollectionUtilsTest()
Method Detail |
---|
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
TestCase.setUp()
public void testSortListAscending() throws Exception
Exception
- In case something went wrong.public void testSortListDescending() throws Exception
Exception
- In case something went wrong.public void testSortListMixedDirections() throws Exception
Exception
- In case something went wrong.public void testContains() throws Exception
Exception
- In case something went wrong.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |