Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsCalculationsViewTest.cs =================================================================== diff -u -rda4a311b2ac60defe1a27a61c8d151f47268a941 -r3c535420f957462c1d525a532dad033434bf2ab7 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsCalculationsViewTest.cs (.../MacroStabilityInwardsCalculationsViewTest.cs) (revision da4a311b2ac60defe1a27a61c8d151f47268a941) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Forms.Test/Views/MacroStabilityInwardsCalculationsViewTest.cs (.../MacroStabilityInwardsCalculationsViewTest.cs) (revision 3c535420f957462c1d525a532dad033434bf2ab7) @@ -398,7 +398,7 @@ var failureMechanism = new MacroStabilityInwardsFailureMechanism(); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, "path"); using (MacroStabilityInwardsCalculationsView macroStabilityInwardsCalculationsView = ShowMacroStabilityInwardsCalculationsView()) @@ -449,7 +449,7 @@ }, arbitrarySourcePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitrarySourcePath); using (MacroStabilityInwardsCalculationsView macroStabilityInwardsCalculationsView = ShowMacroStabilityInwardsCalculationsView()) @@ -524,7 +524,7 @@ }, arbitraryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitraryFilePath); using (MacroStabilityInwardsCalculationsView macroStabilityInwardsCalculationsView = ShowMacroStabilityInwardsCalculationsView()) @@ -570,7 +570,7 @@ }, arbitraryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitraryFilePath); failureMechanism.CalculationsGroup.Attach(observer); @@ -608,7 +608,7 @@ }, arbitryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitryFilePath); failureMechanism.CalculationsGroup.Attach(observer); @@ -719,7 +719,7 @@ // When failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, "path"); failureMechanism.NotifyObservers(); @@ -768,7 +768,7 @@ }, arbitraryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitraryFilePath); // Then @@ -794,7 +794,7 @@ }, arbitraryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitraryFilePath); macroStabilityInwardsCalculationsView.MacroStabilityInwardsFailureMechanism.NotifyObservers(); @@ -818,7 +818,7 @@ }, arbitraryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel() + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel() }, arbitraryFilePath); macroStabilityInwardsCalculationsView.MacroStabilityInwardsFailureMechanism = failureMechanism; @@ -1299,7 +1299,7 @@ }, arbirtraryFilePath); failureMechanism.StochasticSoilModels.AddRange(new[] { - new TestMacroStabilityInwardsStochasticSoilModel("name", new[] + MacroStabilityInwardsStochasticSoilModelTestFactory.CreateValidStochasticSoilModel("name", new[] { new Point2D(0.0, 0.0), new Point2D(5.0, 0.0)