From 0815ac71b524493483f4bb51196c3c0f892014f3 Mon Sep 17 00:00:00 2001 From: Lee Campbell Date: Sun, 23 Feb 2014 18:48:11 +0000 Subject: [PATCH] Included multiple disposals to Replay UnitTests --- .../Tests/Linq/Subjects/ReplaySubjectTest.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rx.NET/Source/Tests.System.Reactive/Tests/Linq/Subjects/ReplaySubjectTest.cs b/Rx.NET/Source/Tests.System.Reactive/Tests/Linq/Subjects/ReplaySubjectTest.cs index 7537e30499..e65e5d4543 100644 --- a/Rx.NET/Source/Tests.System.Reactive/Tests/Linq/Subjects/ReplaySubjectTest.cs +++ b/Rx.NET/Source/Tests.System.Reactive/Tests/Linq/Subjects/ReplaySubjectTest.cs @@ -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(); @@ -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(); @@ -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();