Index: Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsViewInfoTest.cs =================================================================== diff -u -r682dfada6e821a0dd7cf3f6be9a2823eb72d9302 -r18afb4319e80cb3659e7b472533cba7360d70426 --- Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsViewInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsViewInfoTest.cs) (revision 682dfada6e821a0dd7cf3f6be9a2823eb72d9302) +++ Ringtoets/GrassCoverErosionOutwards/test/Ringtoets.GrassCoverErosionOutwards.Plugin.Test/ViewInfos/GrassCoverErosionOutwardsDesignWaterLevelCalculationsViewInfoTest.cs (.../GrassCoverErosionOutwardsDesignWaterLevelCalculationsViewInfoTest.cs) (revision 18afb4319e80cb3659e7b472533cba7360d70426) @@ -56,7 +56,7 @@ // Assert Assert.NotNull(info, "Expected a viewInfo definition for views with type {0}.", typeof(GrassCoverErosionOutwardsDesignWaterLevelCalculationsView)); Assert.AreEqual(typeof(GrassCoverErosionOutwardsDesignWaterLevelLocationsContext), info.DataType); - Assert.AreEqual(typeof(IEnumerable), info.ViewDataType); + Assert.AreEqual(typeof(IEnumerable), info.ViewDataType); Assert.AreEqual(typeof(GrassCoverErosionOutwardsDesignWaterLevelCalculationsView), info.ViewType); } } @@ -69,20 +69,20 @@ var assessmentSection = mockRepository.Stub(); mockRepository.ReplayAll(); - var expectedLocations = new ObservableList(); + var expectedCalculations = new ObservableList(); using (var plugin = new GrassCoverErosionOutwardsPlugin()) { ViewInfo info = GetInfo(plugin); // Call - object locations = info.GetViewData(new GrassCoverErosionOutwardsDesignWaterLevelLocationsContext( - expectedLocations, - assessmentSection, - new GrassCoverErosionOutwardsFailureMechanism())); + object calculations = info.GetViewData(new GrassCoverErosionOutwardsDesignWaterLevelLocationsContext( + expectedCalculations, + assessmentSection, + new GrassCoverErosionOutwardsFailureMechanism())); // Assert - Assert.AreSame(locations, expectedLocations); + Assert.AreSame(calculations, expectedCalculations); } mockRepository.VerifyAll(); @@ -104,10 +104,9 @@ var grassCoverErosionOutwardsFailureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - var context = new GrassCoverErosionOutwardsDesignWaterLevelLocationsContext( - new ObservableList(), - assessmentSection, - grassCoverErosionOutwardsFailureMechanism); + var context = new GrassCoverErosionOutwardsDesignWaterLevelLocationsContext(new ObservableList(), + assessmentSection, + grassCoverErosionOutwardsFailureMechanism); plugin.Gui = gui; plugin.Activate(); @@ -170,10 +169,9 @@ var grassCoverErosionOutwardsFailureMechanism = new GrassCoverErosionOutwardsFailureMechanism(); - var data = new GrassCoverErosionOutwardsDesignWaterLevelLocationsContext( - new ObservableList(), - assessmentSection, - grassCoverErosionOutwardsFailureMechanism); + var data = new GrassCoverErosionOutwardsDesignWaterLevelLocationsContext(new ObservableList(), + assessmentSection, + grassCoverErosionOutwardsFailureMechanism); plugin.Gui = gui; plugin.Activate();