com.objectwave.tools
Class MethodBuilder.Test

java.lang.Object
  |
  +--com.objectwave.test.UnitTestBaseImpl
        |
        +--com.objectwave.tools.MethodBuilder.Test
All Implemented Interfaces:
UnitTest
Enclosing class:
MethodBuilder

public static class MethodBuilder.Test
extends UnitTestBaseImpl

Test case.

Version:
$Id: MethodBuilder.java,v 2.1 2002/03/23 14:03:00 dave_hoag Exp $
Author:
dave_hoag

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

MethodBuilder.Test

public MethodBuilder.Test()
Constructor for the Test object


MethodBuilder.Test

public MethodBuilder.Test(java.lang.String string)
Constructor for the Test object

Parameters:
string -
Method Detail

doThis

public java.lang.String doThis(java.lang.String one,
                               java.lang.String two)
Parameters:
one -
two -
Returns:
Description of the Return Value

name

public java.lang.String name()

printStr

public java.lang.String printStr(MethodBuilder.Test tst)
Print Str used for testing.

Parameters:
tst -
Returns:
Description of the Return Value

setUp

public void setUp(java.lang.String testName,
                  TestContext context)
Description copied from class: UnitTestBaseImpl
The JUnit setup method

Specified by:
setUp in interface UnitTest
Overrides:
setUp in class UnitTestBaseImpl
Parameters:
testName - The new up value
context - The new up value

show

public java.lang.String show(java.lang.String input)
Parameters:
input -
Returns:

testArrays

public void testArrays()

testDefineMethods

public void testDefineMethods()

testLitteral

public void testLitteral()

testMultipleArgs

public void testMultipleArgs()

testNestedInvocation

public void testNestedInvocation()

testNestedVariableManipulation

public void testNestedVariableManipulation()

testQuotes

public void testQuotes()

testReturnType

public void testReturnType()

testSimpleMath

public void testSimpleMath()

testSystemOut

public void testSystemOut()
Due to the fact that PrintStream has multiple println methods, we must declare the method we are to use!


testSystemOutTwo

public void testSystemOutTwo()

testVarAssignment

public void testVarAssignment()

testVariableManipulation

public void testVariableManipulation()

testVariableMath

public void testVariableMath()

testVars

public void testVars()

main

public static void main(java.lang.String[] args)