SAP ABAP Interface IF_AUNIT_TASK (ABAP Unit: Handle to execute a test task)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷
SABP_UNIT_CORE_API (Package) ABAP Unit: Public API
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_AUNIT_TASK | INTERNAL: *NO REUSE* Test Runner | 20050719 |
Properties
| Interface | IF_AUNIT_TASK | |
| Short Description | ABAP Unit: Handle to execute a test task |
General Data
| Package | SABP_UNIT_CORE_API | ABAP Unit: Public API |
| Created | 20050718 | SAP |
| Last changed | 20140121 | SAP |
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Interface IF_AUNIT_TASK has no interface.
Friends
Interface IF_AUNIT_TASK has no friend.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | C_DURATION_CATEGORY | Constant | Public | See coding | Enumeration for duration category | 20051212 | |||
| 2 | C_RISK_LEVEL | Constant | Public | See coding | Enumeration for Risk Level | 20051212 | |||
| 3 | C_RUN_MODE | Constant | Public | See coding | Enumeration for run mode | 20051215 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add Test Classes of a Class Pool to Task | 20051212 | |
| 2 | Instance method | Public | Method | Add Test Classes of Function Group to Task | 20050718 | |
| 3 | Instance method | Public | Method | Add Tests of Program to Task | 20050718 | |
| 4 | Instance method | Public | Method | Add Handle of Test Class to Task | 20051115 | |
| 5 | Instance method | Public | Method | Restrict the Duration Category | 20050718 | |
| 6 | Instance method | Public | Method | Restrict the Risk Level | 20050718 | |
| 7 | Instance method | Public | Method | Execute Task | 20050718 | |
| 8 | Instance method | Public | Method | Set the Limits of the Various Duration Categories | 20050804 |
Events
Interface IF_AUNIT_TASK has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_D_DURATION_CATEGORY | Public | Type reference (TYPE) | INT1 | Duration category | 20051212 | |
| 2 | TY_D_RISK_LEVEL | Public | Type reference (TYPE) | INT1 | Risk level | 20051212 | |
| 3 | TY_D_RUN_MODE | Public | Type reference (TYPE) | SYCHAR01 | Run mode | 20051212 | |
| 4 | TY_S_DURATION_SETTING | Public | See coding | Time restrictions for each duration category | 20051212 | begin of ty_S_Duration_Setting,
category_Short type i,
category_Medium type i,
category_Long type i,
end of ty_S_Duration_Setting
|
Method Signatures
Method ADD_CLASS_POOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS | Call by reference | Type reference (TYPE) | PROGNAME | Klasse/Interface | 20051212 |
Method ADD_CLASS_POOL on Interface IF_AUNIT_TASK has no exception.
Method ADD_FUNCTION_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FUGR_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20050718 |
Method ADD_FUNCTION_GROUP on Interface IF_AUNIT_TASK has no exception.
Method ADD_PROGRAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGRAM | Call by reference | Type reference (TYPE) | PROGNAME | 20050718 |
Method ADD_PROGRAM on Interface IF_AUNIT_TASK has no exception.
Method ADD_TEST_CLASS_HANDLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TEST_CLASS_HANDLE | Value transfer | Object reference (TYPE REF TO) | IF_AUNIT_TEST_CLASS_HANDLE | ABAP Unit: Handle for a test class | 20051115 |
Method ADD_TEST_CLASS_HANDLE on Interface IF_AUNIT_TASK has no exception.
Method RESTRICT_DURATION_CATEGORY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_DURATION_CATEGORY | Call by reference | Type reference (TYPE) | TY_D_DURATION_CATEGORY | 20050718 |
Method RESTRICT_DURATION_CATEGORY on Interface IF_AUNIT_TASK has no exception.
Method RESTRICT_RISK_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_RISK_LEVEL | Call by reference | Type reference (TYPE) | TY_D_RISK_LEVEL | 20050718 |
Method RESTRICT_RISK_LEVEL on Interface IF_AUNIT_TASK has no exception.
Method RUN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MODE | Call by reference | Type reference (TYPE) | TY_D_RUN_MODE | C_RUN_MODE-ISOLATED | Execution Mode of Test Tasks | 20050718 |
Method RUN on Interface IF_AUNIT_TASK has no exception.
Method SET_DURATION_LIMIT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DURATION | Call by reference | Type reference (TYPE) | TY_S_DURATION_SETTING | Konkrete Werte für die Kategorien der Ausführungsdauer | 20050804 | |||
| 2 | USE_DEFAULTS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050804 |
Method SET_DURATION_LIMIT on Interface IF_AUNIT_TASK has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 710 |