Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightCalculationsViewTest.cs =================================================================== diff -u -r8560f7a7b53b45ad9d2d4afc6172ffdd05342082 -r82189953ee9562a0cb73686eef4783764c153e31 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightCalculationsViewTest.cs (.../WaveHeightCalculationsViewTest.cs) (revision 8560f7a7b53b45ad9d2d4afc6172ffdd05342082) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/WaveHeightCalculationsViewTest.cs (.../WaveHeightCalculationsViewTest.cs) (revision 82189953ee9562a0cb73686eef4783764c153e31) @@ -242,7 +242,7 @@ public void WaveHeightCalculationsView_CalculationUpdated_DataGridViewCorrectlyUpdated() { // Setup - ObservableList hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); + IObservableEnumerable hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); ShowFullyConfiguredWaveHeightCalculationsView(hydraulicBoundaryLocationCalculations, testForm); @@ -267,7 +267,7 @@ public void WaveHeightCalculationsView_CalculationUpdated_IllustrationPointsControlCorrectlyUpdated() { // Setup - ObservableList hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); + IObservableEnumerable hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); ShowFullyConfiguredWaveHeightCalculationsView(hydraulicBoundaryLocationCalculations, testForm); @@ -289,7 +289,7 @@ var output = new TestHydraulicBoundaryLocationOutput(generalResult); // Call - HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation = hydraulicBoundaryLocationCalculations[2]; + HydraulicBoundaryLocationCalculation hydraulicBoundaryLocationCalculation = hydraulicBoundaryLocationCalculations.ElementAt(2); hydraulicBoundaryLocationCalculation.Output = output; hydraulicBoundaryLocationCalculation.NotifyObservers(); @@ -302,7 +302,7 @@ public void CalculateForSelectedButton_OneSelected_CallsCalculateWaveHeights() { // Setup - ObservableList hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); + IObservableEnumerable hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); WaveHeightCalculationsView view = ShowFullyConfiguredWaveHeightCalculationsView(hydraulicBoundaryLocationCalculations, testForm); @@ -386,7 +386,7 @@ mockRepository.ReplayAll(); - ObservableList hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); + IObservableEnumerable hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); WaveHeightCalculationsView view = ShowWaveHeightCalculationsView(hydraulicBoundaryLocationCalculations, assessmentSection, @@ -458,7 +458,7 @@ mockRepository.ReplayAll(); - ObservableList hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); + IObservableEnumerable hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); WaveHeightCalculationsView view = ShowWaveHeightCalculationsView(hydraulicBoundaryLocationCalculations, assessmentSection, @@ -529,7 +529,7 @@ mockRepository.ReplayAll(); - ObservableList hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); + IObservableEnumerable hydraulicBoundaryLocationCalculations = GetTestHydraulicBoundaryLocationCalculations(); WaveHeightCalculationsView view = ShowWaveHeightCalculationsView(hydraulicBoundaryLocationCalculations, assessmentSection, @@ -588,7 +588,7 @@ }); } - private static WaveHeightCalculationsView ShowWaveHeightCalculationsView(ObservableList calculations, + private static WaveHeightCalculationsView ShowWaveHeightCalculationsView(IObservableEnumerable calculations, IAssessmentSection assessmentSection, double norm, string categoryBoundaryName, @@ -605,7 +605,7 @@ return view; } - private static WaveHeightCalculationsView ShowFullyConfiguredWaveHeightCalculationsView(ObservableList calculations, + private static WaveHeightCalculationsView ShowFullyConfiguredWaveHeightCalculationsView(IObservableEnumerable calculations, Form form) { var assessmentSection = new ObservableTestAssessmentSectionStub();