Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8460a30

Browse filesBrowse files
committed
Update test
1 parent 0707b2d commit 8460a30
Copy full SHA for 8460a30

File tree

2 files changed

+21
-1
lines changed
Filter options

2 files changed

+21
-1
lines changed

‎test/ut3_user/expectations/test_expectation_anydata.pkb

Copy file name to clipboardExpand all lines: test/ut3_user/expectations/test_expectation_anydata.pkb
+18-1
Original file line numberDiff line numberDiff line change
@@ -957,6 +957,23 @@ Rows: [ 60 differences, showing first 20 ]
957957
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
958958
end;
959959

960+
procedure collection_not_to_contain is
961+
l_actual ut3_tester_helper.test_dummy_object_list;
962+
l_expected ut3_tester_helper.test_dummy_object_list;
963+
begin
964+
--Arrange
965+
select ut3_tester_helper.test_dummy_object( rownum, 'Something2 '||rownum, rownum+100)
966+
bulk collect into l_actual
967+
from dual connect by level <=4;
968+
select ut3_tester_helper.test_dummy_object( rownum, 'Something '||rownum, rownum)
969+
bulk collect into l_expected
970+
from dual connect by level <=2
971+
order by rownum desc;
972+
--Act
973+
ut3_develop.ut.expect(anydata.convertCollection(l_actual)).not_to_contain(anydata.convertCollection(l_expected));
974+
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
975+
end;
976+
960977
procedure object_to_contain is
961978
begin
962979
--Arrange
@@ -967,7 +984,7 @@ Rows: [ 60 differences, showing first 20 ]
967984
ut3_develop.ut.expect(g_test_actual).to_contain(g_test_expected);
968985
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
969986
end;
970-
987+
971988
procedure arr_empty_eq_arr_empty_unord is
972989
begin
973990
--Arrange

‎test/ut3_user/expectations/test_expectation_anydata.pks

Copy file name to clipboardExpand all lines: test/ut3_user/expectations/test_expectation_anydata.pks
+3
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,9 @@ create or replace package test_expectation_anydata is
195195
--%test( Success when anydata collection contains data from another anydata collection)
196196
procedure collection_to_contain;
197197

198+
--%test( Success when anydata collection not contains data from another anydata collection)
199+
procedure collection_not_to_contain;
200+
198201
--%test( Success when anydata object contains data from another anydata)
199202
procedure object_to_contain;
200203

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.