Exemple #1
0
 /// <exception cref="System.Exception"></exception>
 public virtual void TestExceptionDuringItemUpdate()
 {
     ExceptionInUpdatingCallbackCorruptionTestCase.Holder holder = ((ExceptionInUpdatingCallbackCorruptionTestCase.Holder
                                                                     )RetrieveOnlyInstance(typeof(ExceptionInUpdatingCallbackCorruptionTestCase.Holder
                                                                                                  )));
     ExceptionInUpdatingCallbackCorruptionTestCase.Item item = ((ExceptionInUpdatingCallbackCorruptionTestCase.Item
                                                                 )RetrieveOnlyInstance(typeof(ExceptionInUpdatingCallbackCorruptionTestCase.Item)
                                                                                       ));
     holder.item = item;
     WithException(new _IBlock4_63(this, holder));
     CheckConsistencyFull();
 }
Exemple #2
0
 /// <exception cref="System.Exception"></exception>
 public virtual void TestExceptionDuringNewListUpdate()
 {
     ExceptionInUpdatingCallbackCorruptionTestCase.Holder holder = ((ExceptionInUpdatingCallbackCorruptionTestCase.Holder
                                                                     )RetrieveOnlyInstance(typeof(ExceptionInUpdatingCallbackCorruptionTestCase.Holder
                                                                                                  )));
     ExceptionInUpdatingCallbackCorruptionTestCase.Item item = ((ExceptionInUpdatingCallbackCorruptionTestCase.Item
                                                                 )RetrieveOnlyInstance(typeof(ExceptionInUpdatingCallbackCorruptionTestCase.Item)
                                                                                       ));
     holder.list = new ArrayList();
     holder.list.Add(item);
     WithException(new _IBlock4_88(this, holder));
     CheckConsistencyFull();
 }
Exemple #3
0
 public _IBlock4_88(ExceptionInUpdatingCallbackCorruptionTestCase _enclosing, ExceptionInUpdatingCallbackCorruptionTestCase.Holder
                    holder)
 {
     this._enclosing = _enclosing;
     this.holder     = holder;
 }