Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs =================================================================== diff -u -r846d2015c3cb0995cc7badac536c3abf9954fe62 -r02aa5c4ae3ee7698a4cd0cd077037ff239350739 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs (.../StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs) (revision 846d2015c3cb0995cc7badac536c3abf9954fe62) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/Views/SectionResultRows/StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs (.../StrengthStabilityLengthwiseConstructionSectionResultRowTest.cs) (revision 02aa5c4ae3ee7698a4cd0cd077037ff239350739) @@ -92,7 +92,7 @@ Assert.IsInstanceOf>(row); Assert.AreEqual(result.SimpleAssessmentResult, row.SimpleAssessmentResult); Assert.AreEqual(result.TailorMadeAssessmentResult, row.TailorMadeAssessmentResult); - Assert.AreEqual(result.UseManualAssemblyCategoryGroup, row.UseManualAssemblyCategoryGroup); + Assert.AreEqual(result.UseManualAssembly, row.UseManualAssembly); Assert.AreEqual(result.ManualAssemblyCategoryGroup, row.ManualAssemblyCategoryGroup); IDictionary columnStateDefinitions = row.ColumnStateDefinitions; @@ -165,7 +165,7 @@ } [Test] - public void UseManualAssemblyCategoryGroup_SetNewValue_NotifyObserversAndPropertyChanged() + public void UseManualAssembly_SetNewValue_NotifyObserversAndPropertyChanged() { // Setup var mocks = new MockRepository(); @@ -177,20 +177,20 @@ var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section); result.Attach(observer); - bool newValue = !result.UseManualAssemblyCategoryGroup; + bool newValue = !result.UseManualAssembly; using (new AssemblyToolCalculatorFactoryConfig()) { var row = new StrengthStabilityLengthwiseConstructionSectionResultRow(result, ConstructionProperties); // Precondition - Assert.IsFalse(result.UseManualAssemblyCategoryGroup); + Assert.IsFalse(result.UseManualAssembly); // Call - row.UseManualAssemblyCategoryGroup = newValue; + row.UseManualAssembly = newValue; // Assert - Assert.AreEqual(newValue, result.UseManualAssemblyCategoryGroup); + Assert.AreEqual(newValue, result.UseManualAssembly); mocks.VerifyAll(); } } @@ -331,13 +331,13 @@ [Test] [TestCase(true)] [TestCase(false)] - public void Constructor_WithUseManualAssemblyCategoryGroupSet_ExpectedColumnStates(bool useManualAssemblyCategoryGroup) + public void Constructor_WithUseManualAssemblySet_ExpectedColumnStates(bool useManualAssembly) { // Setup FailureMechanismSection section = FailureMechanismSectionTestFactory.CreateFailureMechanismSection(); var result = new StrengthStabilityLengthwiseConstructionFailureMechanismSectionResult(section) { - UseManualAssemblyCategoryGroup = useManualAssemblyCategoryGroup + UseManualAssembly = useManualAssembly }; using (new AssemblyToolCalculatorFactoryConfig()) @@ -349,12 +349,12 @@ IDictionary columnStateDefinitions = row.ColumnStateDefinitions; DataGridViewControlColumnStateDefinitionTestHelper.AssertColumnState(columnStateDefinitions[ConstructionProperties.SimpleAssessmentResultIndex], - !useManualAssemblyCategoryGroup); + !useManualAssembly); DataGridViewControlColumnStateDefinitionTestHelper.AssertColumnState(columnStateDefinitions[ConstructionProperties.TailorMadeAssessmentResultIndex], - !useManualAssemblyCategoryGroup); + !useManualAssembly); - if (useManualAssemblyCategoryGroup) + if (useManualAssembly) { DataGridViewControlColumnStateDefinitionTestHelper.AssertColumnStateIsDisabled( columnStateDefinitions[ConstructionProperties.SimpleAssemblyCategoryGroupIndex]); @@ -365,7 +365,7 @@ } DataGridViewControlColumnStateDefinitionTestHelper.AssertColumnState(columnStateDefinitions[ConstructionProperties.ManualAssemblyCategoryGroupIndex], - useManualAssemblyCategoryGroup); + useManualAssembly); } }