Index: Ringtoets/Integration/src/Ringtoets.Integration.IO/Importers/HydraulicLocationConfigurationDatabaseImporter.cs =================================================================== diff -u -r82e011f6483819792f86f0f33e3b64b81acac480 -r683e5dc59d2690c17d88919223f7fbaf332974a7 --- Ringtoets/Integration/src/Ringtoets.Integration.IO/Importers/HydraulicLocationConfigurationDatabaseImporter.cs (.../HydraulicLocationConfigurationDatabaseImporter.cs) (revision 82e011f6483819792f86f0f33e3b64b81acac480) +++ Ringtoets/Integration/src/Ringtoets.Integration.IO/Importers/HydraulicLocationConfigurationDatabaseImporter.cs (.../HydraulicLocationConfigurationDatabaseImporter.cs) (revision 683e5dc59d2690c17d88919223f7fbaf332974a7) @@ -33,6 +33,7 @@ using Ringtoets.HydraRing.IO.HydraulicLocationConfigurationDatabase; using Ringtoets.Integration.IO.Handlers; using Ringtoets.Integration.IO.Properties; +using RingtoetsCommonIOResources = Ringtoets.Common.IO.Properties.Resources; namespace Ringtoets.Integration.IO.Importers { @@ -41,7 +42,7 @@ /// public class HydraulicLocationConfigurationDatabaseImporter : FileImporterBase { - private const int numberOfSteps = 2; + private const int numberOfSteps = 3; private readonly List changedObservables = new List(); private readonly IHydraulicLocationConfigurationDatabaseUpdateHandler updateHandler; private readonly HydraulicBoundaryDatabase hydraulicBoundaryDatabase; @@ -177,6 +178,7 @@ private void AddHydraulicLocationConfigurationSettingsToDataModel(ReadHydraulicLocationConfigurationDatabaseSettings readHydraulicLocationConfigurationDatabaseSettings) { + NotifyProgress(RingtoetsCommonIOResources.Importer_ProgressText_Adding_imported_data_to_AssessmentSection, 3, numberOfSteps); changedObservables.AddRange(updateHandler.Update(ImportTarget, readHydraulicLocationConfigurationDatabaseSettings, FilePath)); } Index: Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Importers/HydraulicLocationConfigurationDatabaseImporterTest.cs =================================================================== diff -u -r82e011f6483819792f86f0f33e3b64b81acac480 -r683e5dc59d2690c17d88919223f7fbaf332974a7 --- Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Importers/HydraulicLocationConfigurationDatabaseImporterTest.cs (.../HydraulicLocationConfigurationDatabaseImporterTest.cs) (revision 82e011f6483819792f86f0f33e3b64b81acac480) +++ Ringtoets/Integration/test/Ringtoets.Integration.IO.Test/Importers/HydraulicLocationConfigurationDatabaseImporterTest.cs (.../HydraulicLocationConfigurationDatabaseImporterTest.cs) (revision 683e5dc59d2690c17d88919223f7fbaf332974a7) @@ -1,4 +1,4 @@ -// Copyright (C) Stichting Deltares 2018. All rights reserved. +// Copyright (C) Stichting Deltares 2018. All rights reserved. // // This file is part of Ringtoets. // @@ -39,7 +39,7 @@ [TestFixture] public class HydraulicLocationConfigurationDatabaseImporterTest { - private const int totalNumberOfSteps = 2; + private const int totalNumberOfSteps = 3; private static readonly string testDataPath = TestHelper.GetTestDataPath(TestDataPath.Ringtoets.Integration.IO, nameof(HydraulicLocationConfigurationDatabaseImporter)); @@ -292,6 +292,7 @@ { new ProgressNotification("Inlezen van het hydraulische belastingen bestand.", 1, totalNumberOfSteps), new ProgressNotification("Inlezen van het hydraulische locatie configuratie bestand.", 2, totalNumberOfSteps), + new ProgressNotification("Geïmporteerde data toevoegen aan het traject.", 3, totalNumberOfSteps) }; ProgressNotificationTestHelper.AssertProgressNotificationsAreEqual(expectedProgressNotifications, progressChangeNotifications); mocks.VerifyAll();