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

Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
36a061c
Removed parsing of annotation text (params) from ut_annotations as an…
jgebal Oct 6, 2017
a29cabe
Removed duplicate `old_tests` for ut_annotations - the functionality …
jgebal Oct 6, 2017
58c6293
Renamed `ut_annotations` to `ut_annotation_parser` and moved to annot…
jgebal Oct 7, 2017
375a7ff
Removed ``ut_annotations` from uninstall script.
jgebal Oct 7, 2017
13703fa
Fixed failing old tests after refactoring.
jgebal Oct 7, 2017
ac23f15
Refactored ut_annotation_parser API to use `ut_annotations` collectio…
jgebal Oct 7, 2017
df2c763
Added cache mechanism to `ut_annotation_parser`.
jgebal Oct 8, 2017
6088c81
Added ability to get annotations for single object.
jgebal Oct 9, 2017
4ec9eb5
Reworking annotation cache - not to use cast(Collect()) on dba_source.
jgebal Oct 13, 2017
dbf2538
Fixed failing test and test for Wrapped package.
jgebal Oct 14, 2017
ca31e98
Added missing annotation manager.
jgebal Oct 14, 2017
289f006
Removed dbms_output from code.
jgebal Oct 14, 2017
8e26ed0
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
jgebal Oct 14, 2017
239abde
Add grant ut_annotation_manager to public
pesse Oct 16, 2017
6acd2ad
Add grant ut_annotation_manager to ut3_user
pesse Oct 16, 2017
e114aae
Merge branch 'develop' into feature/annotations_restructuring
jgebal Oct 17, 2017
b83e142
Fixed hardcoded schema-name
jgebal Oct 18, 2017
6dcaae9
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
jgebal Oct 18, 2017
aafca84
Refactored annotation cache.
jgebal Oct 22, 2017
cd394c7
Fixed test execution on 12.1.
jgebal Oct 23, 2017
73c15a2
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
jgebal Oct 23, 2017
5967a3a
Fixed test execution on 12.1.
jgebal Oct 23, 2017
1438753
Merge branch 'develop' into feature/annotations_restructuring
jgebal Oct 24, 2017
4f5d870
Merge conflicts cleanup
jgebal Oct 24, 2017
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
Merge remote-tracking branch 'upstream/develop' into feature/annotati…
…ons_restructuring

# Conflicts:
#	examples/demo_of_expectations/demo_equal_matcher.sql
  • Loading branch information
jgebal committed Oct 23, 2017
commit 73c15a2882838dbe1e894bb3af8b687e736a0765
12 changes: 12 additions & 0 deletions examples/demo_of_expectations/demo_equal_matcher.sql
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,10 @@ create or replace package demo_equal_matcher as
-- %displayname(Gives success when comparing null actual to a null expected)
procedure object_compare_null_both_ok;

-- %test
-- %displayname(Gives failure when comparing null actual to a null expected, setting null equal to false)
procedure object_compare_null_both_fail;

-- %test
-- %displayname(Gives failure when comparing identical objects containing different data)
procedure object_compare_different_data;
Expand Down Expand Up @@ -90,6 +94,14 @@ create or replace package body demo_equal_matcher as
ut.expect(anydata.convertObject(l_actual)).to_equal(anydata.convertObject(l_expected));
end;

procedure object_compare_null_both_fail is
l_expected demo_department;
l_actual demo_department;
begin
ut.expect(anydata.convertObject(l_actual)).to_equal(anydata.convertObject(l_expected),a_nulls_are_equal => false);
end;


procedure object_compare_different_data is
l_expected demo_department;
l_actual demo_department;
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.