Skip to content

Commit 6d20605

Browse files
add show successful/disabled tests to preferences dialog
1 parent bc5c26b commit 6d20605

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/preference/PreferencePanel.xtend

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ class PreferencePanel extends DefaultTraversablePanel {
5555
val JCheckBox showInfoCounterCheckBox = new JCheckBox
5656
val JCheckBox showWarningIndicatorCheckBox = new JCheckBox
5757
val JCheckBox showInfoIndicatorCheckBox = new JCheckBox
58+
val JCheckBox showSuccessfulTestsCheckBox = new JCheckBox
59+
val JCheckBox showDisabledTestsCheckBox = new JCheckBox
5860
val JCheckBox showTestDescriptionCheckBox = new JCheckBox
5961
val JCheckBox syncDetailTabCheckBox = new JCheckBox
6062
val JPanel generateTestPanel = new JPanel();
@@ -134,6 +136,12 @@ class PreferencePanel extends DefaultTraversablePanel {
134136
rrTab.add(
135137
runTab.field.label.withText(UtplsqlResources.getString("PREF_SHOW_INFO_INDICATOR_LABEL")).component(
136138
showInfoIndicatorCheckBox))
139+
rrTab.add(
140+
runTab.field.label.withText(UtplsqlResources.getString("PREF_SHOW_SUCCESSFUL_TESTS_LABEL")).component(
141+
showSuccessfulTestsCheckBox))
142+
rrTab.add(
143+
runTab.field.label.withText(UtplsqlResources.getString("PREF_SHOW_DISABLED_TESTS_LABEL")).component(
144+
showDisabledTestsCheckBox))
137145
rrTab.add(
138146
runTab.field.label.withText(UtplsqlResources.getString("PREF_SHOW_TEST_DESCRIPTION_LABEL")).component(
139147
showTestDescriptionCheckBox))
@@ -348,6 +356,8 @@ class PreferencePanel extends DefaultTraversablePanel {
348356
showInfoCounterCheckBox.selected = info.showInfoCounter
349357
showWarningIndicatorCheckBox.selected = info.showWarningIndicator
350358
showInfoIndicatorCheckBox.selected = info.showInfoIndicator
359+
showSuccessfulTestsCheckBox.selected = info.showSuccessfulTests
360+
showDisabledTestsCheckBox.selected = info.showDisabledTests
351361
showTestDescriptionCheckBox.selected = info.showTestDescription
352362
syncDetailTabCheckBox.selected = info.syncDetailTab
353363
testPackagePrefixTextField.text = info.testPackagePrefix
@@ -383,6 +393,8 @@ class PreferencePanel extends DefaultTraversablePanel {
383393
info.showInfoCounter = showInfoCounterCheckBox.selected
384394
info.showWarningIndicator = showWarningIndicatorCheckBox.selected
385395
info.showInfoIndicator = showInfoIndicatorCheckBox.selected
396+
info.showSuccessfulTests = showSuccessfulTestsCheckBox.selected
397+
info.showDisabledTests = showDisabledTestsCheckBox.selected
386398
info.showTestDescription = showTestDescriptionCheckBox.selected
387399
info.syncDetailTab = syncDetailTabCheckBox.selected
388400
info.testPackagePrefix = testPackagePrefixTextField.text

0 commit comments

Comments
 (0)