Index: Ringtoets/Revetment/test/Ringtoets.Revetment.Service.Test/WaveConditionsCalculationServiceBaseTest.cs =================================================================== diff -u -r173e8ea872d4b79f77fd309347d3e66bf158dc6f -r0bf82125822690e5a0a757815c6cb9a48aff83b4 --- Ringtoets/Revetment/test/Ringtoets.Revetment.Service.Test/WaveConditionsCalculationServiceBaseTest.cs (.../WaveConditionsCalculationServiceBaseTest.cs) (revision 173e8ea872d4b79f77fd309347d3e66bf158dc6f) +++ Ringtoets/Revetment/test/Ringtoets.Revetment.Service.Test/WaveConditionsCalculationServiceBaseTest.cs (.../WaveConditionsCalculationServiceBaseTest.cs) (revision 0bf82125822690e5a0a757815c6cb9a48aff83b4) @@ -68,7 +68,7 @@ public void Validate_DesignWaterLevelNameNull_ThrowArgumentNullException() { // Setup - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, string.Empty, 0, 0) }; @@ -92,7 +92,7 @@ var isValid = false; // Call - Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new WaveConditionsInput(), + Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new TestWaveConditionsInput(), GetValidNormativeAssessmentLevel(), string.Empty, validPreprocessorDirectory, @@ -119,7 +119,7 @@ string invalidFilePath = Path.Combine(testDataPath, "NonExisting.sqlite"); // Call - Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new WaveConditionsInput(), + Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new TestWaveConditionsInput(), GetValidNormativeAssessmentLevel(), invalidFilePath, validPreprocessorDirectory, @@ -146,7 +146,7 @@ const string invalidPreprocessorDirectory = "NonExistingPreprocessorDirectory"; // Call - Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new WaveConditionsInput(), + Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new TestWaveConditionsInput(), GetValidNormativeAssessmentLevel(), validFilePath, invalidPreprocessorDirectory, @@ -173,7 +173,7 @@ string dbFilePath = Path.Combine(testDataPath, "HRD nosettings.sqlite"); // Call - Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new WaveConditionsInput(), + Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(new TestWaveConditionsInput(), GetValidNormativeAssessmentLevel(), dbFilePath, validPreprocessorDirectory, @@ -198,7 +198,7 @@ // Setup var isValid = false; - var input = new WaveConditionsInput(); + var input = new TestWaveConditionsInput(); // Call Action action = () => isValid = new WaveConditionsCalculationService().PublicValidateWaveConditionsInput(input, @@ -226,7 +226,7 @@ // Setup var isValid = false; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new HydraulicBoundaryLocation(1, string.Empty, 0, 0) }; @@ -265,7 +265,7 @@ // Setup var isValid = false; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), Orientation = (RoundedDouble) 0, @@ -473,7 +473,7 @@ var b = (RoundedDouble) 0.8; var c = (RoundedDouble) 0.4; const double norm = 0.2; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(true), @@ -534,7 +534,7 @@ var b = (RoundedDouble) 0.8; var c = (RoundedDouble) 0.4; const double norm = 0.2; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(true), @@ -603,7 +603,7 @@ var b = (RoundedDouble) 0.8; var c = (RoundedDouble) 0.4; const double norm = 0.2; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(true), @@ -662,7 +662,7 @@ var waterLevelUpperBoundaryRevetment = new RoundedDouble(2, 4.00); var waterLevelLowerBoundaryRevetment = new RoundedDouble(2, 3.00); - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(), @@ -777,7 +777,7 @@ var b = (RoundedDouble) 0.8; var c = (RoundedDouble) 0.4; const double norm = 0.2; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(), @@ -843,7 +843,7 @@ var b = (RoundedDouble) 0.8; var c = (RoundedDouble) 0.4; const double norm = 0.2; - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(), @@ -880,7 +880,7 @@ private static WaveConditionsInput GetDefaultValidationInput() { - var input = new WaveConditionsInput + var input = new TestWaveConditionsInput { HydraulicBoundaryLocation = new TestHydraulicBoundaryLocation(), ForeshoreProfile = new TestForeshoreProfile(true),