SAP ABAP Class IF_AUNIT_TASK (ABAP Unit: Handle to execute a test task)
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
| Class | IF_AUNIT_TASK | |
| Short Description | ABAP Unit: Handle to execute a test task | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20050718 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class IF_AUNIT_TASK has no interface implemented.
Friends
Class IF_AUNIT_TASK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | See coding | Enumeration for duration category | 20051212 | ||||
| 2 | Constant | Public | See coding | Enumeration for Risk Level | 20051212 | ||||
| 3 | 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
Class 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 class 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 class 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 class 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 class 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 class 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 class 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 class 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 class IF_AUNIT_TASK has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |