public void TestFixtureSetup()
		{
			_outlookapp = new WsApplication(new MSOutlook.Application(), false);
			_oif = new OutlookIImplFactory();
			_wsUtilities = _oif.CreateUtilities();
			Disable();
		}
Beispiel #2
0
		public void TestFixtureTearDown()
		{
			if (_wsUtilities != null)
			{
				_wsUtilities.Cleanup();
				_wsUtilities = null;
			}
			_oif = null;

			_outlookapp.Quit();
		    _outlookapp.Dispose();
			_outlookapp = null;

			GC.Collect();
			GC.WaitForPendingFinalizers();
            GC.Collect();
		}