public class JaxWsGrounding extends AbstractGrounding
dependency, metaCheck, stepIndex, testIndex, writer
Constructor and Description |
---|
JaxWsGrounding(java.io.PrintWriter stream)
Creates a JaxWsGrounding writing to a stream.
|
Modifier and Type | Method and Description |
---|---|
void |
groundTestSequence(TestSequence sequence)
Translates one abstract TestSequence into a JUnit test-method.
|
void |
groundTestStep(TestStep testStep)
Translates one abstract TestStep into Java set-up and evaluation code.
|
void |
groundTestSuite(TestSuite testSuite)
Translates an abstract TestSuite into a grounded suite of tests.
|
protected void |
writeClassComment(TestSuite testSuite)
Prints out a class-level comment for the JUnit test driver class
source file.
|
protected void |
writeDriverFields(TestSuite testSuite)
Prints out the private attributes used by the JUnit Test Driver class.
|
protected void |
writeInitialTestStep(TestStep testStep)
Optionally prints out an assertion check on the result of the set-up
code that created the service.
|
protected void |
writeNormalTestStep(TestStep testStep)
Prints out a method invocation expecting a normal return value.
|
protected void |
writePackageInfo(TestSuite testSuite)
Prints out package information at the head of the generated JUnit test
driver class source file.
|
protected void |
writeSystemSetUp(TestSuite testSuite)
Prints out the set-up method for creating the System-Under-Test.
|
setMetaCheck, useEndpoint, useSourcePackage, useTargetPackage, writeDriverConstructor, writeFactoryValue, writeFailureTestStep, writeInputList, writeJavaType, writeJavaValue, writeLiteralValue, writeMetaDataAssertions, writeMethodComment, writeOutputList, writeResultAssertions, writeResultVariables, writeVoidAssertion
public JaxWsGrounding(java.io.PrintWriter stream)
stream
- the output stream.public void groundTestSuite(TestSuite testSuite)
testSuite
- the abstract TestSuite.public void groundTestSequence(TestSequence sequence)
sequence
- the high-level test sequence.public void groundTestStep(TestStep testStep)
testStep
- the high-level test step.protected void writePackageInfo(TestSuite testSuite)
testSuite
- the TestSuite.protected void writeDriverFields(TestSuite testSuite)
testSuite
- the TestSuite.protected void writeSystemSetUp(TestSuite testSuite)
testSuite
- the test suite.protected void writeClassComment(TestSuite testSuite)
testSuite
- the TestSuite.protected void writeInitialTestStep(TestStep testStep)
testStep
- the TestStep.protected void writeNormalTestStep(TestStep testStep)
testStep
- the TestStep to be translated.