SAP ABAP Class IF_EPM_TEST_LOGGER (This interface logs all errors, warnings ... of tests)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_EPM_TEST_LOGGER | Implements the logger Interface | 20081218 |
Properties
| Class | IF_EPM_TEST_LOGGER | |
| Short Description | This interface logs all errors, warnings ... of tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20081218 | 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 interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class IF_EPM_TEST_LOGGER has no interface implemented.
Friends
Class IF_EPM_TEST_LOGGER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 0 | Log entry type 'Begin of test' | 20090209 | ||
| 2 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 6 | Log entry type 'BI specific blob' | 20090209 | ||
| 3 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 5 | Log entry type 'Component specific blob' | 20090209 | ||
| 4 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 7 | Log entry type 'EPM Test Framework specific' | 20090209 | ||
| 5 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 1 | Log entry type 'End of test' | 20090209 | ||
| 6 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 2 | Log entry type 'Error' | 20090209 | ||
| 7 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 4 | Log entry type 'Message' | 20090209 | ||
| 8 | Constant | Public | Type reference (TYPE) | SEPM_TEST_LOG_TYPE_CODE | 3 | Log entry type 'Warning' | 20090209 | ||
| 9 | Constant | Public | Type reference (TYPE) | TY_REPORTING_DEPTH | 3 | reports all items | 20090113 | ||
| 10 | Constant | Public | Type reference (TYPE) | TY_REPORTING_DEPTH | 1 | reports additionally errors | 20090113 | ||
| 11 | Constant | Public | Type reference (TYPE) | TY_REPORTING_DEPTH | 0 | reports only start and end of a test | 20090113 | ||
| 12 | Constant | Public | Type reference (TYPE) | TY_REPORTING_DEPTH | 2 | reports additionally warnings | 20090113 | ||
| 13 | Constant | Public | Type reference (TYPE) | TY_SEVERITY | 1 | An error was signaled | 20090121 | ||
| 14 | Constant | Public | Type reference (TYPE) | TY_SEVERITY | 3 | Nothing was signaled | 20090121 | ||
| 15 | Constant | Public | Type reference (TYPE) | TY_SEVERITY | 2 | A warning was signaled | 20090121 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Abort test ( test class / test method ) | 20130325 | |
| 2 | Instance method | Public | Method | Asserts if a BAPI message is contained in a BAPI message tab | 20110825 | |
| 3 | Instance method | Public | Method | Asserts that there is no BAPI error message | 20130408 | |
| 4 | Instance method | Public | Method | Compares two values for inequality | 20090825 | |
| 5 | Instance method | Public | Method | Compares two values for equality | 20090121 | |
| 6 | Instance method | Public | Method | Asserts if a value is false | 20090213 | |
| 7 | Instance method | Public | Method | Asserts if a value is initial | 20090121 | |
| 8 | Instance method | Public | Method | Asserts if message is in message buffer | 20100805 | |
| 9 | Instance method | Public | Method | Asserts if a value is not initial | 20090123 | |
| 10 | Instance method | Public | Method | Asserts if a value is 1 | 20090903 | |
| 11 | Instance method | Public | Method | Asserts if two property tables are different | 20100609 | |
| 12 | Instance method | Public | Method | Asserts if a subrc has the right code | 20090121 | |
| 13 | Instance method | Public | Method | Asserts if a value is true | 20090213 | |
| 14 | Instance method | Public | Method | 20090701 | ||
| 15 | Instance method | Public | Method | 20110412 | ||
| 16 | Instance method | Public | Method | Retrieves the current severity for that single test | 20090121 | |
| 17 | Instance method | Public | Method | Logs the BAPIRETTABTable | 20110609 | |
| 18 | Instance method | Public | Method | Logs any kind of data | 20081218 | |
| 19 | Instance method | Public | Method | Logs an error | 20081218 | |
| 20 | Instance method | Public | Method | Logs an information | 20081218 | |
| 21 | Instance method | Public | Method | Logs a warning | 20081218 | |
| 22 | Instance method | Public | Method | A test program signals the begin of a single test | 20090121 | |
| 23 | Instance method | Public | Method | A test program signals the end of a single test | 20090121 |
Events
Class IF_EPM_TEST_LOGGER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_REPORTING_DEPTH | Public | Type reference (TYPE) | I | Depth of reporting | 20081218 | |
| 2 | TY_SEVERITY | Public | Type reference (TYPE) | I | Current severity | 20090121 | |
Method Signatures
Method ABORT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DETAIL | Call by reference | Type reference (TYPE) | CSEQUENCE | Detail Message | 20130325 | |||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | Error Message | 20130325 | |||
| 3 | IV_QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>CLASS | ABAP Unit: Flow Control in Case of Error | 20130325 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20130325 |
Method ASSERT_BAPI_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BAPI_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110825 | |||
| 2 | IV_BAPI_MESSAGE_ID | Call by reference | Type reference (TYPE) | SYMSGID | Message Class | 20110825 | |||
| 3 | IV_BAPI_MESSAGE_NUMBER | Call by reference | Type reference (TYPE) | SYMSGNO | Message Number | 20110825 | |||
| 4 | IV_BAPI_MESSAGE_TYPE | Call by reference | Type reference (TYPE) | BAPI_MTYPE | Return Parameter | 20110825 | |||
| 5 | IV_EXACT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Flag, TRUE: only this message must be available | 20110825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20110825 | ||
| 2 | Assert Exception from Logger | 20110825 |
Method ASSERT_BAPI_NO_ERROR_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BAPI_MESSAGES | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20130408 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20130408 |
Method ASSERT_DIFFERS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | Data Object with Current Value | 20090825 | |||
| 2 | IV_EXP | Call by reference | Type reference (TYPE) | ANY | Data Object with Expected Type | 20090825 | |||
| 3 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090825 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20090825 |
Method ASSERT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | Data Object with Current Value | 20090121 | |||
| 2 | IV_EXP | Call by reference | Type reference (TYPE) | ANY | Data Object with Expected Type | 20090121 | |||
| 3 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090122 |
Method ASSERT_FALSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | Data Object with Current Value | 20090213 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20090213 |
Method ASSERT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | Actual Data Object | 20090121 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090122 |
Method ASSERT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | II_MESSAGE_BUFFER | Call by reference | Object reference (TYPE REF TO) | IF_EPM_MESSAGE_BUFFER | EPM: Message buffer interface | 20100805 | |||
| 2 | IS_MESSAGE | Call by reference | Type reference (TYPE) | SCX_T100KEY | T100 Key with Parameters Mapped to Attribute Names | 20100805 | |||
| 3 | IV_DESTRUCTIVE_READ_MODE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Boolean Variable (X=True, -=False, Space=Unknown) | 20100805 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EPM: API exception class | 20100805 | ||
| 2 | Assert Exception from Logger | 20100805 |
Method ASSERT_NOT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20090123 | ||||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090123 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090123 |
Method ASSERT_ONE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20090903 | ||||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20090903 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20090904 |
Method ASSERT_PROPERTIES_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_ACTUAL | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TT_PROPERTIES | Property Handling: Properties | 20100609 | |||
| 2 | IT_EXPECTED | Call by reference | Type reference (TYPE) | IF_EPM_BO=>TT_PROPERTIES | Property Handling: Properties | 20100609 | |||
| 3 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | 20100721 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20100609 |
Method ASSERT_SUBRC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXP | Call by reference | Type reference (TYPE) | SYSUBRC | Data Object with Expected Type | 20090121 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090121 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090122 |
Method ASSERT_TRUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | Data Object with Current Value | 20090213 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20090213 |
Method FAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Message in Case of Error | 20090701 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Assert Exception from Logger | 20090701 |
Method FAIL_AND_QUIT_METHOD Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20110412 |
Method FAIL_AND_QUIT_METHOD on class IF_EPM_TEST_LOGGER has no exception.
Method GET_SEVERITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_SEVERITY | Value transfer | Type reference (TYPE) | TY_SEVERITY | Current severity | 20090121 |
Method GET_SEVERITY on class IF_EPM_TEST_LOGGER has no exception.
Method LOG_BAPIRETTAB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_BAPIRETTAB | Call by reference | Type reference (TYPE) | BAPIRETTAB | Table with BAPI Return Information | 20110609 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | Error text | 20110609 |
Method LOG_BAPIRETTAB on class IF_EPM_TEST_LOGGER has no exception.
Method LOG_BLOB Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BLOB | Call by reference | Type reference (TYPE) | STRING | Data to be stored | 20090121 | |||
| 2 | IV_PROGRAM_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Name of this program entity | 20081218 | |||
| 3 | IV_TEST_FUNCTION_TYPE_CODE | Call by reference | Type reference (TYPE) | SEPM_TEST_FUNCTION_TYPE_CODE | Type on an executable program entity | 20090114 |
Method LOG_BLOB on class IF_EPM_TEST_LOGGER has no exception.
Method LOG_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARAMETER_1 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 2 | IV_PARAMETER_2 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 3 | IV_PARAMETER_3 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 4 | IV_PARAMETER_4 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 5 | IV_PARAMETER_5 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 6 | IV_PARAMETER_6 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 7 | IV_TEXT | Call by reference | Type reference (TYPE) | CSEQUENCE | This string is reported | 20081218 |
Method LOG_ERROR on class IF_EPM_TEST_LOGGER has no exception.
Method LOG_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARAMETER_1 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 2 | IV_PARAMETER_2 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 3 | IV_PARAMETER_3 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 4 | IV_PARAMETER_4 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 5 | IV_PARAMETER_5 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 6 | IV_PARAMETER_6 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 7 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | This string is reported when the test starts and at the end | 20081218 |
Method LOG_INFO on class IF_EPM_TEST_LOGGER has no exception.
Method LOG_WARNING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PARAMETER_1 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 2 | IV_PARAMETER_2 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 3 | IV_PARAMETER_3 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 4 | IV_PARAMETER_4 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 5 | IV_PARAMETER_5 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 6 | IV_PARAMETER_6 | Call by reference | Type reference (TYPE) | ANY | Additional parameter | 20090119 | |||
| 7 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | This string is reported when the test starts and at the end | 20081218 |
Method LOG_WARNING on class IF_EPM_TEST_LOGGER has no exception.
Method TEST_BEGIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CALLSTACK_OFFSET | Call by reference | Type reference (TYPE) | I | 1 | 20100922 | |||
| 2 | IV_TEXT | Call by reference | Type reference (TYPE) | STRING | This string is reported when the test starts and at the end | 20090121 |
Method TEST_BEGIN on class IF_EPM_TEST_LOGGER has no exception.
Method TEST_END Signature
Method TEST_END on class IF_EPM_TEST_LOGGER has no parameter.
Method TEST_END on class IF_EPM_TEST_LOGGER has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |