Files
mRemoteNG/mRemoteNGTests/UI/Forms/OptionsFormSetupAndTeardown.cs
David Sparer 83414acb1d fix tests
2017-02-03 10:32:30 -07:00

30 lines
597 B
C#

using NUnit.Framework;
using mRemoteNG.UI.Forms;
namespace mRemoteNGTests.UI.Forms
{
public class OptionsFormSetupAndTeardown
{
protected frmOptions _optionsForm;
[OneTimeSetUp]
public void OnetimeSetup()
{
}
[SetUp]
public void Setup()
{
_optionsForm = new frmOptions();
_optionsForm.Show();
}
[TearDown]
public void Teardown()
{
_optionsForm.Dispose();
while (_optionsForm.Disposing) ;
_optionsForm = null;
}
}
}