Switch to RequiresSTA replacement attribute

- Add SetCompatibleWorkingDirectory to consistently change working directory
This commit is contained in:
John Lewin 2016-09-21 15:34:53 -07:00
parent ee52f24835
commit 0ac3ac311d
16 changed files with 121 additions and 100 deletions

View file

@ -27,18 +27,19 @@ of the authors and should not be interpreted as representing official policies,
either expressed or implied, of the FreeBSD Project.
*/
using System;
using System.Threading;
using MatterHackers.Agg.UI;
using MatterHackers.Agg.UI.Tests;
using MatterHackers.GuiAutomation;
using NUnit.Framework;
using System;
namespace MatterHackers.MatterControl.Tests.Automation
{
[TestFixture, Category("MatterControl.UI.Automation"), RunInApplicationDomain]
public class CheckBoxInLibraryIsClickable
{
[Test, RequiresSTA, RunInApplicationDomain]
[Test, Apartment(ApartmentState.STA), RunInApplicationDomain]
public void ClickOnLibraryCheckBoxes()
{
// Run a copy of MatterControl