@@ -276,16 +276,16 @@ class UtplsqlDao {
276276 var sql = ' ' '
277277 WITH
278278 base AS (
279- SELECT rownum AS an_id,
280- o.object_owner,
281- o.object_type,
282- o.object_name,
283- lower(a.name) AS name,
284- a.text,
279+ SELECT rownum AS an_id,
280+ o.object_owner,
281+ o.object_type,
282+ o.object_name,
283+ lower(a.name) AS name,
284+ a.text,
285285 a.subobject_name
286286 FROM table(ut3.ut_annotation_manager.get_annotated_objects(user, ' PACKAGE ' )) o
287287 CROSS JOIN table(o.annotations) a
288- WHERE lower(a.name) in (' suite' ,' suitepath' , ' endcontext' ,' test' )
288+ WHERE lower(a.name) in (' suite' , ' suitepath' , ' endcontext' , ' test' )
289289 OR lower(a.name) = ' context' AND regexp_like(text, ' (\w+ )(\. \w+ )* ' )
290290 ),
291291 suite AS (
@@ -294,18 +294,18 @@ class UtplsqlDao {
294294 WHERE name = ' suite'
295295 ),
296296 suitepath as (
297- SELECT object_owner, object_type, object_name, text as suitepath
297+ SELECT object_owner, object_type, object_name, text AS suitepath
298298 FROM base
299299 WHERE name = ' suitepath'
300300 ),
301301 context_base AS (
302302 SELECT an_id,
303- lead(an_id) over (partition by object_owner, object_type, object_name order by an_id) an_id_end,
303+ lead(an_id) over (partition by object_owner, object_type, object_name order by an_id) AS an_id_end,
304304 object_owner,
305305 object_type,
306306 object_name,
307307 name,
308- lead(name) over (partition by object_owner, object_type, object_name order by an_id) name_end,
308+ lead(name) over (partition by object_owner, object_type, object_name order by an_id) AS name_end,
309309 text as context
310310 FROM base
311311 WHERE name IN (' context' , ' endcontext' )
@@ -317,14 +317,14 @@ class UtplsqlDao {
317317 AND name_end = ' endcontext'
318318 ),
319319 test AS (
320- SELECT b.an_id,
321- b.object_owner,
322- b.object_type,
320+ SELECT b.an_id,
321+ b.object_owner,
322+ b.object_type,
323323 b.object_name,
324324 p.suitepath,
325- c.context,
326- b.subobject_name,
327- b.text AS test_description
325+ c.context,
326+ b.subobject_name,
327+ b.text AS test_description
328328 FROM base b
329329 LEFT JOIN suitepath p
330330 ON p.object_owner = b.object_owner
@@ -334,11 +334,11 @@ class UtplsqlDao {
334334 ON c.object_owner = b.object_owner
335335 AND c.object_type = b.object_type
336336 AND c.object_name = b.object_name
337- AND b.an_id BETWEEN c.an_id AND c.an_id_end
337+ AND b.an_id BETWEEN c.an_id AND c.an_id_end
338338 WHERE name = ' test'
339339 AND (b.object_owner, b.object_type, b.object_name) IN (
340- select object_owner, object_type, object_name
341- from suite
340+ SELECT object_owner, object_type, object_name
341+ FROM suite
342342 )
343343 ),
344344 suite_tree AS (
@@ -390,7 +390,7 @@ class UtplsqlDao {
390390 substr(suitepath, 1, instr(suitepath || ' . ' , ' . ' , 1, g.pos) -1) AS suitepath
391391 FROM suitepath_base b
392392 JOIN gen g
393- On g.pos <= regexp_count(suitepath, ' \w+ ' )
393+ ON g.pos <= regexp_count(suitepath, ' \w+ ' )
394394 ),
395395 suitepath_tree AS (
396396 SELECT NULL AS parent_id,
0 commit comments