Index: Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresScenariosViewIntegrationTest.cs =================================================================== diff -u -rc899b9042ee83f3ac6d6213515d7edacfbe8c414 -rba2eefab3569d05ed59629b5d02dc8420bc1163a --- Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresScenariosViewIntegrationTest.cs (.../HeightStructuresScenariosViewIntegrationTest.cs) (revision c899b9042ee83f3ac6d6213515d7edacfbe8c414) +++ Ringtoets/HeightStructures/test/Ringtoets.HeightStructures.Integration.Test/HeightStructuresScenariosViewIntegrationTest.cs (.../HeightStructuresScenariosViewIntegrationTest.cs) (revision ba2eefab3569d05ed59629b5d02dc8420bc1163a) @@ -103,14 +103,14 @@ // Call - foreach (var profile in assessmentSection.HeightStructures.HeightStructures) + foreach (var structure in assessmentSection.HeightStructures.HeightStructures) { calculationsGroup.Children.Add(new HeightStructuresCalculation { - Name = NamingHelper.GetUniqueName(((CalculationGroup) view.Data).Children, profile.Name, c => c.Name), + Name = NamingHelper.GetUniqueName(((CalculationGroup) view.Data).Children, structure.Name, c => c.Name), InputParameters = { - Structure = profile + Structure = structure } }); } @@ -139,7 +139,7 @@ .Import(); CalculationGroup calculationsGroup = assessmentSection.HeightStructures.CalculationsGroup; - var view = new HeightStructuresScenariosView() + var view = new HeightStructuresScenariosView { Data = calculationsGroup, FailureMechanism = assessmentSection.HeightStructures @@ -150,14 +150,14 @@ var dataGridView = (DataGridView) new ControlTester("dataGridView").TheObject; - foreach (var profile in assessmentSection.HeightStructures.HeightStructures) + foreach (var structure in assessmentSection.HeightStructures.HeightStructures) { calculationsGroup.Children.Add(new HeightStructuresCalculation { - Name = NamingHelper.GetUniqueName(calculationsGroup.Children, profile.Name, c => c.Name), + Name = NamingHelper.GetUniqueName(calculationsGroup.Children, structure.Name, c => c.Name), InputParameters = { - Structure = profile + Structure = structure } }); } @@ -192,7 +192,7 @@ filePath) .Import(); - var view = new HeightStructuresScenariosView() + var view = new HeightStructuresScenariosView { Data = assessmentSection.HeightStructures.CalculationsGroup, FailureMechanism = assessmentSection.HeightStructures @@ -202,14 +202,14 @@ var dataGridView = (DataGridView) new ControlTester("dataGridView").TheObject; - foreach (var profile in assessmentSection.HeightStructures.HeightStructures) + foreach (var structure in assessmentSection.HeightStructures.HeightStructures) { assessmentSection.HeightStructures.CalculationsGroup.Children.Add(new HeightStructuresCalculation { - Name = NamingHelper.GetUniqueName(assessmentSection.HeightStructures.CalculationsGroup.Children, profile.Name + "Calculation", c => c.Name), + Name = NamingHelper.GetUniqueName(assessmentSection.HeightStructures.CalculationsGroup.Children, structure.Name + "Calculation", c => c.Name), InputParameters = { - Structure = profile + Structure = structure } }); }