File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
sqldev/src/main/java/org/utplsql/sqldev/ui/runner Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,12 @@ class RunnerPanel {
62
62
def update (String reporterId ) {
63
63
val run = runs. get(reporterId)
64
64
val row = run. totalNumberOfCompletedTests - 1
65
+ val header = testOverviewTableModel. testIdColumnName
66
+ val idColumn = testOverviewTable. columnModel. getColumn(1 )
67
+ if (idColumn. headerValue != header) {
68
+ idColumn. headerValue = header
69
+ testOverviewTable. tableHeader. repaint
70
+ }
65
71
if (row < 0 ) {
66
72
testOverviewTableModel. fireTableDataChanged
67
73
} else {
Original file line number Diff line number Diff line change @@ -35,6 +35,14 @@ class TestOverviewTableModel extends DefaultTableModel {
35
35
this . commonPrefix = null
36
36
fireTableDataChanged()
37
37
}
38
+
39
+ def getTestIdColumnName () {
40
+ if (commonPrefix == = null ) {
41
+ return UtplsqlResources . getString(" RUNNER_TEST_ID" )
42
+ } else {
43
+ commonPrefix
44
+ }
45
+ }
38
46
39
47
override getRowCount () {
40
48
if (tests == = null ) {
You can’t perform that action at this time.
0 commit comments