/// <exception cref="System.Exception"></exception> public virtual void TestDelete() { Store(new Db4oIOExceptionTestCase.Item(3)); Db4oIOExceptionTestCase.Item item = (Db4oIOExceptionTestCase.Item)((Db4oIOExceptionTestCase.Item )RetrieveOnlyInstance(typeof(Db4oIOExceptionTestCase.Item))); Assert.Expect(typeof(Db4oIOException), new _ICodeBlock_55(this, item)); }
/// <exception cref="System.Exception"></exception> public virtual void TestActivate() { Store(new Db4oIOExceptionTestCase.Item(3)); Fixture().Config().ActivationDepth(1); Fixture().Reopen(this); Db4oIOExceptionTestCase.Item item = (Db4oIOExceptionTestCase.Item)((Db4oIOExceptionTestCase.Item )RetrieveOnlyInstance(typeof(Db4oIOExceptionTestCase.Item))); Assert.Expect(typeof(Db4oIOException), new _ICodeBlock_25(this, item)); }
/// <exception cref="System.Exception"></exception> public virtual void TestGetByUUID() { Fixture().Config().GenerateUUIDs(ConfigScope.Globally); Fixture().Reopen(this); Db4oIOExceptionTestCase.Item item = new Db4oIOExceptionTestCase.Item(1); Store(item); Db4oUUID uuid = Db().GetObjectInfo(item).GetUUID(); Fixture().Reopen(this); Assert.Expect(typeof(Db4oIOException), new _ICodeBlock_122(this, uuid)); }
public _ICodeBlock_25(Db4oIOExceptionTestCase _enclosing, Db4oIOExceptionTestCase.Item item) { this._enclosing = _enclosing; this.item = item; }