Fisheye: Tag 6822fd6eaad9812a0aeb49597fdf9536564a1889 refers to a dead (removed) revision in file `Ringtoets/Common/src/Ringtoets.Common.Data/AssemblyTool/AssemblyCategoryInput.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj
===================================================================
diff -u -r5b0e8c5af142efae756ed228ffd8ddbd8457474a -r6822fd6eaad9812a0aeb49597fdf9536564a1889
--- Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 5b0e8c5af142efae756ed228ffd8ddbd8457474a)
+++ Ringtoets/Common/src/Ringtoets.Common.Data/Ringtoets.Common.Data.csproj (.../Ringtoets.Common.Data.csproj) (revision 6822fd6eaad9812a0aeb49597fdf9536564a1889)
@@ -17,7 +17,6 @@
-
Fisheye: Tag 6822fd6eaad9812a0aeb49597fdf9536564a1889 refers to a dead (removed) revision in file `Ringtoets/Common/test/Ringtoets.Common.Data.Test/AssemblyTool/AssemblyCategoryInputTest.cs'.
Fisheye: No comparison available. Pass `N' to diff?
Index: Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj
===================================================================
diff -u -r5b0e8c5af142efae756ed228ffd8ddbd8457474a -r6822fd6eaad9812a0aeb49597fdf9536564a1889
--- Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision 5b0e8c5af142efae756ed228ffd8ddbd8457474a)
+++ Ringtoets/Common/test/Ringtoets.Common.Data.Test/Ringtoets.Common.Data.Test.csproj (.../Ringtoets.Common.Data.Test.csproj) (revision 6822fd6eaad9812a0aeb49597fdf9536564a1889)
@@ -20,7 +20,6 @@
-
Index: Ringtoets/Common/test/Ringtoets.Common.Service.Test/AssemblyTool/AssemblyToolCategoriesCalculationServiceTest.cs
===================================================================
diff -u -r7f7cb92f29ad73708c2346df6efd1c39fc29d41c -r6822fd6eaad9812a0aeb49597fdf9536564a1889
--- Ringtoets/Common/test/Ringtoets.Common.Service.Test/AssemblyTool/AssemblyToolCategoriesCalculationServiceTest.cs (.../AssemblyToolCategoriesCalculationServiceTest.cs) (revision 7f7cb92f29ad73708c2346df6efd1c39fc29d41c)
+++ Ringtoets/Common/test/Ringtoets.Common.Service.Test/AssemblyTool/AssemblyToolCategoriesCalculationServiceTest.cs (.../AssemblyToolCategoriesCalculationServiceTest.cs) (revision 6822fd6eaad9812a0aeb49597fdf9536564a1889)
@@ -29,9 +29,7 @@
using Ringtoets.AssemblyTool.KernelWrapper.Calculators.Categories;
using Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Calculators;
using Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Calculators.Categories;
-using Ringtoets.AssemblyTool.KernelWrapper.TestUtil.Kernels;
using Ringtoets.Common.Data.AssemblyTool;
-using Ringtoets.Common.Data.Exceptions;
using Ringtoets.Common.Service.AssemblyTool;
namespace Ringtoets.Common.Service.Test.AssemblyTool
@@ -46,15 +44,14 @@
var random = new Random(11);
double signalingNorm = random.NextDouble();
double lowerBoundaryNorm = random.NextDouble();
- var input = new AssemblyCategoryInput(signalingNorm, lowerBoundaryNorm);
using (new AssemblyToolCalculatorFactoryConfig())
{
var calculatorFactory = (TestAssemblyToolCalculatorFactory) AssemblyToolCalculatorFactory.Instance;
AssemblyCategoriesCalculatorStub calculator = calculatorFactory.LastCreatedAssemblyCategoriesCalculator;
// Call
- AssemblyToolCategoriesCalculationService.CalculateAssessmentSectionAssemblyCategories(input.SignalingNorm, input.LowerBoundaryNorm);
+ AssemblyToolCategoriesCalculationService.CalculateAssessmentSectionAssemblyCategories(signalingNorm, lowerBoundaryNorm);
// Assert
Assert.AreEqual(signalingNorm, calculator.SignalingNorm);
@@ -69,15 +66,14 @@
var random = new Random(11);
double signalingNorm = random.NextDouble();
double lowerBoundaryNorm = random.NextDouble();
- var input = new AssemblyCategoryInput(signalingNorm, lowerBoundaryNorm);
using (new AssemblyToolCalculatorFactoryConfig())
{
var calculatorFactory = (TestAssemblyToolCalculatorFactory) AssemblyToolCalculatorFactory.Instance;
AssemblyCategoriesCalculatorStub calculator = calculatorFactory.LastCreatedAssemblyCategoriesCalculator;
// Call
- AssessmentSectionAssemblyCategory[] output = AssemblyToolCategoriesCalculationService.CalculateAssessmentSectionAssemblyCategories(input.SignalingNorm, input.LowerBoundaryNorm).ToArray();
+ AssessmentSectionAssemblyCategory[] output = AssemblyToolCategoriesCalculationService.CalculateAssessmentSectionAssemblyCategories(signalingNorm, lowerBoundaryNorm).ToArray();
// Assert
AssessmentSectionAssemblyCategory[] calculatorOutput = calculator.AssessmentSectionCategoriesOutput.ToArray();
@@ -93,8 +89,6 @@
public void CalculateAssessmentSectionAssemblyCategories_CalculatorThrowsException_LogErrorAndReturnEmptyOutput()
{
// Setup
- var input = new AssemblyCategoryInput(0, 0);
-
using (new AssemblyToolCalculatorFactoryConfig())
{
var calculatorFactory = (TestAssemblyToolCalculatorFactory) AssemblyToolCalculatorFactory.Instance;
@@ -103,7 +97,7 @@
// Call
IEnumerable output = null;
- Action test = () => output = AssemblyToolCategoriesCalculationService.CalculateAssessmentSectionAssemblyCategories(input.SignalingNorm, input.LowerBoundaryNorm);
+ Action test = () => output = AssemblyToolCategoriesCalculationService.CalculateAssessmentSectionAssemblyCategories(0, 0);
// Assert
TestHelper.AssertLogMessagesWithLevelAndLoggedExceptions(test, tuples =>