Skip to content

Commit fd344d6

Browse files
show failures before errors (as in documentation reporter)
1 parent ec85b5f commit fd344d6

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

sqldev/src/main/java/org/utplsql/sqldev/ui/runner/RunnerPanel.xtend

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,9 @@ class RunnerPanel {
156156
c.weighty = 0
157157
basePanel.add(testCounterValueLabel, c)
158158

159-
// Error counter
160-
val errorCounterLabel = new JLabel(UtplsqlResources.getString("RUNNER_ERRORS_LABEL") + ":",
161-
UtplsqlResources.getIcon("ERROR_ICON"), JLabel::LEADING)
159+
// Failure counter
160+
val failureCounterLabel = new JLabel(UtplsqlResources.getString("RUNNER_FAILURES_LABEL") + ":",
161+
UtplsqlResources.getIcon("FAILURE_ICON"), JLabel::LEADING)
162162
c.gridx = 2
163163
c.gridy = 1
164164
c.gridwidth = 1
@@ -168,8 +168,8 @@ class RunnerPanel {
168168
c.fill = GridBagConstraints::NONE
169169
c.weightx = 0
170170
c.weighty = 0
171-
basePanel.add(errorCounterLabel, c)
172-
errorCounterValueLabel = new JLabel
171+
basePanel.add(failureCounterLabel, c)
172+
failureCounterValueLabel = new JLabel
173173
c.gridx = 3
174174
c.gridy = 1
175175
c.gridwidth = 1
@@ -179,11 +179,11 @@ class RunnerPanel {
179179
c.fill = GridBagConstraints::NONE
180180
c.weightx = 0
181181
c.weighty = 0
182-
basePanel.add(errorCounterValueLabel, c)
182+
basePanel.add(failureCounterValueLabel, c)
183183

184-
// Failure counter
185-
val failureCounterLabel = new JLabel(UtplsqlResources.getString("RUNNER_FAILURES_LABEL") + ":",
186-
UtplsqlResources.getIcon("FAILURE_ICON"), JLabel::LEADING)
184+
// Error counter
185+
val errorCounterLabel = new JLabel(UtplsqlResources.getString("RUNNER_ERRORS_LABEL") + ":",
186+
UtplsqlResources.getIcon("ERROR_ICON"), JLabel::LEADING)
187187
c.gridx = 4
188188
c.gridy = 1
189189
c.gridwidth = 1
@@ -193,8 +193,8 @@ class RunnerPanel {
193193
c.fill = GridBagConstraints::NONE
194194
c.weightx = 0
195195
c.weighty = 0
196-
basePanel.add(failureCounterLabel, c)
197-
failureCounterValueLabel = new JLabel
196+
basePanel.add(errorCounterLabel, c)
197+
errorCounterValueLabel = new JLabel
198198
c.gridx = 5
199199
c.gridy = 1
200200
c.gridwidth = 1
@@ -204,7 +204,7 @@ class RunnerPanel {
204204
c.fill = GridBagConstraints::NONE
205205
c.weightx = 0
206206
c.weighty = 0
207-
basePanel.add(failureCounterValueLabel, c)
207+
basePanel.add(errorCounterValueLabel, c)
208208

209209
// Progress bar
210210
progressBar = new JProgressBar

0 commit comments

Comments
 (0)