Skip to content

Commit

Permalink
Included multiple disposals to Replay UnitTests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeCampbell authored and Kirk Shoop (MS OPEN TECH) committed Feb 24, 2014
1 parent 98ad574 commit 0815ac7
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ public void Infinite_ReplayByTime()

scheduler.ScheduleAbsolute(600, () => subscription1.Dispose());
scheduler.ScheduleAbsolute(700, () => subscription2.Dispose());
scheduler.ScheduleAbsolute(800, () => subscription1.Dispose());
scheduler.ScheduleAbsolute(950, () => subscription3.Dispose());

scheduler.Start();
Expand Down Expand Up @@ -170,6 +171,7 @@ public void Infinite_ReplayOne()

scheduler.ScheduleAbsolute(600, () => subscription1.Dispose());
scheduler.ScheduleAbsolute(700, () => subscription2.Dispose());
scheduler.ScheduleAbsolute(800, () => subscription1.Dispose());
scheduler.ScheduleAbsolute(950, () => subscription3.Dispose());

scheduler.Start();
Expand Down Expand Up @@ -239,6 +241,7 @@ public void Infinite_ReplayMany()

scheduler.ScheduleAbsolute(600, () => subscription1.Dispose());
scheduler.ScheduleAbsolute(700, () => subscription2.Dispose());
scheduler.ScheduleAbsolute(800, () => subscription1.Dispose());
scheduler.ScheduleAbsolute(950, () => subscription3.Dispose());

scheduler.Start();
Expand Down

0 comments on commit 0815ac7

Please sign in to comment.