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
⤷ 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 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | IF_EPM_TEST_LOGGER | 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 | GC_TEXT_001 | Constant | Private | Type reference (TYPE) | STRING | 'Test failed' | 20101214 | ||
2 | GC_TEXT_002 | Constant | Private | Type reference (TYPE) | STRING | 'Assert Equals Failed:' | 20101214 | ||
3 | GC_TEXT_003 | Constant | Private | Type reference (TYPE) | STRING | 'Assert Initial Failed:' | 20101214 | ||
4 | GC_TEXT_004 | Constant | Private | Type reference (TYPE) | STRING | 'Assert Not Inital Failed:' | 20101214 | ||
5 | GC_TEXT_005 | Constant | Private | Type reference (TYPE) | STRING | 'Assert sy-subrc Failed:' | 20101214 | ||
6 | GC_TEXT_006 | Constant | Private | Type reference (TYPE) | STRING | 'Test without implementation' | 20101214 | ||
7 | GC_TEXT_007 | Constant | Private | Type reference (TYPE) | STRING | 'TEST_BEGIN without TEST_END' | 20101214 | ||
8 | GC_TEXT_008 | Constant | Private | Type reference (TYPE) | STRING | 'TEST_END without TEST_BEGIN' | 20101214 | ||
9 | GC_TEXT_009 | Constant | Private | Type reference (TYPE) | STRING | 'Corrupted sequence' | 20101214 | ||
10 | GC_TEXT_010 | Constant | Private | Type reference (TYPE) | STRING | 'False expected' | 20101214 | ||
11 | GC_TEXT_011 | Constant | Private | Type reference (TYPE) | STRING | 'True expected' | 20101214 | ||
12 | GC_TEXT_012 | Constant | Private | Type reference (TYPE) | STRING | 'Wrong property:' | 20101214 | ||
13 | GC_TEXT_013 | Constant | Private | Type reference (TYPE) | STRING | 'Superfluous property:' | 20101214 | ||
14 | GC_TEXT_014 | Constant | Private | Type reference (TYPE) | STRING | 'Begin of test:' | 20101214 | ||
15 | GC_TEXT_015 | Constant | Private | Type reference (TYPE) | STRING | 'Runtime in seconds:' | 20101214 | ||
16 | GC_TEXT_016 | Constant | Private | Type reference (TYPE) | STRING | 'End of test:' | 20101214 | ||
17 | GC_TEXT_017 | Constant | Private | Type reference (TYPE) | STRING | 'Table of expected properties is empty.' | 20101214 | ||
18 | GC_TEXT_018 | Constant | Private | Type reference (TYPE) | STRING | 'Table of actual properties is empty.' | 20101214 | ||
19 | GC_TEXT_019 | Constant | Private | Type reference (TYPE) | STRING | 'Actual value:' | 20101214 | ||
20 | GC_TEXT_020 | Constant | Private | Type reference (TYPE) | STRING | 'Entity name:' | 20101214 | ||
21 | GC_TEXT_021 | Constant | Private | Type reference (TYPE) | STRING | 'Node name:' | 20101214 | ||
22 | GC_TEXT_022 | Constant | Private | Type reference (TYPE) | STRING | 'Property name:' | 20101214 | ||
23 | GC_TEXT_023 | Constant | Private | Type reference (TYPE) | STRING | 'Expected value:' | 20101214 | ||
24 | GC_TEXT_024 | Constant | Private | Type reference (TYPE) | STRING | 'Message buffer is initial' | 20101214 | ||
25 | GC_TEXT_025 | Constant | Private | Type reference (TYPE) | STRING | 'Expected message not found' | 20101214 | ||
26 | GC_TEXT_026 | Constant | Private | Type reference (TYPE) | STRING | 'Unexpected message' | 20101214 | ||
27 | GC_TEXT_027 | Constant | Private | Type reference (TYPE) | STRING | 'There is no or more than one BAPI message' | 20110825 | ||
28 | GC_TEXT_028 | Constant | Private | Type reference (TYPE) | STRING | 'Test was aborted' | 20130325 | ||
29 | GO_AUNIT_DELEGATOR | Instance attribute | Private | Object reference (TYPE REF TO) | CL_EPM_AUNIT_DELEGATOR | Delegator Class for ABAP Unit Tests | 20100607 | ||
30 | LC_2ND_DB_CON_NAME | Constant | Private | Type reference (TYPE) | STRING | 'R/3*EPM_TEST_ENVIRONMENT' | Name of second DB connection used by logger | 20090202 | |
31 | MV_CURRENT_TEST_DESCRIPTION | Instance attribute | Private | Type reference (TYPE) | STRING | Description of the running test | 20090119 | ||
32 | MV_DEBUG_AT_ERROR | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | Starts debugger, when n error is reported (e.g by logger) | 20090119 | ||
33 | MV_REPORTING_DEPTH | Instance attribute | Private | Type reference (TYPE) | IF_EPM_TEST_LOGGER=>TY_REPORTING_DEPTH | Depth of reporting | 20090119 | ||
34 | MV_RUNTIME_START | Instance attribute | Private | Type reference (TYPE) | INT4 | Start timepoint | 20090119 | ||
35 | MV_RUNTIME_TIMER | Instance attribute | Private | Object reference (TYPE REF TO) | IF_ABAP_RUNTIME | Timer Interface | 20090119 | ||
36 | MV_SEVERITY | Instance attribute | Private | Type reference (TYPE) | IF_EPM_TEST_LOGGER=>TY_REPORTING_DEPTH | Severity of the current log | 20090119 | ||
37 | MV_TEST_COMPONENT_NAME | Instance attribute | Private | Type reference (TYPE) | SEPM_TEST_COMPONENT_NAME | Name or identifier of the EPM component | 20090119 | ||
38 | MV_TEST_COMPONENT_VERSION | Instance attribute | Private | Type reference (TYPE) | SEPM_TEST_COMPONENT_VERSION | Version of component | 20090130 | ||
39 | MV_TEST_LOG_ENTRY_NR | 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 | CONSTRUCTOR | Instance method | Private | Constructor | CONSTRUCTOR | 20081218 |
2 | WRITE_LOG_ENTRY_TO_DB | 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 | Importing | 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 | Importing | 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 | Importing | IV_TEST_COMPONENT_NAME | Call by reference | Type reference (TYPE) | SEPM_TEST_COMPONENT_NAME | Name or identifier of the EPM component | 20090119 | ||
4 | Importing | 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 | Importing | IV_BLOB_PGM_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | name of Blob analysis program | 20090202 | ||
2 | Importing | IV_BLOB_PGM_TYPE | Call by reference | Type reference (TYPE) | SEPM_TEST_FUNCTION_TYPE_CODE | Type of Blob analysis program | 20090202 | ||
3 | Importing | IV_LOG_ENTRY | Call by reference | Type reference (TYPE) | STRING | The log entry to be written to the DB | 20090130 | ||
4 | Importing | 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 |