Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fb96511

Browse files
create object type and collection type for test_realtime_reporter
1 parent fc0f0e9 commit fb96511

4 files changed

Lines changed: 19 additions & 3 deletions

File tree

test/helpers/test_event_list.tps

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
create or replace type test_event_list as table of test_event_object;
2+
/

test/helpers/test_event_object.tps

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
declare
2+
l_exists integer;
3+
begin
4+
select count(1) into l_exists from user_types where type_name = 'TEST_EVENT_OBJECT';
5+
if l_exists > 0 then
6+
execute immediate 'drop type test_event_object force';
7+
end if;
8+
end;
9+
/
10+
11+
create or replace type test_event_object as object (
12+
event_type varchar2(1000),
13+
event_doc xmltype
14+
)
15+
/

test/helpers/test_xmltype_list.tps

Lines changed: 0 additions & 2 deletions
This file was deleted.

test/install_tests.sql

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ alter session set plsql_optimize_level=0;
1313
@@helpers/other_dummy_object.tps
1414
@@helpers/test_dummy_object.tps
1515
@@helpers/test_dummy_object_list.tps
16-
@@helpers/test_xmltype_list.tps
16+
@@helpers/test_event_object.tps
17+
@@helpers/test_event_list.tps
1718

1819
--Install tests
1920
@@core.pks

0 commit comments

Comments
 (0)