public void SetUp() { SbBreakpointLocation mockBreakpointLocation = Substitute.For <SbBreakpointLocation>(); mockBreakpointLocation.GetAddress().Returns((SbAddress)null); boundBreakpoint = new DebugBoundBreakpoint.Factory(null, null, null) .Create(null, mockBreakpointLocation, null, Guid.Empty); boundBreakpoint.Delete(); }
public void Delete() { var result = boundBreakpoint.Delete(); enum_BP_STATE[] state = new enum_BP_STATE[1]; boundBreakpoint.GetState(state); Assert.AreEqual(enum_BP_STATE.BPS_DELETED, state[0]); Assert.AreEqual(VSConstants.S_OK, result); }
public void Delete() { Assert.AreEqual(AD7Constants.E_BP_DELETED, boundBreakpoint.Delete()); }