public void CloseTest() { TestLifeCycleEventArgs tlce = new TestLifeCycleEventArgs(test); try { test.Closing(); } catch (Exception e) { tlce.ExceptionInfo = BaseUtils.GetExceptionInfo(e); ExceptionInTest(this, tlce); } }
//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); }