|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.ujac.util.test.StringUtilsTest
public class StringUtilsTest
Name: StringUtilsTest
Description: Tests for the StringUtils class.
| Constructor Summary | |
|---|---|
StringUtilsTest()
|
|
| Method Summary | |
|---|---|
protected void |
setUp()
|
void |
testEquals()
Tests the equals comparison. |
void |
testEqualsCaseInsensitive()
Tests the equals comparison. |
void |
testLike()
Tests the like comparison. |
void |
testLikeCaseInsensitive()
Tests the like comparison. |
void |
testTrimHead()
Tests the trimHead() method. |
void |
testTrimTail()
Tests the trimTail() method. |
| 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 StringUtilsTest()
| Method Detail |
|---|
protected void setUp()
throws Exception
setUp in class junit.framework.TestCaseExceptionTestCase.setUp()
public void testEquals()
throws Exception
Exception - In case something went wrong.
public void testEqualsCaseInsensitive()
throws Exception
Exception - In case something went wrong.
public void testLike()
throws Exception
Exception - In case something went wrong.
public void testLikeCaseInsensitive()
throws Exception
Exception - In case something went wrong.
public void testTrimHead()
throws Exception
Exception - In case something went wrong.
public void testTrimTail()
throws Exception
Exception - In case something went wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||