public void CheckLastCallWasInProgressCall(uint expectedNComplete, uint expectedNTotal) { LastPwdCookie.Should().Be(cookieToReturn); // in-progress call should use the status bar cookie LastfInProgress.Should().Be(1); // should be 1 for all calls except "finished" LastnComplete.Should().Be(expectedNComplete); LastnTotal.Should().Be(expectedNTotal); }
public void CheckLastCallWasCleanup() { LastPwdCookie.Should().Be(cookieToReturn); // cleanup call should use the status bar cookie LastfInProgress.Should().Be(0); // "finished" LastnComplete.Should().Be(0); // completed and ignored progress arguments are ignored during cleanup LastnTotal.Should().Be(0); }
public void CheckLastCallWasSetupCall(uint expectedNComplete, uint expectedNTotal) { LastPwdCookie.Should().Be(0); // caller should have supplied 0 for the first call LastfInProgress.Should().Be(1); // should be 1 for all calls except "finished" LastnComplete.Should().Be(expectedNComplete); LastnTotal.Should().Be(expectedNTotal); }