org.jboss.axis.wsdl.toJava
Class JavaTestCaseWriter
java.lang.Object
org.jboss.axis.wsdl.toJava.JavaWriter (src)
org.jboss.axis.wsdl.toJava.JavaClassWriter (src)
org.jboss.axis.wsdl.toJava.JavaTestCaseWriter
- All Implemented Interfaces:
- Generator (src)
- public class JavaTestCaseWriter
- extends JavaClassWriter (src)
This is Wsdl2java's TestCase writer. It writes the TestCase.java file.
Method Summary |
protected java.lang.String |
getExtendsText()
Returns "extends junit.framework.TestCase ". |
void |
writeBindingAssignment(java.io.PrintWriter pw,
java.lang.String bindingType,
java.lang.String portName)
|
protected void |
writeFileBody(java.io.PrintWriter pw)
Write the body of the TestCase file. |
Methods inherited from class org.jboss.axis.wsdl.toJava.JavaClassWriter (src) |
getClassModifiers, getClassName, getClassText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaTestCaseWriter
protected JavaTestCaseWriter(Emitter (src) emitter,
ServiceEntry (src) sEntry,
SymbolTable (src) symbolTable)
- Constructor.
getExtendsText
protected java.lang.String getExtendsText()
- Returns "extends junit.framework.TestCase ".
- Overrides:
getExtendsText
in class JavaClassWriter (src)
- Returns:
- ""
writeFileBody
protected void writeFileBody(java.io.PrintWriter pw)
throws java.io.IOException
- Write the body of the TestCase file.
- Specified by:
writeFileBody
in class JavaWriter (src)
- Throws:
java.io.IOException
writeBindingAssignment
public final void writeBindingAssignment(java.io.PrintWriter pw,
java.lang.String bindingType,
java.lang.String portName)
throws java.io.IOException
- Throws:
java.io.IOException