File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
sqldev/src/main/java/org/utplsql/sqldev/runner Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,6 @@ class UtplsqlRunner implements RealtimeReporterEventConsumer {
121
121
run. startTime = event. startTime
122
122
run. endTime = event. endTime
123
123
run. executionTime = event. executionTime
124
- run. counter = event. counter
125
124
run. errorStack = event. errorStack
126
125
run. serverOutput = event. serverOutput
127
126
run. status = String . format(UtplsqlResources . getString(" RUNNER_FINNISHED_TEXT" ), event. executionTime)
@@ -163,12 +162,18 @@ class UtplsqlRunner implements RealtimeReporterEventConsumer {
163
162
}
164
163
test. failedExpectations = event. failedExpectations
165
164
test. warnings = event. warnings
165
+ if (test. warnings !== null ) {
166
+ // it does not matter how many rows are used by utPLSQL to store a warning event
167
+ test. counter. warning = 1
168
+ } else {
169
+ test. counter. warning = 0
170
+ }
166
171
}
167
172
run. counter. disabled = run. counter. disabled + event. counter. disabled
168
173
run. counter. success = run. counter. success + event. counter. success
169
174
run. counter. failure = run. counter. failure + event. counter. failure
170
175
run. counter. error = run. counter. error + event. counter. error
171
- run. counter. warning = run. counter. warning + event . counter. warning
176
+ run. counter. warning = run. counter. warning + test . counter. warning
172
177
panel. update(reporterId)
173
178
}
174
179
You can’t perform that action at this time.
0 commit comments