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 03888bc

Browse filesBrowse files
set progress icon for running but not completed test
1 parent ad67b82 commit 03888bc
Copy full SHA for 03888bc

File tree

1 file changed

+14
-10
lines changed
Filter options
  • sqldev/src/main/java/org/utplsql/sqldev/model/runner

1 file changed

+14
-10
lines changed

‎sqldev/src/main/java/org/utplsql/sqldev/model/runner/Test.xtend

Copy file name to clipboardExpand all lines: sqldev/src/main/java/org/utplsql/sqldev/model/runner/Test.xtend
+14-10Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,20 @@ class Test extends Item {
3434

3535
def getStatusIcon() {
3636
var Icon icon = null
37-
if (counter !== null) {
38-
if (counter.success > 0) {
39-
icon = UtplsqlResources.getIcon("SUCCESS_ICON")
40-
} else if (counter.error > 0) {
41-
icon = UtplsqlResources.getIcon("ERROR_ICON")
42-
} else if (counter.failure > 0) {
43-
icon = UtplsqlResources.getIcon("FAILURE_ICON")
44-
} else if (counter.disabled > 0) {
45-
icon = UtplsqlResources.getIcon("DISABLED_ICON")
46-
}
37+
if (startTime !== null && endTime === null ) {
38+
icon = UtplsqlResources.getIcon("PROGRESS_ICON")
39+
} else {
40+
if (counter !== null) {
41+
if (counter.success > 0) {
42+
icon = UtplsqlResources.getIcon("SUCCESS_ICON")
43+
} else if (counter.error > 0) {
44+
icon = UtplsqlResources.getIcon("ERROR_ICON")
45+
} else if (counter.failure > 0) {
46+
icon = UtplsqlResources.getIcon("FAILURE_ICON")
47+
} else if (counter.disabled > 0) {
48+
icon = UtplsqlResources.getIcon("DISABLED_ICON")
49+
}
50+
}
4751
}
4852
return icon
4953
}

0 commit comments

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