[Test] // bug #325397 public void DisposeTest () { MockTransaction trans = new MockTransaction (); trans.Dispose (); Assert.IsFalse (trans.IsCommitted, "#1"); Assert.IsFalse (trans.IsRolledback, "#2"); Assert.IsTrue (trans.IsDisposed, "#3"); Assert.IsTrue (trans.Disposing, "#4"); }
public void DisposeTest() { MockTransaction trans = new MockTransaction(); trans.Dispose(); Assert.False(trans.IsCommitted); Assert.False(trans.IsRolledback); Assert.True(trans.IsDisposed); Assert.True(trans.Disposing); }
[TestMethod] // bug #325397 public void DisposeTest() { MockTransaction trans = new MockTransaction(); trans.Dispose(); Assert.IsFalse(trans.IsCommitted, "#1"); Assert.IsFalse(trans.IsRolledback, "#2"); Assert.IsTrue(trans.IsDisposed, "#3"); Assert.IsTrue(trans.Disposing, "#4"); }
public void DisposeTest() { MockTransaction trans = new MockTransaction(); trans.Dispose(); Assert.False(trans.IsCommitted); Assert.False(trans.IsRolledback); Assert.True(trans.IsDisposed); Assert.True(trans.Disposing); }