-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #868 from utPLSQL/release/v3.1.5
Release/v3.1.5
- Loading branch information
Showing
30 changed files
with
240 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.1.4 | ||
v3.1.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,60 @@ | ||
create or replace package body test_min_grant_user is | ||
|
||
procedure test_join_by_cursor is | ||
l_results clob; | ||
begin | ||
execute immediate 'begin ut3$user#.test_cursor_grants.run(); end;'; | ||
l_results := core.get_dbms_output_as_clob(); | ||
--Assert | ||
ut.expect( l_results ).to_be_like( '%execute join by test [% sec]' || | ||
'%1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)%' ); | ||
|
||
end; | ||
|
||
end; | ||
/ | ||
create or replace package body test_min_grant_user is | ||
|
||
procedure test_join_by_cursor is | ||
l_results clob; | ||
begin | ||
execute immediate 'begin ut3$user#.test_cursor_grants.run_test_join_by_cursor(); end;'; | ||
l_results := core.get_dbms_output_as_clob(); | ||
--Assert | ||
ut.expect( l_results ).to_be_like( '%execute join by test [% sec]' || | ||
'%1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)%' ); | ||
|
||
end; | ||
|
||
procedure test_equal_cursor is | ||
l_results clob; | ||
begin | ||
execute immediate 'begin ut3$user#.test_cursor_grants.run_test_equal_cursor(); end;'; | ||
l_results := core.get_dbms_output_as_clob(); | ||
--Assert | ||
ut.expect( l_results ).to_be_like( '%execute equal test [% sec]' || | ||
'%1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)%' ); | ||
|
||
end; | ||
|
||
procedure test_not_empty_cursor is | ||
l_results clob; | ||
begin | ||
execute immediate 'begin ut3$user#.test_cursor_grants.run_test_not_empty_cursor(); end;'; | ||
l_results := core.get_dbms_output_as_clob(); | ||
--Assert | ||
ut.expect( l_results ).to_be_like( '%execute not_empty test [% sec]' || | ||
'%1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)%' ); | ||
|
||
end; | ||
|
||
|
||
procedure test_have_count_cursor is | ||
l_results clob; | ||
begin | ||
execute immediate 'begin ut3$user#.test_cursor_grants.run_test_have_count_cursor(); end;'; | ||
l_results := core.get_dbms_output_as_clob(); | ||
--Assert | ||
ut.expect( l_results ).to_be_like( '%execute have_count test [% sec]' || | ||
'%1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)%' ); | ||
|
||
end; | ||
|
||
procedure test_empty_cursor is | ||
l_results clob; | ||
begin | ||
execute immediate 'begin ut3$user#.test_cursor_grants.run_test_empty_cursor(); end;'; | ||
l_results := core.get_dbms_output_as_clob(); | ||
--Assert | ||
ut.expect( l_results ).to_be_like( '%execute empty test [% sec]' || | ||
'%1 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)%' ); | ||
|
||
end; | ||
|
||
end; | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,22 @@ | ||
create or replace package test_min_grant_user is | ||
|
||
--%suite(minimum grant user tests) | ||
--%suitepath(utplsql.core) | ||
|
||
--%test(execute join by test) | ||
procedure test_join_by_cursor; | ||
|
||
end; | ||
/ | ||
create or replace package test_min_grant_user is | ||
|
||
--%suite(minimum grant user tests) | ||
--%suitepath(utplsql.core) | ||
|
||
--%test(execute join by test) | ||
procedure test_join_by_cursor; | ||
|
||
--%test(execute equal test) | ||
procedure test_equal_cursor; | ||
|
||
--%test(execute not_empty test) | ||
procedure test_not_empty_cursor; | ||
|
||
--%test(execute have_count test) | ||
procedure test_have_count_cursor; | ||
|
||
--%test(execute empty test) | ||
procedure test_empty_cursor; | ||
|
||
end; | ||
/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,4 @@ | ||
create or replace type test_dummy_object_list as table of test_dummy_object | ||
/ | ||
|
||
grant execute on test_dummy_object_list to ut3$user#; |
Oops, something went wrong.