SAP ABAP Class CL_AUCV_TASK (Internal: Execute unit tests and measure coverage)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷
S_AUNIT_COVERAGE (Package) ABAP Unit tests with coverage
⤷
⤷
Properties
| Class | CL_AUCV_TASK | |
| Short Description | Internal: Execute unit tests and measure coverage | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_AUNIT_COVERAGE | ABAP Unit tests with coverage |
| Created | 20110310 | 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 CL_AUCV_TASK has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_AUCV_TEST_RUNNER_COVERAGE | 20120824 | Internal Test Runner |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | LIF_AUNIT_SERVICES | 20120111 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_TASK | 20120111 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | IF_AUNIT_TASK=>TY_S_DURATION_SETTING | 20120111 | ||||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_LISTENER | 20120111 | ||||
| 5 | Instance attribute | Private | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_DURATION_CATEGORY | 20120111 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_RISK_LEVEL | 20120111 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20120111 | ||||
| 8 | Static Attribute | Private | See coding | 20120111 | |||||
| 9 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMP | 20120111 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | TIMESTAMP | 20120111 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | IF_AUNIT_TEST_CLASS_HANDLE=>TY_T_TESTCLASS_HANDLES | 20120111 | ||||
| 12 | Instance attribute | Private | Type reference (TYPE) | CVA_TESTK | 20120111 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | 20120111 | ||
| 2 | Instance method | Private | Method | 20120111 | ||
| 3 | Instance method | Private | Method | 20120111 | ||
| 4 | Instance method | Private | Method | 20120111 | ||
| 5 | Instance method | Private | Method | 20120111 | ||
| 6 | Instance method | Protected | Method | 20120824 | ||
| 7 | Instance method | Private | Method | 20120111 | ||
| 8 | Static method | Public | Constructor | 20120111 | ||
| 9 | Instance method | Private | Constructor | 20120111 | ||
| 10 | Static method | Public | Method | 20120111 | ||
| 11 | Instance method | Private | Method | 20120111 | ||
| 12 | Static method | Private | Method | 20120111 | ||
| 13 | Instance method | Public | Method | 20120111 | ||
| 14 | Static method | Private | Method | 20120111 | ||
| 15 | Instance method | Public | Method | 20120111 |
Events
Class CL_AUCV_TASK has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_OBJECT_DIRECTORY_ELEMENT | Public | See coding | 20110310 | BEGIN OF ty_object_directory_element,
object TYPE tadir-object,
obj_name TYPE tadir-obj_name,
END OF ty_object_directory_element
|
||
| 2 | TY_OBJECT_DIRECTORY_ELEMENTS | Public | See coding | 20110310 | ty_object_directory_elements TYPE SORTED TABLE OF ty_object_directory_element WITH UNIQUE KEY table_line
|
Method Signatures
Method ADD_ASSOCIATED_UNIT_TESTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJECT_DIRECTORY_ELEMENTS | Call by reference | Type reference (TYPE) | TY_OBJECT_DIRECTORY_ELEMENTS | 20120111 | ||||
| 2 | R_NUMBER_OF_ADDED_TESTCLASSES | Value transfer | Type reference (TYPE) | I | 20120111 |
Method ADD_ASSOCIATED_UNIT_TESTS on class CL_AUCV_TASK has no exception.
Method ADD_CLASS_POOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLASS_POOL | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | 20120111 | ||||
| 2 | R_NUMBER_OF_ADDED_TESTCLASSES | Value transfer | Type reference (TYPE) | I | 20120111 |
Method ADD_CLASS_POOL on class CL_AUCV_TASK has no exception.
Method ADD_EXECUTABLE_PROGRAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PROGRAM | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | 20120111 | ||||
| 2 | R_NUMBER_OF_ADDED_TESTCLASSES | Value transfer | Type reference (TYPE) | I | 20120111 |
Method ADD_EXECUTABLE_PROGRAM on class CL_AUCV_TASK has no exception.
Method ADD_FUNCTION_POOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_FUNCTION_POOL | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | 20120111 | ||||
| 2 | R_NUMBER_OF_ADDED_TESTCLASSES | Value transfer | Type reference (TYPE) | I | 20120111 |
Method ADD_FUNCTION_POOL on class CL_AUCV_TASK has no exception.
Method ADD_TESTCLASS_HANDLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TESTCLASS_HANDLES | Call by reference | Type reference (TYPE) | IF_AUNIT_TEST_CLASS_HANDLE=>TY_T_TESTCLASS_HANDLES | 20120111 | ||||
| 2 | R_NUMBER_OF_ADDED_TESTCLASSES | Value transfer | Type reference (TYPE) | I | 20120111 |
Method ADD_TESTCLASS_HANDLES on class CL_AUCV_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 | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_TEST_CLASS_HANDLE | ABAP Unit: Handle for a test class | 20120824 |
Method ADD_TEST_CLASS_HANDLE on class CL_AUCV_TASK has no exception.
Method ADD_UNIT_TESTS_OF_PROG_OBJECTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_PROGRAM_OBJECTS | Call by reference | Type reference (TYPE) | TY_OBJECT_DIRECTORY_ELEMENTS | 20120111 | ||||
| 2 | R_NUMBER_OF_ADDED_TESTCLASSES | Value transfer | Type reference (TYPE) | I | 20120111 |
Method ADD_UNIT_TESTS_OF_PROG_OBJECTS on class CL_AUCV_TASK has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_AUCV_TASK has no parameter.
Method CLASS_CONSTRUCTOR on class CL_AUCV_TASK has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DURATION_SETTING | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_S_DURATION_SETTING | 20120111 | ||||
| 2 | I_LISTENER | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_LISTENER | 20120111 | ||||
| 3 | I_MAX_DURATION_CATEGORY | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_DURATION_CATEGORY | 20120111 | ||||
| 4 | I_MAX_RISK_LEVEL | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_RISK_LEVEL | 20120111 | ||||
| 5 | I_MEASURE_COVERAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120111 | |||
| 6 | I_PASSPORT | Call by reference | Type reference (TYPE) | DATA | Fraud prevention | 20120312 |
Method CONSTRUCTOR on class CL_AUCV_TASK has no exception.
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DURATION_SETTING | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_S_DURATION_SETTING | 20120111 | ||||
| 2 | I_LISTENER | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_LISTENER | 20120111 | ||||
| 3 | I_MAX_DURATION_CATEGORY | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_DURATION_CATEGORY | 20120111 | ||||
| 4 | I_MAX_RISK_LEVEL | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_RISK_LEVEL | 20120111 | ||||
| 5 | I_MEASURE_COVERAGE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20120111 | |||
| 6 | I_PASSPORT | Call by reference | Type reference (TYPE) | DATA | FRAUD PREVENTION | 20120312 | |||
| 7 | R_TASK | Value transfer | Object reference (TYPE REF TO) | CL_AUCV_TASK | 20120111 |
Method CREATE on class CL_AUCV_TASK has no exception.
Method CREATE_AUNIT_TASK Signature
Method CREATE_AUNIT_TASK on class CL_AUCV_TASK has no parameter.
Method CREATE_AUNIT_TASK on class CL_AUCV_TASK has no exception.
Method DEREGISTER_TESTKEY Signature
Method DEREGISTER_TESTKEY on class CL_AUCV_TASK has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120111 |
Method GET_COVERAGE_MEASUREMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_MEASUREMENT | Value transfer | Object reference (TYPE REF TO) | IF_SCV_MEASUREMENT | 20120111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120111 |
Method REGISTER_TESTKEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_TESTKEY | Call by reference | Type reference (TYPE) | CVA_TESTK | 20120111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120111 |
Method RUN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MODE | Call by reference | Type reference (TYPE) | IF_AUNIT_TASK=>TY_D_RUN_MODE | IF_AUNIT_TASK=>C_RUN_MODE-ISOLATED | 20120111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120111 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 740 |