Index: Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.IO/Exporters/MacroStabilityInwardsCalculationGroupExporter.cs =================================================================== diff -u -raf592f7409e88d522fad4ecd5fb8df24be19c00a -r9bb5d70c44fac8bdbb621c0c06b3f119bf7929e4 --- Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.IO/Exporters/MacroStabilityInwardsCalculationGroupExporter.cs (.../MacroStabilityInwardsCalculationGroupExporter.cs) (revision af592f7409e88d522fad4ecd5fb8df24be19c00a) +++ Riskeer/MacroStabilityInwards/src/Riskeer.MacroStabilityInwards.IO/Exporters/MacroStabilityInwardsCalculationGroupExporter.cs (.../MacroStabilityInwardsCalculationGroupExporter.cs) (revision 9bb5d70c44fac8bdbb621c0c06b3f119bf7929e4) @@ -123,6 +123,7 @@ { return false; } + exportedCalculations.Add(calculation); } @@ -134,6 +135,7 @@ { return false; } + exportedGroups.Add(nestedGroup); } } Index: Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.IO.Test/Exporters/MacroStabilityInwardsCalculationGroupExporterTest.cs =================================================================== diff -u -raf592f7409e88d522fad4ecd5fb8df24be19c00a -r9bb5d70c44fac8bdbb621c0c06b3f119bf7929e4 --- Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.IO.Test/Exporters/MacroStabilityInwardsCalculationGroupExporterTest.cs (.../MacroStabilityInwardsCalculationGroupExporterTest.cs) (revision af592f7409e88d522fad4ecd5fb8df24be19c00a) +++ Riskeer/MacroStabilityInwards/test/Riskeer.MacroStabilityInwards.IO.Test/Exporters/MacroStabilityInwardsCalculationGroupExporterTest.cs (.../MacroStabilityInwardsCalculationGroupExporterTest.cs) (revision 9bb5d70c44fac8bdbb621c0c06b3f119bf7929e4) @@ -219,7 +219,7 @@ void Call() => exportResult = exporter.Export(); // Assert - TestHelper.AssertLogMessagesWithLevelAreGenerated(Call, new [] + TestHelper.AssertLogMessagesWithLevelAreGenerated(Call, new[] { new Tuple($"Berekening '{calculation1.Name}' heeft geen uitvoer. Deze berekening wordt overgeslagen.", LogLevelConstant.Warn), new Tuple($"Berekening '{calculation2.Name}' heeft geen uitvoer. Deze berekening wordt overgeslagen.", LogLevelConstant.Warn) @@ -246,7 +246,7 @@ MacroStabilityInwardsCalculationScenario calculation2 = CreateCalculation("calculation2"); MacroStabilityInwardsCalculationScenario calculation3 = CreateCalculation("calculation3"); MacroStabilityInwardsCalculationScenario calculation4 = CreateCalculation("calculation4"); - + var rootCalculationGroup = new CalculationGroup(); var nestedGroup1 = new CalculationGroup {