File tree Expand file tree Collapse file tree 2 files changed +16
-1
lines changed
main/java/org/utplsql/sqldev/dal
test/java/org/utplsql/sqldev/tests Expand file tree Collapse file tree 2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ class UtplsqlDao {
416416 ' Yes ' AS multiselectable,
417417 ' Yes ' AS relevant
418418 FROM test
419- WHERE item_type = ' UT_TEST '
419+ WHERE item_type IN ( ' UT_TEST ' , ' UT_SUITE ' )
420420 UNION ALL
421421 SELECT object_owner || ' . ' || object_name AS parent_id,
422422 object_owner || ' . ' || object_name || ' . ' || item_name AS id,
Original file line number Diff line number Diff line change @@ -471,6 +471,21 @@ class DalTest extends AbstractJdbcTest {
471471 Assert . assertEquals(expected, actual)
472472
473473 }
474+
475+ @Test
476+ def void issue55SuiteWithoutTests () {
477+ setupAndTeardown
478+ jdbcTemplate. execute(' ' '
479+ CREATE OR REPLACE PACKAGE junit_utplsql_test_pkg IS
480+ -- %suite
481+
482+ END junit_utplsql_test_pkg;
483+ ' ' ' )
484+ val dao = new UtplsqlDao (dataSource. connection)
485+ val actualNodes = dao. runnables()
486+ Assert . assertEquals(4 , actualNodes. size)
487+ jdbcTemplate. execute(" DROP PACKAGE junit_utplsql_test_pkg" )
488+ }
474489
475490 @Test
476491 def void issue56SuiteWithoutTests () {
You can’t perform that action at this time.
0 commit comments