Package | Description |
---|---|
uk.ac.sheffield.vtts.ground |
This package contains Broker@Cloud components that implement grounding,
or the translation of platform-neutral test suites to technology-specific
test suites that may be executed.
|
uk.ac.sheffield.vtts.model |
This package contains Broker@Cloud components for modelling service
specifications and test suites, and for modelling expressions in the formal
expression language.
|
Modifier and Type | Method and Description |
---|---|
void |
JaxRsGrounding.groundTestStep(TestStep testStep)
Translates one abstract TestStep into Java set-up and evaluation code.
|
void |
JavaGrounding.groundTestStep(TestStep testStep)
Translates one abstract TestStep into Java set-up and evaluation code.
|
void |
Grounding.groundTestStep(TestStep testStep)
Low level grounding method.
|
void |
JaxWsGrounding.groundTestStep(TestStep testStep)
Translates one abstract TestStep into Java set-up and evaluation code.
|
protected void |
JaxRsGrounding.writeFailureTestStep(TestStep testStep)
Prints out a method invocation expecting to throw an exception.
|
protected void |
AbstractGrounding.writeFailureTestStep(TestStep testStep)
Prints out a method invocation expecting to throw an exception.
|
protected void |
JaxRsGrounding.writeInitialTestStep(TestStep testStep)
Optionally prints out an assertion check on the result of the set-up
code that created the service.
|
protected void |
JavaGrounding.writeInitialTestStep(TestStep testStep)
Optionally prints out an assertion check on the result of the set-up
code that created the service.
|
protected void |
JaxWsGrounding.writeInitialTestStep(TestStep testStep)
Optionally prints out an assertion check on the result of the set-up
code that created the service.
|
protected void |
JaxRsGrounding.writeMetaDataAssertions(TestStep testStep)
Prints the JUnit assertions checking that the system executed the
expected scenario in this TestStep and ended in the expected state.
|
protected void |
AbstractGrounding.writeMetaDataAssertions(TestStep testStep)
Prints the JUnit assertions checking that the system executed the
expected scenario and ended in the expected state.
|
protected void |
JaxRsGrounding.writeNormalTestStep(TestStep testStep)
Prints out a method invocation expecting a normal return value.
|
protected void |
JavaGrounding.writeNormalTestStep(TestStep testStep)
Prints out a method invocation expecting a normal return value.
|
protected void |
JaxWsGrounding.writeNormalTestStep(TestStep testStep)
Prints out a method invocation expecting a normal return value.
|
Modifier and Type | Method and Description |
---|---|
TestStep |
TestStep.addOperation(Operation operation)
Adds the Operation exercised by this TestStep.
|
protected TestStep |
Service.generateTestStep(Event event)
Generates a single TestStep from an abstract Event.
|
TestStep |
TestStep.recordInputs(Operation attempted)
Records a snapshot of the Input bindings of an Operation.
|
TestStep |
TestStep.recordRefusal()
Rename this TestStep to indicate that it was refused.
|
TestStep |
TestStep.recordResults(Operation executed)
Records a snapshot of the Output or Failure bindings of an Operation.
|
TestStep |
TestStep.setName(java.lang.String name)
Sets the name of this TestStep.
|
TestStep |
TestStep.setState(java.lang.String state)
Sets the name of the expected target State.
|
TestStep |
TestStep.setVerify(boolean value)
Sets whether this TestStep step should be verified.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<TestStep> |
TestSequence.getTestSteps()
Returns the ordered list of TestSteps.
|