コード例 #1
0
ファイル: TestController.cs プロジェクト: pradhan-v/plugster
        public void CloseTest()
        {
            TestLifeCycleEventArgs tlce = new TestLifeCycleEventArgs(test);

            try
            {
                test.Closing();
            }
            catch (Exception e)
            {
                tlce.ExceptionInfo = BaseUtils.GetExceptionInfo(e);
                ExceptionInTest(this, tlce);
            }
        }
コード例 #2
0
ファイル: TestController.cs プロジェクト: pradhan-v/plugster
        //public void StartExecute(object testobj)
        public void StartExecute()
        {
            TestLifeCycleEventArgs tlce = new TestLifeCycleEventArgs(test);

            TestStarted(this, tlce);

            try
            {
                test.ExecuteThis();
            }
            catch (Exception e)
            {
                tlce.ExceptionInfo = BaseUtils.GetExceptionInfo(e);
                ExceptionInTest(this, tlce);
            }
            TestFinished(this, tlce);
        }