public override bool Setup() { log.InfoFormat("Policy Setup"); this.PreStartChecks(); this.photonHost = new PhotonApplicationHoster(); this.InitApplications(); return(true); }
public override void TearDown() { log.InfoFormat("Policy TearDown"); Thread.Sleep(1500); this.CloseApplications(); if (this.photonHost != null) { this.photonHost.Dispose(); this.photonHost = null; } }
public override bool Setup() { log.InfoFormat("Policy Setup"); this.PreStartChecks(); this.photonHost = new PhotonApplicationHoster(); Environment.CurrentDirectory = TestContext.CurrentContext.TestDirectory; this.InitApplications(); return(true); }