-
Notifications
You must be signed in to change notification settings - Fork 185
Feature/reporters object model fix #589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
0434e17
`ut_output_buffer` is now fully abstracted from caller and caller can…
jgebal 79b3702
Merge branch 'develop' into feature/reporters_object_model_fix
pesse a9031f4
Fixed some merge issues
pesse 19ac972
We should keep installing ut_message_id_seq I guess...
pesse 43b8754
Fixed output buffer and related test.
jgebal 7fde523
Version number to 3 instead of X.X.X.X
pesse b8dc2a6
Output-Buffer no longer deletes contents during init
pesse 8fefdcf
Added ut_output_reporter_base to synonyms and grants
pesse 83e4b0b
Revert "Added ut_output_reporter_base to synonyms and grants"
pesse b4ece73
Added new member-function has_output to easily check
pesse 94b7ea1
Merge remote-tracking branch 'upstream/develop' into feature/reporter…
pesse d792fec
Revert "Added new member-function has_output to easily check"
pesse 202e697
Reapply "Added ut_output_reporter_base to synonyms and grants""
pesse bfde057
Add function to check whether a given name is a valid output reporter
pesse 92f7b4c
Replace is_output_reporter by get_reporters_list
pesse 5272342
Added description to all reporters
pesse 7b34109
Unit-Test for get_reporters_list
pesse aae83f2
Fix get_reporters_list unit-test
pesse 014981c
Merge remote-tracking branch 'upstream/develop' into feature/reporter…
pesse 4488415
We have a Cobertura-Reporter now, too
pesse 762727b
Improved reporter-description according to jgebal's suggestions
pesse 7e428a1
Bump version to 3.1.0
pesse a466609
Merge remote-tracking branch 'upstream/develop' into feature/reporter…
pesse c0df23d
Added Cobertura Description
lwasylow cdacf29
Added Cobertura Description
lwasylow 9504d1b
Merge remote-tracking branch 'upstream/develop' into feature/reporter…
pesse File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v3.0.4-develop | ||
v3.1.0-develop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
set termout off | ||
create or replace package empty_suite as | ||
-- %suite | ||
|
||
procedure not_a_test; | ||
end; | ||
/ | ||
create or replace package body empty_suite as | ||
procedure not_a_test is begin null; end; | ||
end; | ||
/ | ||
set termout on | ||
declare | ||
l_result integer; | ||
begin | ||
select * | ||
into l_result | ||
from table(ut.run('empty_suite',utplsql_test_reporter())); | ||
--Assert | ||
if l_result = ut_utils.tr_error then | ||
:test_result := ut_utils.tr_success; | ||
else | ||
dbms_output.put_line('expected failure of ''empty_suite'' got: '''||ut_utils.test_result_to_char(l_result)||'''' ); | ||
end if; | ||
end; | ||
/ | ||
|
||
set termout off | ||
drop package empty_suite; | ||
set termout on |
17 changes: 17 additions & 0 deletions
17
...s/ut_expectations/ut.expect.not_to_equal.anydata.GivesFailureWhenComparingTheSameData.sql
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--Arrange | ||
declare | ||
l_expected department$ := department$('hr'); | ||
l_actual department$ := department$('hr'); | ||
l_result integer; | ||
begin | ||
--Act | ||
ut.expect( anydata.convertObject(l_actual) ).not_to_equal( anydata.convertObject(l_expected) ); | ||
l_result := ut_expectation_processor.get_status(); | ||
--Assert | ||
if l_result = ut_utils.tr_failure then | ||
:test_result := ut_utils.tr_success; | ||
else | ||
dbms_output.put_line('expected: '''||ut_utils.tr_success||''', got: '''||l_result||'''' ); | ||
end if; | ||
end; | ||
/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The work on this PR was initially started before switch to self-testing.
Would you be able to rewrite some of those tests to use new formula (utPLSQL v3 self-testing)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll try to, but will work on java-api before. That's something we can change after 3.1.0 as part of refactoring, can't we?