Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssemblyResultTotalViewTest.cs =================================================================== diff -u -rc704dafc81a213131e51f78b19fee63c14a9a5a5 -rb35dbde97af05d1e6aadc97021145e495e101712 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssemblyResultTotalViewTest.cs (.../AssemblyResultTotalViewTest.cs) (revision c704dafc81a213131e51f78b19fee63c14a9a5a5) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/AssemblyResultTotalViewTest.cs (.../AssemblyResultTotalViewTest.cs) (revision b35dbde97af05d1e6aadc97021145e495e101712) @@ -142,8 +142,8 @@ var failureMechanismsWithoutProbablityLabel = (Label) tableLayoutPanel.GetControlFromPosition(0, 2); Assert.AreEqual("Groepen 3 en 4", failureMechanismsWithoutProbablityLabel.Text); Assert.IsInstanceOf(tableLayoutPanel.GetControlFromPosition(1, 0)); - Assert.IsInstanceOf(tableLayoutPanel.GetControlFromPosition(1, 1)); - Assert.IsInstanceOf(tableLayoutPanel.GetControlFromPosition(1, 2)); + Assert.IsInstanceOf(tableLayoutPanel.GetControlFromPosition(1, 1)); + Assert.IsInstanceOf(tableLayoutPanel.GetControlFromPosition(1, 2)); var datagridViewControl = (DataGridViewControl) new ControlTester("dataGridViewControl").TheObject; Assert.AreEqual(DockStyle.Fill, datagridViewControl.Dock); @@ -247,15 +247,15 @@ var calculatorfactory = (TestAssemblyToolCalculatorFactory) AssemblyToolCalculatorFactory.Instance; AssessmentSectionAssemblyCalculatorStub calculator = calculatorfactory.LastCreatedAssessmentSectionAssemblyCalculator; calculator.AssembleAssessmentSectionCategoryGroupOutput = AssessmentSectionAssemblyCategoryGroup.A; - calculator.AssembleFailureMechanismsAssemblyOutput = new AssessmentSectionAssembly(0.5, AssessmentSectionAssemblyCategoryGroup.APlus); - calculator.AssembleFailureMechanismsAssemblyCategoryGroupOutput = AssessmentSectionAssemblyCategoryGroup.B; + calculator.AssembleFailureMechanismsAssemblyOutput = new FailureMechanismAssembly(0.5, FailureMechanismAssemblyCategoryGroup.IIIt); + calculator.AssembleFailureMechanismsAssemblyCategoryGroupOutput = FailureMechanismAssemblyCategoryGroup.IVt; buttonTester.Click(); // Then AssertAssessmentSectionAssemblyCategoryGroupControl(totalControlName, "A"); - AssertAssessmentSectionAssemblyControl(failureMechanismsWithProbabilityControlName, "A+", "1/2"); - AssertAssessmentSectionAssemblyCategoryGroupControl(failureMechanismsWithoutProbabilityControlName, "B"); + AssertAssessmentSectionAssemblyControl(failureMechanismsWithProbabilityControlName, "IIIt", "1/2"); + AssertAssessmentSectionAssemblyCategoryGroupControl(failureMechanismsWithoutProbabilityControlName, "IVt"); } }