private void SetTestCaseStatus() { var onlyBenignExceptions = InsertExceptionList.All(SkipException) && DeleteExceptionList.All(SkipException); Status = onlyBenignExceptions ? TestInsertDeleteCaseResultStatus.Success : TestInsertDeleteCaseResultStatus.Failure; }
public void AddInsertException(Exception e) => InsertExceptionList.Add(e);