|
||||||||||
| 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.davesag.generica.test.StringUtilsTest
StringUtilsTest is collection of all of the tests on the
StringUtils.
| Constructor Summary | |
StringUtilsTest()
null constructor |
|
StringUtilsTest(String name)
constructor that takes a test name |
|
| Method Summary | |
static Test |
suite()
test suite |
void |
testComplexFixSorts()
tests that we can turn a complex sort string into a hibernate ready sort command. |
void |
testGetIpNumberLocalhost()
tests that we can get an ip number for localhost |
void |
testListActors()
tests that we can get a list of actors from a param string. |
void |
testListPresenters()
tests that we can get a list of presenters from a param string. |
void |
testNullToBlank()
a quick test that the nullToBlank method
works. |
void |
testParseBlankParam()
tests that parsing a blank param string returns an empty Map. |
void |
testParseComplexParam()
tests that we can parse complex params. |
void |
testParseComplexParamWithWhiteSpace()
tests that we can parse complex params. |
void |
testParseNullParam()
tests that parsing a null param string returns an empty Map. |
void |
testParseSimpleNonDefaultParam()
tests that we can parse simple params. |
void |
testParseSimpleParam()
tests that we can parse simple params. |
void |
testParsingComplexPresentationParam()
tests that parsing a complex presentation param works okay. |
void |
testParsingMoreComplexPresentationParam()
tests that parsing a more complex presentation param works okay. |
void |
testParsingSimpleListParam()
tests that parsing a simple list param works okay. |
void |
testParsingSimplePresentationParam()
tests that parsing a simple presentation param works okay. |
void |
testSimpleFixSorts()
tests that we can turn a simple sort string into a hibernate ready sort command. |
String |
toString()
test name |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown |
| 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()
public StringUtilsTest(String name)
name - the name of this suite of tests| Method Detail |
public void testNullToBlank()
nullToBlank method
works.
public void testParseSimpleParam()
public void testParseSimpleNonDefaultParam()
public void testParseComplexParam()
public void testParseComplexParamWithWhiteSpace()
public void testParseNullParam()
public void testParseBlankParam()
public void testParsingSimplePresentationParam()
public void testParsingComplexPresentationParam()
public void testParsingMoreComplexPresentationParam()
public void testParsingSimpleListParam()
public void testSimpleFixSorts()
public void testComplexFixSorts()
public void testGetIpNumberLocalhost()
public void testListPresenters()
public void testListActors()
public static Test suite()
public String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||