예제 #1
0
        protected override void TestInitialize()
        {
            base.TestInitialize();
            sutAdapter = BaseTestSite.GetAdapter <ISUTControlAdapter>();
            EnvironmentConfig.LoadParameters(BaseTestSite);
            server = new TestServer();
            server.Initialize(BaseTestSite);
            bool       isDeploy = EnvironmentConfig.TestDeployment;
            StackTrace trace    = new System.Diagnostics.StackTrace();

            StackFrame[] frames = trace.GetFrames();
            ValidationModel.Initialize(BaseTestSite, isDeploy);
            ValidationModel.Reset();
        }