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 {
7676 }
7777 }
7878
79- def runTest() {
79+ private def runTest() {
8080 val worksheet = openWorksheet
8181 worksheet.runScript
8282 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 {
3434
3535 override handleEvent (IdeAction action , Context context ) {
3636 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)
4138 return true
4239 }
4340 return false
@@ -78,7 +75,7 @@ class UtplsqlEditorController implements Controller {
7875 connectionName = view. connectionName
7976 }
8077 val utPlsqlWorksheet = new UtplsqlWorksheet (path, connectionName)
81- utPlsqlWorksheet. runTest
78+ utPlsqlWorksheet. runTestAsync
8279 }
8380 }
8481 }
You can’t perform that action at this time.
0 commit comments