Index: src/Deltares.DSoilModel.Forms.Tests/DSoilModelPluginTests.cs =================================================================== diff -u -r410 -r411 --- src/Deltares.DSoilModel.Forms.Tests/DSoilModelPluginTests.cs (.../DSoilModelPluginTests.cs) (revision 410) +++ src/Deltares.DSoilModel.Forms.Tests/DSoilModelPluginTests.cs (.../DSoilModelPluginTests.cs) (revision 411) @@ -5,6 +5,8 @@ using Deltares.Standard; using Deltares.Standard.Forms; using Deltares.Standard.Forms.DExpress; +using System.Windows.Forms; + using NUnit.Framework; namespace Deltares.DSoilModel.Forms.Tests @@ -31,8 +33,9 @@ mainForm.Register(plugin); mainForm.Visible = true; mainForm.CreateControl(); - - System.Windows.Forms.Application.DoEvents(); + + // allow events to be processed, plugin configuration + Application.DoEvents(); } [TestFixtureTearDown] @@ -76,7 +79,8 @@ { p.Project = new DSoilModelProject(); - System.Windows.Forms.Application.DoEvents(); + // allow events to be processed + Application.DoEvents(); return p.Project; }