Index: DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/CsvImporterTestsNew.cs =================================================================== diff -u -r4625 -r4638 --- DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/CsvImporterTestsNew.cs (.../CsvImporterTestsNew.cs) (revision 4625) +++ DamClients/DamUI/trunk/src/Dam/Deltares.Dam.Tests/CsvImporterTestsNew.cs (.../CsvImporterTestsNew.cs) (revision 4638) @@ -567,7 +567,7 @@ CreateScenariosFileWithIllegalValues(testFilePath); var csvImporterScenarios = new CsvImporterScenarios(testFilePath); IList scenarioRecords = csvImporterScenarios.ImportedItems; - Assert.IsEmpty(scenarioRecords); + Assert.That(scenarioRecords, Is.Empty); Assert.That(csvImporterScenarios.ErrorMessages.Count, Is.EqualTo(2)); } @@ -687,7 +687,7 @@ Assert.That(csvImporterSegments.ImportedItems.Count, Is.EqualTo(7672)); TimeSpan maxTime = TimeSpan.FromSeconds(6); // This is the time on the buildserver; local time was 2 seconds; // enlarged from 4 to 6 sec because code coverage was turned on on build server - Assert.Less(elapsed, maxTime); + Assert.That(elapsed, Is.LessThan(maxTime)); }); } @@ -829,7 +829,7 @@ CreateSoilsFileWithIllegalValues(testFilePath); var csvImporterSoils = new CsvImporterSoils(testFilePath); IList scenarioRecords = csvImporterSoils.ImportedItems; - Assert.IsEmpty(scenarioRecords); + Assert.That(scenarioRecords, Is.Empty); Assert.That(csvImporterSoils.ErrorMessages.Count, Is.EqualTo(3)); }