Skip to content

Commit

Permalink
create object type and collection type for test_realtime_reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilippSalvisberg committed Dec 31, 2018
1 parent fc0f0e9 commit fb96511
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
2 changes: 2 additions & 0 deletions test/helpers/test_event_list.tps
@@ -0,0 +1,2 @@
create or replace type test_event_list as table of test_event_object;
/
15 changes: 15 additions & 0 deletions test/helpers/test_event_object.tps
@@ -0,0 +1,15 @@
declare
l_exists integer;
begin
select count(1) into l_exists from user_types where type_name = 'TEST_EVENT_OBJECT';
if l_exists > 0 then
execute immediate 'drop type test_event_object force';
end if;
end;
/

create or replace type test_event_object as object (
event_type varchar2(1000),
event_doc xmltype
)
/
2 changes: 0 additions & 2 deletions test/helpers/test_xmltype_list.tps

This file was deleted.

3 changes: 2 additions & 1 deletion test/install_tests.sql
Expand Up @@ -13,7 +13,8 @@ alter session set plsql_optimize_level=0;
@@helpers/other_dummy_object.tps
@@helpers/test_dummy_object.tps
@@helpers/test_dummy_object_list.tps
@@helpers/test_xmltype_list.tps
@@helpers/test_event_object.tps
@@helpers/test_event_list.tps

--Install tests
@@core.pks
Expand Down

0 comments on commit fb96511

Please sign in to comment.