public void ReadFail() { bool called = false; writer.read = true; Hookup(); diskManager.QueueRead(rig.Manager, 0, data, data.Length, delegate { called = true; }); CheckFail(); Assert.IsTrue(called, "#delegate called"); }
public void ReadFail() { bool called = false; writer.read = true; Hookup(); diskManager.QueueRead(rig.Manager, 0, data, data.Length, delegate { called = true; }); CheckFail(); Assert.IsTrue(called, "#delegate called"); }