mirror of
https://github.com/mRemoteNG/mRemoteNG.git
synced 2026-02-17 22:11:48 +08:00
32 lines
708 B
C#
32 lines
708 B
C#
using mRemoteNG.Connection;
|
|
using mRemoteNG.Connection.Protocol;
|
|
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(new ConnectionInitiator(new ProtocolFactory()));
|
|
_optionsForm.Show();
|
|
}
|
|
|
|
[TearDown]
|
|
public void Teardown()
|
|
{
|
|
_optionsForm.Dispose();
|
|
while (_optionsForm.Disposing) ;
|
|
_optionsForm = null;
|
|
}
|
|
}
|
|
} |