diff options
author | Vsevolod Kukol <sevo@sevo.org> | 2015-02-13 12:21:25 +0300 |
---|---|---|
committer | Vsevolod Kukol <sevo@sevo.org> | 2015-02-13 12:21:25 +0300 |
commit | a9afd6946d07ec50d29825eb700ae4f7f43246bb (patch) | |
tree | b079d4a10cdd7cd203a84191c5daf0d9e86e5faa /Testing | |
parent | 305518fee9300285cb90a1bb00bedc2fd06620ea (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.cs | 2 |
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] |