Skip to content

Commit

Permalink
Merge 67c4e78 into 15d24af
Browse files Browse the repository at this point in the history
  • Loading branch information
jgebal committed Feb 18, 2020
2 parents 15d24af + 67c4e78 commit d1bf3c2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions source/reporters/ut_teamcity_reporter.tpb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ create or replace type body ut_teamcity_reporter is
begin
l_idx := a_executables.first;
while l_idx is not null loop
l_message := l_message || add_error_message(a_executables(l_idx).error_backtrace, a_message_name);
l_message := l_message || add_error_message( a_executables(l_idx).get_error_stack_trace(), a_message_name );
l_idx := a_executables.next(l_idx);
end loop;
return l_message;
Expand All @@ -92,7 +92,7 @@ create or replace type body ut_teamcity_reporter is
if a_test.result = ut_utils.gc_error then
l_std_err_msg := l_std_err_msg || add_error_messages(a_test.before_each_list, 'Before each exception:');
l_std_err_msg := l_std_err_msg || add_error_messages(a_test.before_test_list, 'Before test exception:');
l_std_err_msg := l_std_err_msg || add_error_message(a_test.item.error_backtrace, 'Test exception:');
l_std_err_msg := l_std_err_msg || add_error_message(a_test.item.get_error_stack_trace(), 'Test exception:');
l_std_err_msg := l_std_err_msg || add_error_messages(a_test.after_test_list, 'After test exception:');
l_std_err_msg := l_std_err_msg || add_error_messages(a_test.after_each_list, 'After each exception:');

Expand Down
4 changes: 2 additions & 2 deletions test/ut3_user/reporters/test_teamcity_reporter.pkb
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ create or replace package body test_teamcity_reporter as
<!beforeeach!>
<!erroring test!>
<!aftereach!>
%##teamcity[testStdErr timestamp='%' name='ut3$user#.test_reporters.erroring_test' out='Test exception:|nORA-06512: at "UT3$USER#.TEST_REPORTERS", line %|nORA-06512: at %|n|n']
%##teamcity[testFailed timestamp='%' details='Test exception:|nORA-06512: at "UT3$USER#.TEST_REPORTERS", line %|nORA-06512: at %|n|n' message='Error occured' name='ut3$user#.test_reporters.erroring_test']
%##teamcity[testStdErr timestamp='%' name='ut3$user#.test_reporters.erroring_test' out='Test exception:|nORA-06502: PL/SQL: numeric or value error: character to number conversion error|nORA-06512: at "UT3$USER#.TEST_REPORTERS", line %|nORA-06512: at %|n']
%##teamcity[testFailed timestamp='%' details='Test exception:|nORA-06502: PL/SQL: numeric or value error: character to number conversion error|nORA-06512: at "UT3$USER#.TEST_REPORTERS", line %|nORA-06512: at %|n' message='Error occured' name='ut3$user#.test_reporters.erroring_test']
%##teamcity[testFinished timestamp='%' duration='%' name='ut3$user#.test_reporters.erroring_test']
%##teamcity[testStarted timestamp='%' captureStandardOutput='true' name='ut3$user#.test_reporters.disabled_test']
%##teamcity[testIgnored timestamp='%' name='ut3$user#.test_reporters.disabled_test']
Expand Down

0 comments on commit d1bf3c2

Please sign in to comment.