Skip to content
This repository has been archived by the owner on Feb 19, 2023. It is now read-only.

Commit

Permalink
feat: set FailCountLimit
Browse files Browse the repository at this point in the history
  • Loading branch information
CCXXXI committed Jul 13, 2022
1 parent 53b57f6 commit d576e1b
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions frmMain.vb
Original file line number Diff line number Diff line change
Expand Up @@ -1743,6 +1743,7 @@ LocalErrorHandler:
chkReportPassedTests.CheckState = System.Windows.Forms.CheckState.Unchecked
End If
chkReportPassedTests.Enabled = True
.FailCountLimit = DebugNumericUpDown.Value
End With

'update the statistics status bar
Expand Down Expand Up @@ -2626,4 +2627,12 @@ LocalErrorHandler:
Private Sub DebugCheckBox_CheckedChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DebugCheckBox.CheckedChanged
DebugNumericUpDown.Enabled = DebugCheckBox.Checked
End Sub

Private Sub DebugNumericUpDown_ValueChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DebugNumericUpDown.ValueChanged
Try
TestExecSL1.Testplan.Preference.FailCountLimit = DebugNumericUpDown.Value
Catch ex As AxHost.InvalidActiveXStateException
' Not activated yet. Just pass.
End Try
End Sub
End Class

0 comments on commit d576e1b

Please sign in to comment.