-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathut_suite_item.tps
More file actions
95 lines (89 loc) · 3.64 KB
/
ut_suite_item.tps
File metadata and controls
95 lines (89 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
create or replace type ut_suite_item force under ut_event_item (
/*
utPLSQL - Version 3
Copyright 2016 - 2021 utPLSQL Project
Licensed under the Apache License, Version 2.0 (the "License"):
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
/**
* owner of the database object (package)
*/
object_owner varchar2(250 byte),
/**
* name of the database object (package)
*/
object_name varchar2(250 byte),
/**
* Name of the object (suite, sub-suite, test)
*/
name varchar2(250 byte),
/**
* Description fo the suite item (as given by the annotation)
*/
description varchar2(4000 byte),
/**
* Full path of the invocation of the item (including the items name itself)
*/
path varchar2(1000 byte),
/**
* The type of the rollback behavior
*/
rollback_type integer(1),
/**
* Indicates if the test is to be disabled by execution
*/
disabled_flag integer(1),
/**
* Indicates reason whysa test is to be disabled by execution
*/
disabled_reason varchar2(4000),
/**
* Line no where annotation identifying this item is placed in package
*/
line_no integer,
/**
* Time when the suite item was last parsed from package source
*/
parse_time timestamp,
--execution result fields
start_time timestamp with time zone,
end_time timestamp with time zone,
result integer(1),
warnings ut_varchar2_rows,
results_count ut_results_counter,
transaction_invalidators ut_varchar2_list,
/**
* Hold list of tags assign to test
*/
tags ut_varchar2_rows,
member procedure init(self in out nocopy ut_suite_item, a_object_owner varchar2, a_object_name varchar2, a_name varchar2, a_line_no integer),
member function get_disabled_flag return boolean,
not instantiable member procedure mark_as_skipped(self in out nocopy ut_suite_item, a_skip_reason in varchar2),
member procedure set_rollback_type(self in out nocopy ut_suite_item, a_rollback_type integer, a_force boolean := false),
member function get_rollback_type return integer,
member function create_savepoint_if_needed return varchar2,
member procedure rollback_to_savepoint(self in out nocopy ut_suite_item, a_savepoint varchar2),
member function get_transaction_invalidators return ut_varchar2_list,
member procedure add_transaction_invalidator(self in out nocopy ut_suite_item, a_object_name varchar2),
/*
Returns execution time in seconds (with miliseconds)
*/
member function execution_time return number,
not instantiable member function do_execute(self in out nocopy ut_suite_item) return boolean,
final member procedure do_execute(self in out nocopy ut_suite_item),
not instantiable member procedure calc_execution_result(self in out nocopy ut_suite_item),
not instantiable member procedure mark_as_errored(self in out nocopy ut_suite_item, a_error_stack_trace varchar2),
not instantiable member function get_error_stack_traces return ut_varchar2_list,
not instantiable member function get_serveroutputs return clob,
member procedure put_warning(self in out nocopy ut_suite_item, a_message varchar2),
member procedure put_warning(self in out nocopy ut_suite_item, a_message varchar2, a_procedure_name varchar2, a_line_no integer)
)
not final not instantiable
/