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

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed examples and added examples to main examples run.
  • Loading branch information
jgebal committed Dec 14, 2016
commit 91fd6387db88904bd3d567db5cb66e7ca0f5e481
10 changes: 10 additions & 0 deletions examples/RunAllExamples.sql
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,13 @@ prompt RunExpectations
@@RunExpectations.sql
prompt RunWithDocumentationReporter
@@RunWithDocumentationReporter.sql

@@award_bonus/run_award_bonus_test.sql
--workaround for suite level cache
declare d date := sysdate; begin loop exit when d != sysdate; end loop; end;
/
@@between_string/run_betwnstr_test.sql
--workaround for suite level cache
declare d date := sysdate; begin loop exit when d != sysdate; end loop; end;
/
@@remove_rooms_by_name/run_remove_rooms_by_name_test.sql
2 changes: 1 addition & 1 deletion examples/award_bonus/run_award_bonus_test.sql
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@@employees.sql
@@employees_test.sql
@@award_bonus.sql
@@test_award_bonus.pkg

Expand Down
2 changes: 1 addition & 1 deletion examples/award_bonus/test_award_bonus.pkg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ create or replace package body test_award_bonus as
from employees_test where employee_id = gc_test_employee;

open not_affected for
select * from employees where employee_id <> gc_test_employee;
select * from employees_test where employee_id <> gc_test_employee;

--act
award_bonus(emp_id => gc_test_employee, sales_amt => c_sales_amount);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

set serveroutput on size unlimited format truncated

exec ut.run(user||'.test_betwnstr',ut_documentation_reporter());
exec ut.run(user||'.test_remove_rooms_by_name',ut_documentation_reporter());

drop package test_remove_rooms_by_name;
drop procedure remove_rooms_by_name;
Expand Down