SAP ABAP Class CL_ECATT_AUNIT_RUN_LISTENER (Listener for ABAP Unit Test Execution)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TWB-TST-ECA (Application Component) eCATT Extended Computer Aided Test Tool
⤷
SECATT_QM (Package) eCATT Test Cases
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_AUNIT_LISTENER | ABAP Unit: Result monitoring | 20111219 |
Properties
| Class | CL_ECATT_AUNIT_RUN_LISTENER | |
| Short Description | Listener for ABAP Unit Test Execution | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SECATT_QM | eCATT Test Cases |
| Created | 20111219 | SAP |
| Last change | 20140121 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ECATT_AUNIT_RUN_LISTENER has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_AUNIT_LISTENER | ABAP Unit: Result monitoring | 20111219 |
Friends
Class CL_ECATT_AUNIT_RUN_LISTENER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_AUNIT_TEXT_DESCRIPTION | 20111219 | ||||
| 2 | Instance attribute | Protected | Type reference (TYPE) | TY_ALERT | 20111219 | ||||
| 3 | Instance attribute | Protected | Type reference (TYPE) | TT_ALERTS | Table of Errors in Test | 20111219 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | INT4 | Number of Test Methods | 20111219 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | INT4 | Number of Methods with Errors | 20111219 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | INT4 | Number of Methods with Warnings | 20111219 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20111219 | |
| 2 | Instance method | Public | Method | Query Test Result | 20111219 | |
| 3 | Instance method | Public | Method | Write Messages from Test to Application Log | 20111219 |
Events
Class CL_ECATT_AUNIT_RUN_LISTENER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TT_ALERTS | Protected | See coding | 20111219 | tt_alerts TYPE STANDARD TABLE OF ty_alert WITH DEFAULT KEY
|
||
| 2 | TY_ALERT | Protected | See coding | 20111219 | BEGIN OF ty_alert ,
program TYPE string,
class TYPE string,
method TYPE string,
msg TYPE string,
severity type char1,
END OF ty_alert
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_ECATT_AUNIT_RUN_LISTENER has no parameter.
Method CONSTRUCTOR on class CL_ECATT_AUNIT_RUN_LISTENER has no exception.
Method GET_TEST_RESULT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_EXECUTED_METHODS | Call by reference | Type reference (TYPE) | INT4 | Anzahl ausgeführter Testmethoden | 20111219 | |||
| 2 | E_METHOD_FAILED_CNT | Call by reference | Type reference (TYPE) | INT4 | Anzahl Methoden mit Warnungen | 20111219 | |||
| 3 | E_METHOD_WARNING_CNT | Call by reference | Type reference (TYPE) | INT4 | Anzahl Methoden mit Fehlern | 20111219 |
Method GET_TEST_RESULT on class CL_ECATT_AUNIT_RUN_LISTENER has no exception.
Method TEST_RESULT_TO_BAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_BAL_HANDLE | Call by reference | Type reference (TYPE) | BALLOGHNDL | Anwendungs-Log: Handle eines Protokolls | 20111219 | |||
| 2 | I_LOGID | Call by reference | Type reference (TYPE) | ETLOG_ID | Laufende Vorgangsnummer | 20111219 |
Method TEST_RESULT_TO_BAL on class CL_ECATT_AUNIT_RUN_LISTENER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 732 |