You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Added synonym and grant for matcher
Reworked expectation to work fine with syntax `to_( matcher() )` for to_be_within.
TODO - add tests for other matchers with `to_( matcher )` and `not_to( matcher )` syntax
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected dsinterval_unconstrained, a_is_pct number) return self as result is
31
+
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected dsinterval_unconstrained) return self as result is
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected yminterval_unconstrained, a_is_pct number) return self as result is
37
+
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected yminterval_unconstrained) return self as result is
Copy file name to clipboardExpand all lines: source/expectations/matchers/ut_be_within.tps
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -21,15 +21,15 @@ create or replace type ut_be_within under ut_comparison_matcher(
21
21
* Holds information about mather options
22
22
*/
23
23
distance_from_expected ut_data_value,
24
-
is_pct number(1,0),
25
-
26
-
member procedure init(self in out nocopy ut_be_within, a_distance_from_expected ut_data_value, a_is_pct number , a_self_type varchar2 := null),
27
-
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected number, a_is_pct number) return self as result,
28
-
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected dsinterval_unconstrained, a_is_pct number) return self as result,
29
-
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected yminterval_unconstrained, a_is_pct number) return self as result,
24
+
member procedure init(self in out nocopy ut_be_within, a_distance_from_expected ut_data_value),
25
+
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected number) return self as result,
26
+
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected dsinterval_unconstrained) return self as result,
27
+
constructor function ut_be_within(self in out nocopy ut_be_within, a_distance_from_expected yminterval_unconstrained) return self as result,
30
28
member procedure of_(self in ut_be_within, a_expected number),
31
29
member procedure of_(self in ut_be_within, a_expected date),
32
-
30
+
member function of_(self in ut_be_within, a_expected number) return ut_be_within,
31
+
member function of_(self in ut_be_within, a_expected date) return ut_be_within,
32
+
33
33
overriding member function run_matcher(self in out nocopy ut_be_within, a_actual ut_data_value) return boolean,
34
34
overriding member function failure_message(a_actual ut_data_value) return varchar2,
35
35
overriding member function failure_message_when_negated(a_actual ut_data_value) return varchar2
0 commit comments