コード例 #1
0
        public override bool Setup()
        {
            log.InfoFormat("Policy Setup");

            this.PreStartChecks();
            this.photonHost = new PhotonApplicationHoster();

            this.InitApplications();

            return(true);
        }
コード例 #2
0
        public override void TearDown()
        {
            log.InfoFormat("Policy TearDown");
            Thread.Sleep(1500);

            this.CloseApplications();

            if (this.photonHost != null)
            {
                this.photonHost.Dispose();
                this.photonHost = null;
            }
        }
コード例 #3
0
        public override bool Setup()
        {
            log.InfoFormat("Policy Setup");

            this.PreStartChecks();
            this.photonHost = new PhotonApplicationHoster();

            Environment.CurrentDirectory = TestContext.CurrentContext.TestDirectory;

            this.InitApplications();

            return(true);
        }