public class JavaTestCaseWriter extends JavaClassWriter
Modifier and Type | Field and Description |
---|---|
protected ServiceEntry |
sEntry
Field sEntry
|
className, namespaces, packageName
emitter, LINE_LENGTH, type
Modifier | Constructor and Description |
---|---|
protected |
JavaTestCaseWriter(Emitter emitter,
ServiceEntry sEntry,
SymbolTable symbolTable)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected String |
getExtendsText()
Returns "extends junit.framework.TestCase ".
|
void |
writeBindingAssignment(PrintWriter pw,
String bindingType,
String portName)
Method writeBindingAssignment
|
protected void |
writeFileBody(PrintWriter pw)
Write the body of the TestCase file.
|
protected void |
writeServiceTestCode(PrintWriter pw,
String portName,
javax.wsdl.PortType portType,
BindingEntry bEntry)
Method writeServiceTestCode
|
protected void |
writeWSDLTestCode(PrintWriter pw,
String portName) |
getClassModifiers, getClassName, getClassText, getFileName, getImplementsText, getPackage, registerFile, writeFileFooter, writeFileHeader, writeHeaderComments, writePackage
closePrintWriter, generate, getJavadocDescriptionPart, getPrintWriter, isFileGenerated, verboseMessage, writeComment, writeComment
protected final ServiceEntry sEntry
protected JavaTestCaseWriter(Emitter emitter, ServiceEntry sEntry, SymbolTable symbolTable)
emitter
- sEntry
- symbolTable
- protected String getExtendsText()
getExtendsText
in class JavaClassWriter
protected void writeFileBody(PrintWriter pw) throws IOException
writeFileBody
in class JavaWriter
pw
- IOException
protected void writeWSDLTestCode(PrintWriter pw, String portName)
protected void writeServiceTestCode(PrintWriter pw, String portName, javax.wsdl.PortType portType, BindingEntry bEntry)
pw
- portName
- portType
- bEntry
- public void writeBindingAssignment(PrintWriter pw, String bindingType, String portName)
pw
- bindingType
- portName
- Copyright © The Apache Software Foundation. All Rights Reserved.