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

Skip to content

This commit fixes #78 issue.#128

Merged
jgebal merged 7 commits intoutPLSQL:version3from
proldan:version3
Dec 21, 2016
Merged

This commit fixes #78 issue.#128
jgebal merged 7 commits intoutPLSQL:version3from
proldan:version3

Conversation

@proldan
Copy link
Copy Markdown
Contributor

@proldan proldan commented Dec 16, 2016

Create new matchers:

  • be_less_than
  • be_less_or_equal
  • be_greater_than
  • be_greater_or_equal

Create new expectations for intervals:

  • ut_expectation_yminterval
  • ut_expectation_dsinterval

@jgebal
Copy link
Copy Markdown
Member

jgebal commented Dec 16, 2016

Fixes issue #76

@jgebal
Copy link
Copy Markdown
Member

jgebal commented Dec 16, 2016

@proldan can you resolve conflicts?

Copy link
Copy Markdown
Member

@jgebal jgebal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great contribution, few small issues to address, it's quite perfect except for that.

  • Please make sure there are no conflicts on merge
  • I'm not sure why travis didn;t pick up your build. Need to make sure it runs without issues.

Comment thread source/core/ut_utils.pks
tr_failure - one or more asserts failed
tr_error - exception was raised
*/
tr_ignore constant number(1) := 0; -- test/suite was ignored
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those changes are not needed.

Comment thread tests/sqlnet.log Outdated
@@ -0,0 +1,20 @@

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you remove this file?

Comment thread source/core/ut_utils.pkb Outdated
return coalesce(to_char(a_value,gc_timestamp_format), gc_null_string);
end;

function to_string(a_value yminterval_unconstrained) return VARCHAR2 IS
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

according to the naming convention we dont use uppercased keywords

@Pazus
Copy link
Copy Markdown
Member

Pazus commented Dec 17, 2016

Great job, @proldan ! Please address minor comments and PR will be merged.

@proldan
Copy link
Copy Markdown
Contributor Author

proldan commented Dec 20, 2016

  • Uppercase corrected
  • Removed file SQLNet.log

@jgebal
Copy link
Copy Markdown
Member

jgebal commented Dec 20, 2016

@proldan Thank you for the contribution.
Since you have added support for interval datatypes, could you add the new types for be_between matcher. This would make the PR a complete end-to-end functionality.

@jgebal jgebal merged commit 8c3d7cb into utPLSQL:version3 Dec 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants