Index: Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/FileImporter/MacroStabilityInwardsStochasticSoilModelUpdateDataStrategyTest.cs =================================================================== diff -u -r31f59cfc48a6839453e372572d03ecc6ae6f0d00 -rda4a311b2ac60defe1a27a61c8d151f47268a941 --- Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/FileImporter/MacroStabilityInwardsStochasticSoilModelUpdateDataStrategyTest.cs (.../MacroStabilityInwardsStochasticSoilModelUpdateDataStrategyTest.cs) (revision 31f59cfc48a6839453e372572d03ecc6ae6f0d00) +++ Ringtoets/MacroStabilityInwards/test/Ringtoets.MacroStabilityInwards.Plugin.Test/FileImporter/MacroStabilityInwardsStochasticSoilModelUpdateDataStrategyTest.cs (.../MacroStabilityInwardsStochasticSoilModelUpdateDataStrategyTest.cs) (revision da4a311b2ac60defe1a27a61c8d151f47268a941) @@ -100,14 +100,14 @@ var targetCollection = new MacroStabilityInwardsStochasticSoilModelCollection(); targetCollection.AddRange(new[] { - new TestStochasticSoilModel(nonUniqueName) + new TestMacroStabilityInwardsStochasticSoilModel(nonUniqueName) }, sourceFilePath); var strategy = new MacroStabilityInwardsStochasticSoilModelUpdateDataStrategy(new MacroStabilityInwardsFailureMechanism()); var importedStochasticSoilModels = new[] { - new TestStochasticSoilModel(nonUniqueName), - new TestStochasticSoilModel(nonUniqueName) + new TestMacroStabilityInwardsStochasticSoilModel(nonUniqueName), + new TestMacroStabilityInwardsStochasticSoilModel(nonUniqueName) }; // Call @@ -130,8 +130,8 @@ var strategy = new MacroStabilityInwardsStochasticSoilModelUpdateDataStrategy(new MacroStabilityInwardsFailureMechanism()); var importedStochasticSoilModels = new[] { - new TestStochasticSoilModel(nonUniqueName), - new TestStochasticSoilModel(nonUniqueName) + new TestMacroStabilityInwardsStochasticSoilModel(nonUniqueName), + new TestMacroStabilityInwardsStochasticSoilModel(nonUniqueName) }; // Call @@ -149,7 +149,7 @@ public void UpdateModelWithImportedData_WithoutCurrentModelAndNoImportedModels_NoChangeNoNotification() { // Setup - IEnumerable importedStochasticSoilModels = Enumerable.Empty(); + IEnumerable importedStochasticSoilModels = Enumerable.Empty(); var strategy = new MacroStabilityInwardsStochasticSoilModelUpdateDataStrategy(new MacroStabilityInwardsFailureMechanism()); var targetCollection = new MacroStabilityInwardsStochasticSoilModelCollection(); @@ -165,15 +165,15 @@ public void UpdateModelWithImportedData_WithCurrentModelAndImportedModelWithOtherName_ModelReplaced() { // Setup - var existingModel = new TestStochasticSoilModel("existing"); + var existingModel = new TestMacroStabilityInwardsStochasticSoilModel("existing"); var failureMechanism = new MacroStabilityInwardsFailureMechanism(); failureMechanism.StochasticSoilModels.AddRange(new[] { existingModel }, sourceFilePath); var strategy = new MacroStabilityInwardsStochasticSoilModelUpdateDataStrategy(failureMechanism); - var readModel = new TestStochasticSoilModel("read"); + var readModel = new TestMacroStabilityInwardsStochasticSoilModel("read"); // Call IEnumerable affectedObjects = strategy.UpdateModelWithImportedData(new[] @@ -194,7 +194,7 @@ { // Setup const string modelsName = "same model"; - var existingModel = new TestStochasticSoilModel(modelsName); + var existingModel = new TestMacroStabilityInwardsStochasticSoilModel(modelsName); var failureMechanism = new MacroStabilityInwardsFailureMechanism(); MacroStabilityInwardsStochasticSoilModelCollection targetCollection = failureMechanism.StochasticSoilModels; @@ -204,7 +204,7 @@ }, sourceFilePath); var strategy = new MacroStabilityInwardsStochasticSoilModelUpdateDataStrategy(failureMechanism); - var readModel = new TestStochasticSoilModel(modelsName); + var readModel = new TestMacroStabilityInwardsStochasticSoilModel(modelsName); // Call IEnumerable affectedObjects = strategy.UpdateModelWithImportedData(new[] @@ -227,7 +227,7 @@ { // Setup const string modelsName = "same model"; - var existingModel = new TestStochasticSoilModel(modelsName); + var existingModel = new TestMacroStabilityInwardsStochasticSoilModel(modelsName); var failureMechanism = new MacroStabilityInwardsFailureMechanism(); MacroStabilityInwardsStochasticSoilModelCollection targetCollection = failureMechanism.StochasticSoilModels; @@ -261,7 +261,7 @@ { // Setup const string modelsName = "same model"; - var existingModel = new TestStochasticSoilModel(modelsName); + var existingModel = new TestMacroStabilityInwardsStochasticSoilModel(modelsName); var failureMechanism = new MacroStabilityInwardsFailureMechanism(); MacroStabilityInwardsStochasticSoilModelCollection targetCollection = failureMechanism.StochasticSoilModels; @@ -438,7 +438,7 @@ public void UpdateModelWithImportedData_CalculationWithOutputAssignedRemovedSoilModelAndProfile_CalculationUpdatedAndCalculationAndInputReturned() { // Setup - var existingModel = new TestStochasticSoilModel(); + var existingModel = new TestMacroStabilityInwardsStochasticSoilModel(); var calculation = new MacroStabilityInwardsCalculationScenario(); calculation.InputParameters.StochasticSoilModel = existingModel; calculation.InputParameters.StochasticSoilProfile = existingModel.StochasticSoilProfiles[0]; @@ -474,7 +474,7 @@ { // Setup const string modelsName = "same model"; - var existingModel = new TestStochasticSoilModel(modelsName); + var existingModel = new TestMacroStabilityInwardsStochasticSoilModel(modelsName); var failureMechanism = new MacroStabilityInwardsFailureMechanism(); MacroStabilityInwardsStochasticSoilModelCollection targetCollection = failureMechanism.StochasticSoilModels; @@ -485,7 +485,7 @@ MacroStabilityInwardsStochasticSoilProfile removedProfile = existingModel.StochasticSoilProfiles[0]; MacroStabilityInwardsStochasticSoilProfile unaffectedProfile = existingModel.StochasticSoilProfiles[1]; - MacroStabilityInwardsStochasticSoilModel readModel = new TestStochasticSoilModel(modelsName); + MacroStabilityInwardsStochasticSoilModel readModel = new TestMacroStabilityInwardsStochasticSoilModel(modelsName); readModel.StochasticSoilProfiles.RemoveAt(0); var calculationWithRemovedProfile = new MacroStabilityInwardsCalculationScenario();