|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.objectwave.test.UnitTestBaseImpl | +--com.objectwave.tools.MethodBuilder.Test
Test case.
Field Summary |
Fields inherited from class com.objectwave.test.UnitTestBaseImpl |
testContext |
Constructor Summary | |
MethodBuilder.Test()
Constructor for the Test object |
|
MethodBuilder.Test(java.lang.String string)
Constructor for the Test object |
Method Summary | |
java.lang.String |
doThis(java.lang.String one,
java.lang.String two)
|
static void |
main(java.lang.String[] args)
|
java.lang.String |
name()
|
java.lang.String |
printStr(MethodBuilder.Test tst)
Print Str used for testing. |
void |
setUp(java.lang.String testName,
TestContext context)
The JUnit setup method |
java.lang.String |
show(java.lang.String input)
|
void |
testArrays()
|
void |
testDefineMethods()
|
void |
testLitteral()
|
void |
testMultipleArgs()
|
void |
testNestedInvocation()
|
void |
testNestedVariableManipulation()
|
void |
testQuotes()
|
void |
testReturnType()
|
void |
testSimpleMath()
|
void |
testSystemOut()
Due to the fact that PrintStream has multiple println methods, we must declare the method we are to use! |
void |
testSystemOutTwo()
|
void |
testVarAssignment()
|
void |
testVariableManipulation()
|
void |
testVariableMath()
|
void |
testVars()
|
Methods inherited from class com.objectwave.test.UnitTestBaseImpl |
createTest, removeFile, tearDown, writeFile, writeFileResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MethodBuilder.Test()
public MethodBuilder.Test(java.lang.String string)
string
- Method Detail |
public java.lang.String doThis(java.lang.String one, java.lang.String two)
one
- two
-
public java.lang.String name()
public java.lang.String printStr(MethodBuilder.Test tst)
tst
-
public void setUp(java.lang.String testName, TestContext context)
UnitTestBaseImpl
setUp
in interface UnitTest
setUp
in class UnitTestBaseImpl
testName
- The new up valuecontext
- The new up valuepublic java.lang.String show(java.lang.String input)
input
-
public void testArrays()
public void testDefineMethods()
public void testLitteral()
public void testMultipleArgs()
public void testNestedInvocation()
public void testNestedVariableManipulation()
public void testQuotes()
public void testReturnType()
public void testSimpleMath()
public void testSystemOut()
public void testSystemOutTwo()
public void testVarAssignment()
public void testVariableManipulation()
public void testVariableMath()
public void testVars()
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |