public static void AssemblyInitialize(TestContext context) { InitialiseContainer(); ApplicationContext.SetupApplications(WebSite.LinkMe); MemberSearchHost.Start(); JobAdSearchHost.Start(); JobAdSortHost.Start(); ResourceSearchHost.Start(); }
private void Start() { try { MemberSearchHost.Start(chkSynchroniseIndex.Checked, chkRebuildIndex.Checked); JobAdSearchHost.Start(chkSynchroniseIndex.Checked, chkRebuildIndex.Checked); JobAdSortHost.Start(chkSynchroniseIndex.Checked, chkRebuildIndex.Checked); ResourceSearchHost.Start(chkSynchroniseIndex.Checked, chkRebuildIndex.Checked); JobG8Host.Start(); chkSynchroniseIndex.Enabled = false; chkRebuildIndex.Enabled = false; btnStart.Enabled = false; btnStop.Enabled = true; } catch (Exception ex) { new ExceptionDialog(ex, "Exception").ShowDialog(); } }
public void TestCleanup() { StopHosts(); ResourceSearchHost.Start(); }