Index: Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/BackgroundMapDataSelectionDialogTest.cs =================================================================== diff -u -r06ebe792539a9463beb33a304ffc9b33dbf2fb5a -rd506ab6eea64d53852f6419f39493e3a326078b0 --- Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/BackgroundMapDataSelectionDialogTest.cs (.../BackgroundMapDataSelectionDialogTest.cs) (revision 06ebe792539a9463beb33a304ffc9b33dbf2fb5a) +++ Ringtoets/Integration/test/Ringtoets.Integration.Forms.Test/BackgroundMapDataSelectionDialogTest.cs (.../BackgroundMapDataSelectionDialogTest.cs) (revision d506ab6eea64d53852f6419f39493e3a326078b0) @@ -20,11 +20,13 @@ // All rights reserved. using System; +using System.Collections.Generic; using System.Drawing; using System.Threading; using System.Windows.Forms; using Core.Common.Controls.Dialogs; using Core.Common.TestUtil; +using Core.Components.DotSpatial.Forms.Views; using NUnit.Extensions.Forms; using NUnit.Framework; using RingtoetsCommonFormsResources = Ringtoets.Common.Forms.Properties.Resources; @@ -63,6 +65,12 @@ Bitmap expectedImage = icon.ToBitmap(); Bitmap actualImage = dialog.Icon.ToBitmap(); TestHelper.AssertImagesAreEqual(expectedImage, actualImage); + + var mapLayers = (ComboBox)new ComboBoxTester("mapLayerComboBox", dialog).TheObject; + Assert.AreEqual(ComboBoxStyle.DropDownList, mapLayers.DropDownStyle); + Assert.IsInstanceOf>(mapLayers.DataSource); + Assert.AreEqual("DisplayName", mapLayers.DisplayMember); + Assert.IsTrue(mapLayers.Sorted); } } }