<snip>

Some requirements,
      * You should be able to pipeline all operations.
      * Failures of one message in the pipeline should not invalidate
        remaining operations.

---

Here is a bunch of examples that should all work in any situation.

The object will always start with the following orders,
 <Order A>
 <Order B>
 <Order C>

Task 1:

        The client wants to do the following,
         Delete <Order C>
         Insert <Order D> after <Order A>
         Delete <Order B>
        
        Expected result
         <Order A>
         <Order D>

Task 2:

        The client wants to do the following,
         Delete <Order A> (which will fail)
         Delete <Order B>
        
        Expected result
         <Order A>
         <Order C>

Task 3:

        The client wants to do the following,
         Delete <Order B> (which will fail)
         Delete <Order C>
        
        Expected result
         <Order A>
         <Order B>

Task 4:

        The client wants to do the following,
         Insert <Order D> after <Order A>
         Insert <Order E> after <Order C>
         Insert <Order F> before <Order E>
        
        Expected result
         <Order A>
         <Order D>
         <Order B>
         <Order C>
         <Order F>
         <Order E>

---

Tim 'Mithro' Ansell

_______________________________________________
tp-devel mailing list
[email protected]
http://www.thousandparsec.net/tp/mailman.php/listinfo/tp-devel

Reply via email to