File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
sqldev/src/main/java/org/utplsql/sqldev Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -76,7 +76,7 @@ class UtplsqlWorksheet {
76
76
}
77
77
}
78
78
79
- def runTest() {
79
+ private def runTest() {
80
80
val worksheet = openWorksheet
81
81
worksheet.runScript
82
82
logger.fine(' ' ' utPLSQL test called for «path» in «connectionName». ' ' ' )
Original file line number Diff line number Diff line change @@ -34,10 +34,7 @@ class UtplsqlEditorController implements Controller {
34
34
35
35
override handleEvent (IdeAction action , Context context ) {
36
36
if (action. commandId == = UTLPLSQL_EDITOR_TEST_CMD_ID ) {
37
- val Runnable runnable = [|runTest(context)]
38
- val thread = new Thread (runnable)
39
- thread. name = " utPLSQL run test"
40
- thread. start
37
+ runTest(context)
41
38
return true
42
39
}
43
40
return false
@@ -78,7 +75,7 @@ class UtplsqlEditorController implements Controller {
78
75
connectionName = view. connectionName
79
76
}
80
77
val utPlsqlWorksheet = new UtplsqlWorksheet (path, connectionName)
81
- utPlsqlWorksheet. runTest
78
+ utPlsqlWorksheet. runTestAsync
82
79
}
83
80
}
84
81
}
You can’t perform that action at this time.
0 commit comments