|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--junit.framework.Assert | +--junit.framework.TestCase | +--net.firstpartners.nounit.utility.TestTextUtil
Tests the functions in the Util Class
Constructor Summary | |
TestTextUtil(java.lang.String name)
Constructor Required by Junit |
Method Summary | |
static void |
main(java.lang.String[] args)
Enable Junit to run this Class individually |
void |
setUp()
Method to setup logging test |
static junit.framework.Test |
suite()
Enable Junit to run this class |
void |
testRemove()
Test the remove funtionality |
void |
testRemoveTrailing()
Test the remove trailing functionality |
void |
testReplace()
Tests replace method |
void |
testReplaceAll()
Tests replaceAll method |
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, name, run, run, runBare, runTest, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assert, assert, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TestTextUtil(java.lang.String name)
name
- Method Detail |
public void setUp()
setUp
in class junit.framework.TestCase
public static void main(java.lang.String[] args)
args
- public static junit.framework.Test suite()
public void testReplace()
public void testReplaceAll()
public void testRemove()
public void testRemoveTrailing()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |