Skip to content

Commit 66be251

Browse files
testing if normalizedUtPlsqlVersion returns a not null value
This test should succeed on a database without having utplsql installed. However, the test suite is not enhanced to work against a database without utplsql, that's simply not worth the effort.
1 parent 4b2e3ac commit 66be251

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

sqldev/src/test/java/org/utplsql/sqldev/test/dal/DalTest.xtend

+7
Original file line numberDiff line numberDiff line change
@@ -588,5 +588,12 @@ class DalTest extends AbstractJdbcTest {
588588
Assert.assertEquals("PACKAGE", actual)
589589
jdbcTemplate.execute("DROP PACKAGE junit_utplsql_test_pkg")
590590
}
591+
592+
@Test
593+
def void normalizedUtPlsqlVersion() {
594+
val dao = new UtplsqlDao(dataSource.connection)
595+
val version = dao.normalizedUtPlsqlVersion
596+
Assert.assertTrue(version !== null)
597+
}
591598

592599
}

0 commit comments

Comments
 (0)