Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/xwt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVsevolod Kukol <sevo@sevo.org>2015-02-13 12:21:25 +0300
committerVsevolod Kukol <sevo@sevo.org>2015-02-13 12:21:25 +0300
commita9afd6946d07ec50d29825eb700ae4f7f43246bb (patch)
treeb079d4a10cdd7cd203a84191c5daf0d9e86e5faa /Testing
parent305518fee9300285cb90a1bb00bedc2fd06620ea (diff)
[TEST] add RequiresSTA attribute for Wpf tests
tells nunit-console to create an STA thread when running WPF tests.
Diffstat (limited to 'Testing')
-rw-r--r--Testing/WpfTestRunner/WpfInit.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Testing/WpfTestRunner/WpfInit.cs b/Testing/WpfTestRunner/WpfInit.cs
index db2d593e..e624fcd0 100644
--- a/Testing/WpfTestRunner/WpfInit.cs
+++ b/Testing/WpfTestRunner/WpfInit.cs
@@ -25,6 +25,8 @@
// THE SOFTWARE.
using NUnit.Framework;
+[assembly:RequiresSTA]
+
namespace Xwt
{
[SetUpFixture]