Skip to content

Commit f410bd0

Browse files
Merge pull request #61 from PhilippSalvisberg/issue_59
FIX #59 - always determine executable tests via annotation API before executing tests
2 parents 260f55a + 6a89971 commit f410bd0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

sqldev/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<!-- The Basics -->
66
<groupId>org.utplsql</groupId>
77
<artifactId>org.utplsql.sqldev</artifactId>
8-
<version>0.7.1</version>
8+
<version>0.7.2-SNAPSHOT</version>
99
<packaging>bundle</packaging>
1010
<properties>
1111
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

sqldev/src/main/java/org/utplsql/sqldev/menu/UtplsqlController.xtend

+2-2
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ class UtplsqlController implements Controller {
277277
connectionName = view.connectionName
278278
}
279279
logger.fine('''connectionName: «connectionName»''')
280-
val preferences = PreferenceModel.getInstance(Preferences.preferences)
281-
val parser = new UtplsqlParser(component.text, if (preferences.checkRunUtplsqlTest) {Connections.instance.getConnection(connectionName)} else {null}, owner)
280+
// issue 59 - always use a connection to ensure the utPL/SQL annotation API is used
281+
val parser = new UtplsqlParser(component.text, Connections.instance.getConnection(connectionName), owner)
282282
val position = component.caretPosition
283283
val path = parser.getPathAt(position)
284284
val utPlsqlWorksheet = new UtplsqlWorksheet(path.pathList, connectionName)

0 commit comments

Comments
 (0)