Index: Riskeer/Common/test/Riskeer.Common.Forms.Test/Views/LocationCalculationsViewTest.cs =================================================================== diff -u -r818cad8d6d3258cbc9fc0606b9ceb6e89b038e77 -re923a11bf7b1c797019b44b5bd017d04c1870f32 --- Riskeer/Common/test/Riskeer.Common.Forms.Test/Views/LocationCalculationsViewTest.cs (.../LocationCalculationsViewTest.cs) (revision 818cad8d6d3258cbc9fc0606b9ceb6e89b038e77) +++ Riskeer/Common/test/Riskeer.Common.Forms.Test/Views/LocationCalculationsViewTest.cs (.../LocationCalculationsViewTest.cs) (revision e923a11bf7b1c797019b44b5bd017d04c1870f32) @@ -122,7 +122,7 @@ public void Constructor_DataGridViewCorrectlyInitialized() { // Setup & Call - ShowTestHydraulicBoundaryCalculationsView(); + ShowTestCalculatableView(); // Assert DataGridView dataGridView = ControlTestHelper.GetDataGridView(testForm, "dataGridView"); @@ -146,8 +146,8 @@ var button = (Button) testForm.Controls.Find("CalculateForSelectedButton", true).First(); Assert.IsFalse(button.Enabled); } - - [Test] + + [Test] public void HydraulicBoundaryCalculationsView_AssessmentSectionWithData_DataGridViewCorrectlyInitialized() { // Setup & Call @@ -398,11 +398,6 @@ return view; } - private void ShowTestHydraulicBoundaryCalculationsView() - { - ShowTestHydraulicBoundaryCalculationsView(new ObservableList()); - } - private TestHydraulicBoundaryCalculationsView ShowTestHydraulicBoundaryCalculationsView(IObservableEnumerable calculations) { var view = new TestHydraulicBoundaryCalculationsView(calculations, new AssessmentSectionStub());