[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [ebxml-iic] about Use Case #1
Jacques, Here are use cases #2 & 3, based
upon discussion, and modification of scripting. Cheers, Mike -----Original
Message----- Mike and all: Some thoughts following
the call today, about scripting of Use Case #1 : Propose to split the Use
Case #1 (see appended to this mail) into: Use Case #1a: same as
former #1, but remove the failure case where both Acceptance and Rejection
messages are received.
Use Case #1b: extends
#1a with the failure case where more than a single Acceptance or Rejection
message (1)- main thread does
single GetMessage for either Acceptance or Rejection message. Fail the test
case if more than one
(2)- spawn concurrently
an "exception" thread that will wait (sleep) for the max time (here
TImeToPerform) + some buffer time , and then does GetMessage for
additional Acceptance or Rejection messages (previous one has been masked). The
thread terminates with an Assertion that fails the test case if any is found
(Assertion when_false="exitFail" when_true="continue"). (3) both threads are
and-joined at the end. Once the and-joined is executed, we exit on success. Comments? Jacques
--------------------------------------
Test Case: (test
driver plays "buyer") Constraints: Success: Failure: Variant: --------------------------------------
Same as Use Case
#1a, plus: Additional
failure case: |
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]