SAP ABAP Class CL_AUNIT_TASK (INTERNAL: *NO REUSE* Test Runner)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷
SABP_UNIT_CORE (Package) INTERNAL: NO REUSE - Core functionality
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_AUNIT_TASK | ABAP Unit: Handle to execute a test task | 20050719 |
Properties
| Class | CL_AUNIT_TASK | |
| Short Description | INTERNAL: *NO REUSE* Test Runner | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SABP_UNIT_CORE | INTERNAL: NO REUSE - Core functionality |
| Created | 20030707 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 5 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 6 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_AUNIT_TASK | ABAP Unit: Handle to execute a test task | 20050719 |
Friends
Class CL_AUNIT_TASK has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | SAUNIT_S_DURATION_SETTING | Concrete Values for Categories of Execution Duration | 20050527 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_EXT_RES_HANDLER | Result handler to collect data from proxy and return to list | 20051221 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_EXT_RES_PROXY | Result handler for the execution mode | 20051221 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | SAUNIT_D_ATTRIBUTE_RT_DURATION | Duration | 20050527 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | SAUNIT_D_ALLOWED_RISK_LEVEL | Upper Limit of Risk Level | 20050527 | |||
| 6 | Instance attribute | Private | See coding | Zu testende Programme | 20050527 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | Count of Programs | 20050527 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | TY_T_PROGRAM_HANDLES | Handles for Programs | 20051201 | |||
| 9 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_AUNIT_RESULT | Result Collector | 20051227 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | STRING | Title of Test Run | 20050804 | |||
| 11 | Constant | Public | Type reference (TYPE) | SAUNIT_D_TASK_RUN_MODE | IF_AUNIT_TASK=>C_RUN_MODE-CATCH_SHORT_DUMP | OBSOLETE !! | 20051212 | ||
| 12 | Constant | Public | Type reference (TYPE) | SAUNIT_D_TASK_RUN_MODE | 'C' | OBSOLETE !! | 20051212 | ||
| 13 | Constant | Public | Type reference (TYPE) | SAUNIT_D_TASK_RUN_MODE | IF_AUNIT_TASK=>C_RUN_MODE-EXTERNAL | OBSOLETE !! | 20051212 | ||
| 14 | Constant | Public | Type reference (TYPE) | SAUNIT_D_TASK_RUN_MODE | IF_AUNIT_TASK=>C_RUN_MODE-ISOLATED | OBSOLETE !! | 20051212 | ||
| 15 | Constant | Public | Type reference (TYPE) | SAUNIT_D_TASK_RUN_MODE | IF_AUNIT_TASK=>C_RUN_MODE-CATCH_SHORT_DUMP | OBSOLETE !! | 20031014 |
Methods
Events
Class CL_AUNIT_TASK has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_S_CLASS_HANDLE | Private | See coding | Handle for Single Test Class | 20051201 | begin of ty_S_Class_Handle,
class type saunit_D_Class,
handle type ref to if_Aunit_Test_Class_Handle,
end of ty_S_Class_Handle
|
|
| 2 | TY_S_PROGRAM_HANDLE | Private | See coding | Handle for Program | 20051201 | begin of ty_S_Program_Handle,
program type progname,
classes type ty_T_Class_Handles,
end of ty_S_Program_Handle
|
|
| 3 | TY_T_CLASS_HANDLES | Private | See coding | Handles for Test Classes | 20051201 | ty_T_Class_Handles
type standard table of ty_S_Class_Handle with default key
|
|
| 4 | TY_T_PROGRAM_HANDLES | Private | See coding | Handles for Programs | 20051201 | ty_T_Program_Handles
type standard table of ty_S_Program_Handle with default key
|
Method Signatures
Method ADD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGRAM | Call by reference | Type reference (TYPE) | PROGNAME | ABAP-Programmname | 20030825 |
Method ADD on class CL_AUNIT_TASK has no exception.
Method ADD_CLASS_POOL Signature
Method ADD_CLASS_POOL on class CL_AUNIT_TASK has no parameter.
Method ADD_CLASS_POOL on class CL_AUNIT_TASK has no exception.
Method ADD_FUNCTION_GROUP Signature
Method ADD_FUNCTION_GROUP on class CL_AUNIT_TASK has no parameter.
Method ADD_FUNCTION_GROUP on class CL_AUNIT_TASK has no exception.
Method ADD_PROGRAM Signature
Method ADD_PROGRAM on class CL_AUNIT_TASK has no parameter.
Method ADD_PROGRAM on class CL_AUNIT_TASK has no exception.
Method ADD_TEST_CLASS_HANDLE Signature
Method ADD_TEST_CLASS_HANDLE on class CL_AUNIT_TASK has no parameter.
Method ADD_TEST_CLASS_HANDLE on class CL_AUNIT_TASK has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LISTENER | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | 20030707 | ||||
| 2 | LISTENER_REF | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_LISTENER | 20030710 |
Method CONSTRUCTOR on class CL_AUNIT_TASK has no exception.
Method FILTER_FAILURE_STACK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DO_FILTER | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20031014 | |||
| 2 | FB_FILTER | Call by reference | Type reference (TYPE) | FUNCNAME | 20031014 |
Method FILTER_FAILURE_STACK on class CL_AUNIT_TASK has no exception.
Method RESTRICT_DURATION_CATEGORY Signature
Method RESTRICT_DURATION_CATEGORY on class CL_AUNIT_TASK has no parameter.
Method RESTRICT_DURATION_CATEGORY on class CL_AUNIT_TASK has no exception.
Method RESTRICT_RISK_LEVEL Signature
Method RESTRICT_RISK_LEVEL on class CL_AUNIT_TASK has no parameter.
Method RESTRICT_RISK_LEVEL on class CL_AUNIT_TASK has no exception.
Method RUN Signature
Method RUN on class CL_AUNIT_TASK has no parameter.
Method RUN on class CL_AUNIT_TASK has no exception.
Method SET_DURATION Signature
Method SET_DURATION on class CL_AUNIT_TASK has no parameter.
Method SET_DURATION on class CL_AUNIT_TASK has no exception.
Method STACK_FILTER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FB_STACK_FILTER | Call by reference | Type reference (TYPE) | FUNCNAME | 20031010 |
Method STACK_FILTER on class CL_AUNIT_TASK has no exception.
Method __HAS_TEST_CODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGRAM_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20120602 | ||||
| 2 | TESTS_IN_BYTE_CODE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120602 |
Method __HAS_TEST_CODE on class CL_AUNIT_TASK has no exception.
Method __HAS_TEST_CODE_NO_WARN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGRAM_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20120602 | ||||
| 2 | TESTS_IN_BYTE_CODE | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120602 |
Method __HAS_TEST_CODE_NO_WARN on class CL_AUNIT_TASK has no exception.
Method __RUN_TEST_CLASS_HANDLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS_TESTER | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_CLASSTEST | 20061108 | ||||
| 2 | COVERAGE_KEY | Call by reference | Type reference (TYPE) | SAUNIT_D_COVERAGE_ANALYSIS_KEY | 20061108 |
Method __RUN_TEST_CLASS_HANDLES on class CL_AUNIT_TASK has no exception.
Method __RUN_TEST_PROGRAMS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASS_TESTER | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_CLASSTEST | Test Class Check | 20061109 | |||
| 2 | COVERAGE_KEY | Call by reference | Type reference (TYPE) | SAUNIT_D_COVERAGE_ANALYSIS_KEY | ABAP Unit: Key to Access Coverage Data | 20061109 |
Method __RUN_TEST_PROGRAMS on class CL_AUNIT_TASK has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |