SAP ABAP Class CL_EPM_TEST_LOGGER (Implements the logger Interface)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-NWD (Application Component) NetWeaver Demonstration
⤷
S_EPM_TESTING_UTILITIES (Package) EPM BO and Scenario Testing

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_EPM_TEST_LOGGER | This interface logs all errors, warnings ... of tests | 20081218 |
Properties
Class | CL_EPM_TEST_LOGGER | |
Short Description | Implements the logger Interface | |
Super Class | ||
Instantiability of a Class | 0 | Private |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_EPM_TESTING_UTILITIES | EPM BO and Scenario Testing |
Created | 20081218 | SAP |
Last change | 20130531 | 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
# | Interface | Abstract | Final | Description | Created on |
---|---|---|---|---|---|
1 | IF_EPM_TEST_LOGGER | This interface logs all errors, warnings ... of tests | 20081218 |
Friends
# | Friend | Modeled only | Created on | Description |
---|---|---|---|---|
1 | CL_EPM_TEST_UTILITIES | 20081218 | Factory and utility methods, |
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Test failed' | 20101214 | ||
2 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Assert Equals Failed:' | 20101214 | ||
3 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Assert Initial Failed:' | 20101214 | ||
4 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Assert Not Inital Failed:' | 20101214 | ||
5 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Assert sy-subrc Failed:' | 20101214 | ||
6 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Test without implementation' | 20101214 | ||
7 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'TEST_BEGIN without TEST_END' | 20101214 | ||
8 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'TEST_END without TEST_BEGIN' | 20101214 | ||
9 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Corrupted sequence' | 20101214 | ||
10 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'False expected' | 20101214 | ||
11 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'True expected' | 20101214 | ||
12 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Wrong property:' | 20101214 | ||
13 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Superfluous property:' | 20101214 | ||
14 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Begin of test:' | 20101214 | ||
15 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Runtime in seconds:' | 20101214 | ||
16 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'End of test:' | 20101214 | ||
17 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Table of expected properties is empty.' | 20101214 | ||
18 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Table of actual properties is empty.' | 20101214 | ||
19 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Actual value:' | 20101214 | ||
20 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Entity name:' | 20101214 | ||
21 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Node name:' | 20101214 | ||
22 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Property name:' | 20101214 | ||
23 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Expected value:' | 20101214 | ||
24 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Message buffer is initial' | 20101214 | ||
25 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Expected message not found' | 20101214 | ||
26 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Unexpected message' | 20101214 | ||
27 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'There is no or more than one BAPI message' | 20110825 | ||
28 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'Test was aborted' | 20130325 | ||
29 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | CL_EPM_AUNIT_DELEGATOR | Delegator Class for ABAP Unit Tests | 20100607 | ||
30 | ![]() |
Constant | Private | Type reference (TYPE) | STRING | 'R/3*EPM_TEST_ENVIRONMENT' | Name of second DB connection used by logger | 20090202 | |
31 | ![]() |
Instance attribute | Private | Type reference (TYPE) | STRING | Description of the running test | 20090119 | ||
32 | ![]() |
Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Starts debugger, when n error is reported (e.g by logger) | 20090119 | ||
33 | ![]() |
Instance attribute | Private | Type reference (TYPE) | IF_EPM_TEST_LOGGER=>TY_REPORTING_DEPTH | Depth of reporting | 20090119 | ||
34 | ![]() |
Instance attribute | Private | Type reference (TYPE) | INT4 | Start timepoint | 20090119 | ||
35 | ![]() |
Instance attribute | Private | Object reference (TYPE REF TO) | IF_ABAP_RUNTIME | Timer Interface | 20090119 | ||
36 | ![]() |
Instance attribute | Private | Type reference (TYPE) | IF_EPM_TEST_LOGGER=>TY_REPORTING_DEPTH | Severity of the current log | 20090119 | ||
37 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SEPM_TEST_COMPONENT_NAME | Name or identifier of the EPM component | 20090119 | ||
38 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SEPM_TEST_COMPONENT_VERSION | Version of component | 20090130 | ||
39 | ![]() |
Instance attribute | Private | Type reference (TYPE) | SEPM_TEST_LOG_ENTRY_NR | EPM: Consecutive number for a log entry in DB table SEPM_TES | 20090130 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Private | Constructor | CONSTRUCTOR | 20081218 |
2 | ![]() |
Instance method | Private | Method | write a log entry to DB ( table SEPM_TEST_RES ) | 20090130 |
Events
Class CL_EPM_TEST_LOGGER has no event.
Types
Class CL_EPM_TEST_LOGGER has no local type.
Method Signatures
Method CONSTRUCTOR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_DEBUG_AT_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Starts debugger, when n error is reported (e.g by logger) | 20090119 | |
2 | ![]() |
IV_REPORTING_DEPTH | Call by reference | Type reference (TYPE) | IF_EPM_TEST_LOGGER=>TY_REPORTING_DEPTH | IF_EPM_TEST_LOGGER=>GC_REPORTING_DEPTH_ERROR | Depth of reporting | 20090119 | |
3 | ![]() |
IV_TEST_COMPONENT_NAME | Call by reference | Type reference (TYPE) | SEPM_TEST_COMPONENT_NAME | Name or identifier of the EPM component | 20090119 | ||
4 | ![]() |
IV_TEST_COMPONENT_VERSION | Call by reference | Type reference (TYPE) | SEPM_TEST_COMPONENT_VERSION | Version of component | 20090130 |
Method CONSTRUCTOR on class CL_EPM_TEST_LOGGER has no exception.
Method WRITE_LOG_ENTRY_TO_DB Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_BLOB_PGM_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | name of Blob analysis program | 20090202 | ||
2 | ![]() |
IV_BLOB_PGM_TYPE | Call by reference | Type reference (TYPE) | SEPM_TEST_FUNCTION_TYPE_CODE | Type of Blob analysis program | 20090202 | ||
3 | ![]() |
IV_LOG_ENTRY | Call by reference | Type reference (TYPE) | STRING | The log entry to be written to the DB | 20090130 | ||
4 | ![]() |
IV_LOG_TYPE | Call by reference | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | Type of log entry ( Begin of test, warning, ... ) | 20090209 |
Method WRITE_LOG_ENTRY_TO_DB on class CL_EPM_TEST_LOGGER has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 720 |