Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultViews/ClosingStructureResultViewTest.cs =================================================================== diff -u -rf1bf048f691ca575f22e8807911ace0338fa425d -r613f38574532f8701c9cebefaae68d247d60333a --- 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 613f38574532f8701c9cebefaae68d247d60333a) @@ -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);