@@ -136,6 +136,14 @@ $THEN
136136 l_line varchar2(32767);
137137 l_status pls_integer;
138138 begin
139+ -------------------------------------- WTPLSQL Testing --
140+ loop
141+ dbms_output.get_line(l_line, l_status);
142+ exit when l_status = 1;
143+ wt_assert.isnull
144+ (msg_in => 'Clear DBMS_OUTPUT Buffer'
145+ ,check_this_in => l_line);
146+ end loop;
139147 -------------------------------------- WTPLSQL Testing --
140148 wt_assert.g_testcase := 'Ad Hoc Report Happy Path';
141149 g_rec.last_assert := 'THIS';
@@ -2539,11 +2547,9 @@ $THEN
25392547 msg_in => 'temp_rec.last_details',
25402548 check_this_in => temp_rec.last_details,
25412549 against_this_in => 'Expected exception "%PLS-00302: component ''BOGUS'' must be declared%". ' ||
2542- 'Actual exception raised was "ORA-06550: line 1, column 17:' || CHR(10) ||
2543- 'PLS-00302: component ''BOGUS'' must be declared' || CHR(10) ||
2544- 'ORA-06550: line 1, column 7:' || CHR(10) ||
2545- 'PL/SQL: Statement ignored". ' ||
2546- 'Exception raised by: "begin wt_assert.bogus; end;".');
2550+ 'Actual exception raised was "ORA-06550: line 1, column 17:' || CHR(10) ||
2551+ 'PLS-00302: component ''BOGUS'' must be declared". ' ||
2552+ 'Exception raised by: "begin wt_assert.bogus; end;".' );
25472553 -------------------------------------- WTPLSQL Testing --
25482554 wt_assert.g_testcase := 'Raises Tests Happy Path 2';
25492555 raises (
@@ -2554,13 +2560,10 @@ $THEN
25542560 wt_assert.eq (
25552561 msg_in => 'temp_rec.last_details value',
25562562 check_this_in => temp_rec.last_details,
2557- against_this_in => 'Expected exception "%-00302%". ' ||
2558- 'Actual exception raised was "' ||
2559- 'ORA-06550: line 1, column 17:' || CHR(10) ||
2560- 'PLS-00302: component ''BOGUS'' must be declared' || CHR(10) ||
2561- 'ORA-06550: line 1, column 7:' || CHR(10) ||
2562- 'PL/SQL: Statement ignored". ' ||
2563- 'Exception raised by: "begin wt_assert.bogus; end;".');
2563+ against_this_in => 'Expected exception "%-00302%". ' ||
2564+ 'Actual exception raised was "ORA-06550: line 1, column 17:' || CHR(10) ||
2565+ 'PLS-00302: component ''BOGUS'' must be declared". ' ||
2566+ 'Exception raised by: "begin wt_assert.bogus; end;".' );
25642567 -------------------------------------- WTPLSQL Testing --
25652568 throws (
25662569 msg_in => 'THROWS Varchar2 Test',
@@ -2571,12 +2574,9 @@ $THEN
25712574 msg_in => 'temp_rec.last_details value',
25722575 check_this_in => temp_rec.last_details,
25732576 against_this_in => 'Expected exception "%PLS-00302: component ''BOGUS'' must be declared%". ' ||
2574- 'Actual exception raised was "' ||
2575- 'ORA-06550: line 1, column 17:' || CHR(10) ||
2576- 'PLS-00302: component ''BOGUS'' must be declared' || CHR(10) ||
2577- 'ORA-06550: line 1, column 7:' || CHR(10) ||
2578- 'PL/SQL: Statement ignored". ' ||
2579- 'Exception raised by: "begin wt_assert.bogus; end;".');
2577+ 'Actual exception raised was "ORA-06550: line 1, column 17:' || CHR(10) ||
2578+ 'PLS-00302: component ''BOGUS'' must be declared". ' ||
2579+ 'Exception raised by: "begin wt_assert.bogus; end;".' );
25802580 -------------------------------------- WTPLSQL Testing --
25812581 throws (
25822582 msg_in => 'THROWS Number Test',
@@ -2586,13 +2586,10 @@ $THEN
25862586 wt_assert.eq (
25872587 msg_in => 'temp_rec.last_details value',
25882588 check_this_in => temp_rec.last_details,
2589- against_this_in => 'Expected exception "%-00302%". ' ||
2590- 'Actual exception raised was "' ||
2591- 'ORA-06550: line 1, column 17:' || CHR(10) ||
2592- 'PLS-00302: component ''BOGUS'' must be declared' || CHR(10) ||
2593- 'ORA-06550: line 1, column 7:' || CHR(10) ||
2594- 'PL/SQL: Statement ignored". ' ||
2595- 'Exception raised by: "begin wt_assert.bogus; end;".');
2589+ against_this_in => 'Expected exception "%-00302%". ' ||
2590+ 'Actual exception raised was "ORA-06550: line 1, column 17:' || CHR(10) ||
2591+ 'PLS-00302: component ''BOGUS'' must be declared". ' ||
2592+ 'Exception raised by: "begin wt_assert.bogus; end;".' );
25962593 -------------------------------------- WTPLSQL Testing --
25972594 wt_assert.g_testcase := 'Raises Tests Happy Path 3';
25982595 raises (
0 commit comments