Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/ClosingStructureResultViewTest.cs =================================================================== diff -u -rf1bf048f691ca575f22e8807911ace0338fa425d -rcd7fd343b85d2c9272033a59a0f1bc50bc8a8d0d --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/ClosingStructureResultViewTest.cs (.../ClosingStructureResultViewTest.cs) (revision f1bf048f691ca575f22e8807911ace0338fa425d) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/ClosingStructureResultViewTest.cs (.../ClosingStructureResultViewTest.cs) (revision cd7fd343b85d2c9272033a59a0f1bc50bc8a8d0d) @@ -39,13 +39,18 @@ [TestFixture] public class ClosingStructureResultViewTest { + private const int nameColumnIndex = 0; + private const int assessmentLayerOneIndex = 1; + private const int assessmentLayerTwoAIndex = 2; + private const int assessmentLayerThreeIndex = 3; + [Test] public void GivenFormWithClosingStructureFailureMechanismResultView_ThenExpectedColumnsAreVisible() { // Given using (var form = new Form()) - using (var view = new ClosingStructureResultView()) - { + using (var view = new ClosingStructureResultView()) + { form.Controls.Add(view); form.Show(); @@ -220,11 +225,6 @@ } } - private const int nameColumnIndex = 0; - private const int assessmentLayerOneIndex = 1; - private const int assessmentLayerTwoAIndex = 2; - private const int assessmentLayerThreeIndex = 3; - private void AssertCellIsDisabled(DataGridViewCell dataGridViewCell) { Assert.AreEqual(true, dataGridViewCell.ReadOnly);