Assertion component in environment services patterns
AssigneeAccenture LLP
InventorMichel K. Bowman-Amuah
Life of this patent
Estimating the term…
Loading patent…
AssigneeAccenture LLP
InventorMichel K. Bowman-Amuah
Estimating the term…
A system and method are provided for testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for the operation to be successful. Two types of assertion classes are provided, where one of the of the assertion classes implements assertion-checking logic and the other assertion class implements only null operations, and one of the assertion classes is selected to be raised. A first assertion is raised asserting a pre-condition that must evaluate to true if the operation is successful. The operation is then executed. A second assertion is raised asserting a post-condition that must evaluate to true if the operation is successful. An error message is outputted upon failure of at least one of the assertions, where the failed assertion implements assertion-checking logic.
A method for testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for an operation to be successful, comprising the steps of:
A computer program embodied on a computer readable medium for testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for the operation to be successful, comprising:
A system for testing successfulness of an operation having pre-conditions and post-conditions that must be satisfied for the operation to be successful, comprising:
Dependencies are inferred from the claim text.