SEBWIN-716, #323: Fixed unit test failing due to runtime window change.
This commit is contained in:
parent
0769cf6b4b
commit
c498ef9af1
1 changed files with 1 additions and 1 deletions
|
@ -475,7 +475,7 @@ namespace SafeExamBrowser.Runtime.UnitTests
|
||||||
sessionSequence.Raise(o => o.ProgressChanged += null, args);
|
sessionSequence.Raise(o => o.ProgressChanged += null, args);
|
||||||
|
|
||||||
runtimeWindow.Verify(s => s.SetValue(It.Is<int>(i => i == args.CurrentValue)), Times.Once);
|
runtimeWindow.Verify(s => s.SetValue(It.Is<int>(i => i == args.CurrentValue)), Times.Once);
|
||||||
runtimeWindow.Verify(s => s.SetIndeterminate(), Times.Once);
|
runtimeWindow.Verify(s => s.SetIndeterminate(), Times.Exactly(2));
|
||||||
runtimeWindow.Verify(s => s.SetMaxValue(It.Is<int>(i => i == args.MaxValue)), Times.Once);
|
runtimeWindow.Verify(s => s.SetMaxValue(It.Is<int>(i => i == args.MaxValue)), Times.Once);
|
||||||
runtimeWindow.Verify(s => s.Progress(), Times.Once);
|
runtimeWindow.Verify(s => s.Progress(), Times.Once);
|
||||||
runtimeWindow.Verify(s => s.Regress(), Times.Once);
|
runtimeWindow.Verify(s => s.Regress(), Times.Once);
|
||||||
|
|
Loading…
Reference in a new issue