private void TestInsertSpace() { long spacestart = 45898498; long spacestop = 50000000 + spacestart; int hr = m_pTrack.InsertSpace(spacestart, spacestop); DESError.ThrowExceptionForHR(hr); long start = 0, stop = 0; hr = m_pSourceObj1.GetStartStop(out start, out stop); DESError.ThrowExceptionForHR(hr); long objstop = 45898498; Debug.Assert(stop == objstop, "InsertSpace"); }
private void TestModifyStop() { int hr; long l1, l2; IAMTimelineObj pObj = (IAMTimelineObj)m_pSource1Src; hr = m_pSource1Src.ModifyStopTime(1200); DESError.ThrowExceptionForHR(hr); hr = pObj.GetStartStop(out l1, out l2); DESError.ThrowExceptionForHR(hr); Debug.Assert(l2 == 1200, "ModifyStopTime"); }