×

Assertion component in environment services patterns

  • US 6,601,192 B1
  • Filed: 08/31/1999
  • Issued: 07/29/2003
  • Est. Priority Date: 08/31/1999
  • Status: Expired due to Term
First Claim
Patent Images

1. 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) providing two types of assertion classes, wherein one of the assertion classes implements assertion-checking logic and the other assertion class implements only null operations, wherein one of the assertion classes is selected to be raised;

    (b) raising a first assertion asserting a pre-condition that must evaluate to true if the operation is successful;

    (c) executing the operation;

    (d) raising a second assertion asserting a post-condition that must evaluate to true if the operation is successful; and

    (e) outputting an error message upon failure of at least one of the assertions, where the at least one assertion implements assertion-checking logic.

View all claims
  • 4 Assignments
Timeline View
Assignment View
    ×
    ×