private void ProcessTestFail(MethodNode method) { playModeLogger.FailLog(method.FullName); screenGUIDrawer.AddFailedTest(method.FullName); method.SetTestState(TestState.Failed); method.Logs = playModeLogger.LogsCopy; method.SetStep(0); if (OnMethodStateUpdated != null) { OnMethodStateUpdated(); } }
private void ProcessIgnore(MethodNode method) { testInfoData.AddIgnored(method.FullName); playModeLogger.IgnoreLog(method.FullName, method.TestSettings.IgnoreReason ?? "ignored by ignore attribute"); method.SetTestState(TestState.Ignored); method.Logs = playModeLogger.LogsCopy; method.SetStep(0); if (OnMethodStateUpdated != null) { OnMethodStateUpdated(); } }