File tree 2 files changed +21
-1
lines changed
Filter options
test/ut3_user/expectations
2 files changed +21
-1
lines changed
Original file line number Diff line number Diff line change @@ -957,6 +957,23 @@ Rows: [ 60 differences, showing first 20 ]
957
957
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
958
958
end;
959
959
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
+
960
977
procedure object_to_contain is
961
978
begin
962
979
--Arrange
@@ -967,7 +984,7 @@ Rows: [ 60 differences, showing first 20 ]
967
984
ut3_develop.ut.expect(g_test_actual).to_contain(g_test_expected);
968
985
ut.expect(ut3_tester_helper.main_helper.get_failed_expectations_num).to_equal(0);
969
986
end;
970
-
987
+
971
988
procedure arr_empty_eq_arr_empty_unord is
972
989
begin
973
990
--Arrange
Original file line number Diff line number Diff line change @@ -195,6 +195,9 @@ create or replace package test_expectation_anydata is
195
195
--%test( Success when anydata collection contains data from another anydata collection)
196
196
procedure collection_to_contain;
197
197
198
+ --%test( Success when anydata collection not contains data from another anydata collection)
199
+ procedure collection_not_to_contain;
200
+
198
201
--%test( Success when anydata object contains data from another anydata)
199
202
procedure object_to_contain;
200
203
You can’t perform that action at this time.
0 commit comments