SAP ABAP Interface IF_EPM_TEST_LOGGER (This interface logs all errors, warnings ... of tests)
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 - 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
Interface IF_EPM_TEST_LOGGER  
Short Description This interface logs all errors, warnings ... of tests    
General Data
Package S_EPM_TESTING_UTILITIES   EPM BO and Scenario Testing 
Created 20081218   SAP 
Last changed 20140121   SAP 
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_AUNIT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_EPM_BO Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Interface IF_EPM_TEST_LOGGER has no interface.
Friends
Interface IF_EPM_TEST_LOGGER has no friend.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_LOG_TYPE_BEGIN_OF_TEST Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 0 Log entry type 'Begin of test' 20090209
2 GC_LOG_TYPE_BLOB_FOR_BI Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 6 Log entry type 'BI specific blob' 20090209
3 GC_LOG_TYPE_BLOB_FOR_COMPONENT Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 5 Log entry type 'Component specific blob' 20090209
4 GC_LOG_TYPE_BLOB_TEST_FWK Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 7 Log entry type 'EPM Test Framework specific' 20090209
5 GC_LOG_TYPE_END_OF_TEST Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 1 Log entry type 'End of test' 20090209
6 GC_LOG_TYPE_ERROR Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 2 Log entry type 'Error' 20090209
7 GC_LOG_TYPE_MESSAGE Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 4 Log entry type 'Message' 20090209
8 GC_LOG_TYPE_WARNING Constant Public Type reference (TYPE) SEPM_TEST_LOG_TYPE_CODE 3 Log entry type 'Warning' 20090209
9 GC_REPORTING_DEPTH_ALL Constant Public Type reference (TYPE) TY_REPORTING_DEPTH 3 reports all items 20090113
10 GC_REPORTING_DEPTH_ERROR Constant Public Type reference (TYPE) TY_REPORTING_DEPTH 1 reports additionally errors 20090113
11 GC_REPORTING_DEPTH_NOTHING Constant Public Type reference (TYPE) TY_REPORTING_DEPTH 0 reports only start and end of a test 20090113
12 GC_REPORTING_DEPTH_WARNING Constant Public Type reference (TYPE) TY_REPORTING_DEPTH 2 reports additionally warnings 20090113
13 GC_SEVERITY_ERROR Constant Public Type reference (TYPE) TY_SEVERITY 1 An error was signaled 20090121
14 GC_SEVERITY_NOTHING Constant Public Type reference (TYPE) TY_SEVERITY 3 Nothing was signaled 20090121
15 GC_SEVERITY_WARNING Constant Public Type reference (TYPE) TY_SEVERITY 2 A warning was signaled 20090121
Methods
# Method Level Visibility Method type Description Created on
1 ABORT Instance method Public Method Abort test ( test class / test method ) 20130325
2 ASSERT_BAPI_MESSAGE Instance method Public Method Asserts if a BAPI message is contained in a BAPI message tab 20110825
3 ASSERT_BAPI_NO_ERROR_MESSAGE Instance method Public Method Asserts that there is no BAPI error message 20130408
4 ASSERT_DIFFERS Instance method Public Method Compares two values for inequality 20090825
5 ASSERT_EQUALS Instance method Public Method Compares two values for equality 20090121
6 ASSERT_FALSE Instance method Public Method Asserts if a value is false 20090213
7 ASSERT_INITIAL Instance method Public Method Asserts if a value is initial 20090121
8 ASSERT_MESSAGE Instance method Public Method Asserts if message is in message buffer 20100805
9 ASSERT_NOT_INITIAL Instance method Public Method Asserts if a value is not initial 20090123
10 ASSERT_ONE Instance method Public Method Asserts if a value is 1 20090903
11 ASSERT_PROPERTIES_EQUALS Instance method Public Method Asserts if two property tables are different 20100609
12 ASSERT_SUBRC Instance method Public Method Asserts if a subrc has the right code 20090121
13 ASSERT_TRUE Instance method Public Method Asserts if a value is true 20090213
14 FAIL Instance method Public Method 20090701
15 FAIL_AND_QUIT_METHOD Instance method Public Method 20110412
16 GET_SEVERITY Instance method Public Method Retrieves the current severity for that single test 20090121
17 LOG_BAPIRETTAB Instance method Public Method Logs the BAPIRETTABTable 20110609
18 LOG_BLOB Instance method Public Method Logs any kind of data 20081218
19 LOG_ERROR Instance method Public Method Logs an error 20081218
20 LOG_INFO Instance method Public Method Logs an information 20081218
21 LOG_WARNING Instance method Public Method Logs a warning 20081218
22 TEST_BEGIN Instance method Public Method A test program signals the begin of a single test 20090121
23 TEST_END Instance method Public Method A test program signals the end of a single test 20090121
Events
Interface 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 Importing IV_DETAIL Call by reference Type reference (TYPE) CSEQUENCE Detail Message 20130325
2 Importing IV_MSG Call by reference Type reference (TYPE) CSEQUENCE Error Message 20130325
3 Importing 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 CX_EPM_TEST_LOGGER_ASSERT 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 Importing IT_BAPI_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110825
2 Importing IV_BAPI_MESSAGE_ID Call by reference Type reference (TYPE) SYMSGID Message Class 20110825
3 Importing IV_BAPI_MESSAGE_NUMBER Call by reference Type reference (TYPE) SYMSGNO Message Number 20110825
4 Importing IV_BAPI_MESSAGE_TYPE Call by reference Type reference (TYPE) BAPI_MTYPE Return Parameter 20110825
5 Importing 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 CX_EPM_API_EXCEPTION EPM: API exception class 20110825
2 CX_EPM_TEST_LOGGER_ASSERT 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 Importing IT_BAPI_MESSAGES Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20130408
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT Assert Exception from Logger 20130408

Method ASSERT_DIFFERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACT Call by reference Type reference (TYPE) ANY Data Object with Current Value 20090825
2 Importing IV_EXP Call by reference Type reference (TYPE) ANY Data Object with Expected Type 20090825
3 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090825
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT Assert Exception from Logger 20090825

Method ASSERT_EQUALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACT Call by reference Type reference (TYPE) ANY Data Object with Current Value 20090121
2 Importing IV_EXP Call by reference Type reference (TYPE) ANY Data Object with Expected Type 20090121
3 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090121
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT 20090122

Method ASSERT_FALSE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACT Call by reference Type reference (TYPE) ANY Data Object with Current Value 20090213
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090213
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT Assert Exception from Logger 20090213

Method ASSERT_INITIAL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACT Call by reference Type reference (TYPE) ANY Actual Data Object 20090121
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090121
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT 20090122

Method ASSERT_MESSAGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing II_MESSAGE_BUFFER Call by reference Object reference (TYPE REF TO) IF_EPM_MESSAGE_BUFFER EPM: Message buffer interface 20100805
2 Importing IS_MESSAGE Call by reference Type reference (TYPE) SCX_T100KEY T100 Key with Parameters Mapped to Attribute Names 20100805
3 Importing 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 CX_EPM_API_EXCEPTION EPM: API exception class 20100805
2 CX_EPM_TEST_LOGGER_ASSERT 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 Importing IV_ACT Call by reference Type reference (TYPE) ANY 20090123
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING 20090123
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT 20090123

Method ASSERT_ONE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACT Call by reference Type reference (TYPE) ANY 20090903
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING 20090903
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT 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 Importing IT_ACTUAL Call by reference Type reference (TYPE) IF_EPM_BO=>TT_PROPERTIES Property Handling: Properties 20100609
2 Importing IT_EXPECTED Call by reference Type reference (TYPE) IF_EPM_BO=>TT_PROPERTIES Property Handling: Properties 20100609
3 Importing IV_TEXT Call by reference Type reference (TYPE) STRING 20100721
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT Assert Exception from Logger 20100609

Method ASSERT_SUBRC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EXP Call by reference Type reference (TYPE) SYSUBRC Data Object with Expected Type 20090121
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090121
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT 20090122

Method ASSERT_TRUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_ACT Call by reference Type reference (TYPE) ANY Data Object with Current Value 20090213
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090213
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT Assert Exception from Logger 20090213

Method FAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Message in Case of Error 20090701
# Exception Resumable Description Created on
1 CX_EPM_TEST_LOGGER_ASSERT 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 Importing IV_MSG Call by reference Type reference (TYPE) STRING 20110412

Method FAIL_AND_QUIT_METHOD on Interface 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 Returning RV_SEVERITY Value transfer Type reference (TYPE) TY_SEVERITY Current severity 20090121

Method GET_SEVERITY on Interface 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 Importing IT_BAPIRETTAB Call by reference Type reference (TYPE) BAPIRETTAB Table with BAPI Return Information 20110609
2 Importing IV_TEXT Call by reference Type reference (TYPE) STRING Error text 20110609

Method LOG_BAPIRETTAB on Interface 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 Importing IV_BLOB Call by reference Type reference (TYPE) STRING Data to be stored 20090121
2 Importing IV_PROGRAM_NAME Call by reference Type reference (TYPE) SOBJ_NAME Name of this program entity 20081218
3 Importing 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 Interface 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 Importing IV_PARAMETER_1 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
2 Importing IV_PARAMETER_2 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
3 Importing IV_PARAMETER_3 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
4 Importing IV_PARAMETER_4 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
5 Importing IV_PARAMETER_5 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
6 Importing IV_PARAMETER_6 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
7 Importing IV_TEXT Call by reference Type reference (TYPE) CSEQUENCE This string is reported 20081218

Method LOG_ERROR on Interface 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 Importing IV_PARAMETER_1 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
2 Importing IV_PARAMETER_2 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
3 Importing IV_PARAMETER_3 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
4 Importing IV_PARAMETER_4 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
5 Importing IV_PARAMETER_5 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
6 Importing IV_PARAMETER_6 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
7 Importing 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 Interface 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 Importing IV_PARAMETER_1 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
2 Importing IV_PARAMETER_2 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
3 Importing IV_PARAMETER_3 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
4 Importing IV_PARAMETER_4 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
5 Importing IV_PARAMETER_5 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
6 Importing IV_PARAMETER_6 Call by reference Type reference (TYPE) ANY Additional parameter 20090119
7 Importing 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 Interface 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 Importing IV_CALLSTACK_OFFSET Call by reference Type reference (TYPE) I 1 20100922
2 Importing 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 Interface IF_EPM_TEST_LOGGER has no exception.

Method TEST_END Signature

Method TEST_END on Interface IF_EPM_TEST_LOGGER has no parameter.
Method TEST_END on Interface IF_EPM_TEST_LOGGER has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in 720