|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectkawigi.language.CPPTestGenerator
public class CPPTestGenerator
| Constructor Summary | |
|---|---|
CPPTestGenerator()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getCode(ClassDecl cl)
Returns the testing code for the problem statement's default testing cases. |
protected java.lang.String |
makeParameter(java.lang.String param,
EditorDataType type,
int number)
Declares a variable called p<number> from the type and value given. |
protected java.lang.String |
toArray(EditorDataType type,
java.lang.String name)
Declares an array of the same type as a vector. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CPPTestGenerator()
| Method Detail |
|---|
public java.lang.String getCode(ClassDecl cl)
getCode in interface TestGenerator
protected java.lang.String toArray(EditorDataType type,
java.lang.String name)
protected java.lang.String makeParameter(java.lang.String param,
EditorDataType type,
int number)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||