kawigi.language
Class VBTestGenerator

java.lang.Object
  extended by kawigi.language.VBTestGenerator
All Implemented Interfaces:
TestGenerator

public class VBTestGenerator
extends java.lang.Object
implements TestGenerator


Constructor Summary
VBTestGenerator()
           
 
Method Summary
 java.lang.String getCode(ClassDecl cl)
          Returns VB.NET testing code for the problem statement's example test cases.
 void parseTests(java.lang.String tests, ClassDecl cl)
          Parses the testing code and creates test cases.
protected  java.lang.String toTest(java.lang.String[] input, EditorDataType[] types)
          Quick utility function to provide the code that should return the parameter list for the function.
protected static java.lang.String translateObject(EditorDataType type, java.lang.String value)
          Quck utility function to convert a string value from TC to code that creates that value in VB.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VBTestGenerator

public VBTestGenerator()
Method Detail

getCode

public java.lang.String getCode(ClassDecl cl)
Returns VB.NET testing code for the problem statement's example test cases.

Specified by:
getCode in interface TestGenerator

parseTests

public void parseTests(java.lang.String tests,
                       ClassDecl cl)
Parses the testing code and creates test cases.

Specified by:
parseTests in interface TestGenerator

toTest

protected java.lang.String toTest(java.lang.String[] input,
                                  EditorDataType[] types)
Quick utility function to provide the code that should return the parameter list for the function.


translateObject

protected static java.lang.String translateObject(EditorDataType type,
                                                  java.lang.String value)
Quck utility function to convert a string value from TC to code that creates that value in VB.