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

Skip to content

Commit 1a5de98

Browse files
committed
update examples to use do_execute()
1 parent aa80170 commit 1a5de98

6 files changed

Lines changed: 7 additions & 7 deletions

examples/RunExampleComplexSuiteWithCustomDBMSOutputReporter.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ begin
2222

2323
testtoexecute := ut_test(a_object_name => 'ut_exampletest'
2424
,a_test_procedure => 'ut_exAmpletest'
25-
,a_test_name => 'Example test1'
25+
,a_test_name => 'Example test1'
2626
,a_setup_procedure => 'Setup'
2727
,a_teardown_procedure => 'tEardown');
2828

@@ -39,7 +39,7 @@ begin
3939
suite_complex := ut_test_suite(a_suite_name => 'Complex Test Suite', a_items => ut_objects_list(suite1, suite2));
4040

4141
-- provide a reporter to process results
42-
suite_complex.execute(ut_custom_reporter(a_tab_size => 2));
42+
suite_complex.do_execute(ut_custom_reporter(a_tab_size => 2));
4343
end;
4444
/
4545

examples/RunExampleTestSuite.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ begin
3131
,a_teardown_procedure => 'TEARDOWN');
3232

3333
suite.add_item(testtoexecute);
34-
suite.execute;
34+
suite.do_execute;
3535

3636
-- No reporter used in this example so outputing the results manually.
3737
for test_idx in suite.items.first .. suite.items.last loop

examples/RunExampleTestSuiteWithCompositeReporter.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ begin
3232
suite.add_item(testtoexecute);
3333

3434
-- provide a reporter to process results
35-
suite.execute(ut_composite_reporter(ut_reporters_list(ut_dbms_output_suite_reporter)));
35+
suite.do_execute(ut_composite_reporter(ut_reporters_list(ut_dbms_output_suite_reporter)));
3636
end;
3737
/
3838

examples/RunExampleTestSuiteWithCustomDBMSOutputReporter.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ begin
3636
suite.add_item(testtoexecute);
3737

3838
-- provide a reporter to process results tabbing each hierarcy level by tab_size
39-
suite.execute(ut_custom_reporter(a_tab_size => 2));
39+
suite.do_execute(ut_custom_reporter(a_tab_size => 2));
4040
end;
4141
/
4242

examples/RunExampleTestSuiteWithDBMSOutputReporter.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ begin
3131
suite.add_item(testtoexecute);
3232

3333
-- provide a reporter to process results
34-
suite.execute(ut_dbms_output_suite_reporter);
34+
suite.so_execute(ut_dbms_output_suite_reporter);
3535
end;
3636
/
3737

examples/RunExampleTestThroughBaseClass.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ begin
2020
,a_teardown_procedure => 'teardown');
2121

2222
reporter := ut_dbms_output_suite_reporter;
23-
simple_test.execute(reporter);
23+
simple_test.do_execute(reporter);
2424
end;
2525
/
2626

0 commit comments

Comments
 (0)