Skip to content

Commit aff919c

Browse files
committed
Add information about real and assumed utPLSQL-Version
1 parent 9c96f2a commit aff919c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/main/java/org/utplsql/api/compatibility/CompatibilityProxy.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,14 @@ public Version getUtPlsqlVersion() {
155155

156156
public Version getRealDbPlsqlVersion() { return realDbPlsqlVersion; }
157157

158+
public String getVersionDescription() {
159+
if ( utPlsqlVersion != realDbPlsqlVersion ) {
160+
return realDbPlsqlVersion.toString() + " (Assumed: " + utPlsqlVersion.toString();
161+
} else {
162+
return utPlsqlVersion.toString();
163+
}
164+
}
165+
158166
/**
159167
* Returns a TestRunnerStatement compatible with the current framework
160168
*

0 commit comments

Comments
 (0)