File tree 2 files changed +16
-1
lines changed
main/java/org/utplsql/sqldev/dal
test/java/org/utplsql/sqldev/tests
2 files changed +16
-1
lines changed Original file line number Diff line number Diff line change @@ -416,7 +416,7 @@ class UtplsqlDao {
416
416
' Yes ' AS multiselectable,
417
417
' Yes ' AS relevant
418
418
FROM test
419
- WHERE item_type = ' UT_TEST '
419
+ WHERE item_type IN ( ' UT_TEST ' , ' UT_SUITE ' )
420
420
UNION ALL
421
421
SELECT object_owner || ' . ' || object_name AS parent_id,
422
422
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 {
471
471
Assert . assertEquals(expected, actual)
472
472
473
473
}
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
+ }
474
489
475
490
@Test
476
491
def void issue56SuiteWithoutTests () {
You can’t perform that action at this time.
0 commit comments