|
|||||||
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 | +--com.ls.util.text.StringToolsTestCase
Test class for the WorkflowBean which contains the test of the method which will check for variables in the logic environment.
Constructor Summary | |
StringToolsTestCase(String name)
Constructor for the workflow bean test case |
Method Summary | |
static void |
main(String[] args)
use to run using kawa |
protected void |
setUp()
Setup the test replacement map containing the patterns and the replacement Strings |
static junit.framework.Test |
suite()
use to run more than one Test cases at the same time |
void |
testPatternRemovement()
Remove patterns from a source String |
void |
testPatternReplacement()
Replace pattern in a source string with it replacement |
void |
testPatternReplacements()
Replace patterns in a source string with it replacements |
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, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, 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 StringToolsTestCase(String name)
name
- Probably the name of the test.Method Detail |
protected void setUp()
setUp
in class junit.framework.TestCase
public void testPatternReplacements()
public void testPatternReplacement()
public void testPatternRemovement()
public static junit.framework.Test suite()
public static void main(String[] args)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |