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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 2 additions & 2 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy