mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-25 19:38:37 +08:00
30 lines
597 B
C#
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;
|
|
}
|
|
}
|
|
} |