Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7899067

Browse filesBrowse files
add private logFalseCondition method used in assert statements
1 parent d299c87 commit 7899067
Copy full SHA for 7899067

File tree

1 file changed

+7
-0
lines changed
Filter options

1 file changed

+7
-0
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/runner/UtplsqlRunner.java

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/runner/UtplsqlRunner.java
+7Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,13 @@ private void initRun() {
197197
panel.update(realtimeReporterId);
198198
}
199199

200+
private boolean logFalseCondition(boolean condition, Supplier<String> msgToLog) {
201+
if (!condition) {
202+
logger.severe(msgToLog);
203+
}
204+
return condition;
205+
}
206+
200207
private void doProcess(final PreRunEvent event) {
201208
run.setTotalNumberOfTests(event.getTotalNumberOfTests());
202209
run.put(event.getItems());

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.