SAP ABAP Class CL_EPM_BOL_TEST_BASE (EPM: BO Test Listener base class)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-NWD (Application Component) NetWeaver Demonstration
     S_EPM_BO_BASE (Package) EPM: Base Package for Business Objects
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_EPM_BO_LISTENER Abstract BO listener class 20090903
Meta Relationship - Used By
# Relationship type Used by Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_EPM_BOL_TEST_ACTIONS EPM: BO Test Listener 20090903
2 Inheritance (c INHERITING FROM c_ref)  CL_EPM_BOL_TEST_AFTER_SAVE EPM: BO Test Listener 20090903
3 Inheritance (c INHERITING FROM c_ref)  CL_EPM_BOL_TEST_ERRONEOUS EPM: BO Test Listener 20090903
Properties
Class CL_EPM_BOL_TEST_BASE  
Short Description EPM: BO Test Listener base class    
Super Class CL_EPM_BO_LISTENER Abstract BO listener class 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status T  Test Program 
Category 0   
Package S_EPM_BO_BASE   EPM: Base Package for Business Objects 
Created 20090903   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)
Interfaces
Class CL_EPM_BOL_TEST_BASE has no interface implemented.
Friends
Class CL_EPM_BOL_TEST_BASE has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_ENVIRONMENT_SETUP_TEST_100 Constant Public Type reference (TYPE) STRING 'ENVIRONMENT_SETUP_TEST_100' BO listener unit test ENVIRONMENT_SETUP_TEST_100 20090903
2 GC_ENVIRONMENT_SETUP_TEST_200 Constant Public Type reference (TYPE) STRING 'ENVIRONMENT_SETUP_TEST_200' BO listener unit test ENVIRONMENT_SETUP_TEST_200 20090903
3 GC_ON_ACTION_TEST_100 Constant Public Type reference (TYPE) STRING 'ON_ACTION_TEST_100' BO listener unit test ON_ACTION_TEST_100 20090903
4 GC_ON_ACTION_TEST_110 Constant Public Type reference (TYPE) STRING 'ON_ACTION_TEST_110' BO listener unit test ON_ACTION_TEST_110 20090903
5 GC_ON_ACTION_TEST_120 Constant Public Type reference (TYPE) STRING 'ON_ACTION_TEST_120' BO listener unit test ON_ACTION_TEST_120 20090903
6 GC_ON_AFTER_SAVE_TEST_100 Constant Public Type reference (TYPE) STRING 'ON_AFTER_SAVE_TEST_100' BO listener unit test ON_AFTER_SAVE_TEST_100 20090903
7 GC_ON_AFTER_SAVE_TEST_110 Constant Public Type reference (TYPE) STRING 'ON_AFTER_SAVE_TEST_110' BO listener unit test ON_AFTER_SAVE_TEST_110 20090903
8 GC_ON_AFTER_SAVE_TEST_120 Constant Public Type reference (TYPE) STRING 'ON_AFTER_SAVE_TEST_120' BO listener unit test ON_AFTER_SAVE_TEST_120 20090903
9 GC_ON_AFTER_SAVE_TEST_130 Constant Public Type reference (TYPE) STRING 'ON_AFTER_SAVE_TEST_130' BO listener unit test ON_AFTER_SAVE_TEST_130 20090903
10 GC_OP_ON_ACTION Constant Public Type reference (TYPE) STRING 'ON_ACTION' Name of BO listener method ON_ACTION 20090903
11 GC_OP_ON_AFTER_SAVE Constant Public Type reference (TYPE) STRING 'ON_AFTER_SAVE' Name of BO listener method ON_AFTER_SAVE 20090903
12 GC_TEST_CONTEXT_BASE_BO Constant Public Type reference (TYPE) STRING 'BASE_BO_TEST' Test context = 'Base BO Test' 20090903
13 GC_TEST_CONTEXT_BO_LISTENER Constant Public Type reference (TYPE) STRING 'BO_LISTENER' Test context = 'BO Listener' 20090903
14 GC_TEST_CONTEXT_SERVICE_FACADE Constant Public Type reference (TYPE) STRING 'SERVICE_FACADE_TEST' Test context = 'Service Facade' 20090903
15 LC_SEPM_TEST_DATE_ELEMENT Constant Private Type reference (TYPE) DDOBJNAME 'SEPM_TEST_DATE_ELEMENT' Data element used for testing purposes 20090904
16 LC_SEPM_TEST_DATE_EL_DG Constant Private Type reference (TYPE) DDOBJNAME 'SEPM_DGT_TEST' Data element used for testing purposes 20100719
17 MS_TEST_CONTEXT Static Attribute Protected Type reference (TYPE) TY_TEST_CONTEXT Contains info about unit test that is performed 20090903
18 MT_METHOD_CALL_INFO Instance attribute Protected Type reference (TYPE) TT_METHOD_CALL_INFO Tracking of BO method calls during ABAP unit tests 20090903
19 MT_TEST_ERROR_INFO Instance attribute Protected Type reference (TYPE) TT_TEST_ERROR_INFO Contains infos about errors detected by a BO Test Listener 20090903
Methods
# Method Level Visibility Method type Description Created on
1 FORCE_SYNTAX_ERROR_TBOL_DG Static method Public Method introduce a syntax error to class CL_EPM_BOL_TEST_ERRONEOUS 20100719
2 FORCE_SYNTAX_ERROR_WITH_TBOL Static method Public Method introduce a syntax error to class CL_EPM_BOL_TEST_ERRONEOUS 20090904
3 GET_METHOD_CALL_INFO Instance method Public Method retrieve BO Listener method call info of a unit test 20090903
4 GET_TEST_ERROR_INFO Instance method Public Method get info about an test error detected by a BO Listener 20090903
5 IS_A_BOL_TEST_LISTENER Static method Public Method Check whether an ABAP object represents a BO test listener 20090911
6 IS_BOTL_ERRONEOUS Static method Public Method Check: Is object instance the ERRONEOUS test listener 20090911
7 IS_BOTL_ON_ACTION Static method Public Method Check: Is objec instance the ON_ACTION test listener 20090911
8 IS_BOTL_ON_AFTER_SAVE Static method Public Method Check: Is object instance the ON_AFTER_SAVE test listener 20090911
9 REMOVE_SYNTAX_ERROR_FROM_TBOL Static method Public Method remove syntax error from class CL_EPM_BOL_TEST_ERRONEOUS 20090904
10 REMOVE_SYNTAX_ERROR_TBOL_DG Static method Public Method remove syntax error from class CL_EPM_BOL_TEST_ERRONEOUS 20100719
11 RESET_METHOD_CALL_INFO Instance method Public Method reset info about called BO listener methods of a unit test 20090903
12 RESET_TEST_ERROR_INFO Instance method Public Method reset test error info 20090903
13 SET_UNIT_TEST_CONTEXT Static method Public Method set unit test context ( BO Listener behavior control ) 20090903
Events
Class CL_EPM_BOL_TEST_BASE has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TT_METHOD_CALL_INFO Public See coding 20090903 tt_method_call_info type standard table of ty_method_call_info with default key
2 TT_TEST_ERROR_INFO Public See coding 20090903 tt_test_error_info type standard table of ty_test_error_info with default key
3 TY_METHOD_CALL_INFO Public See coding 20090903 begin of ty_method_call_info, test_case type string, operation type string, message type string, end of ty_method_call_info
4 TY_TEST_CONTEXT Public See coding 20090903 begin of ty_test_context, context type string, " AFTER_SAVE_LISTENER, ON_ACTION_LISTENER, ... test_case type string, " name of unit test method end of ty_test_context
5 TY_TEST_ERROR_INFO Public See coding 20090903 begin of ty_test_error_info, test_context type string, test_case type string, operation type string, error type string, end of ty_test_error_info
Method Signatures

Method FORCE_SYNTAX_ERROR_TBOL_DG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_OBJNAME Value transfer Type reference (TYPE) DDOBJNAME Name of ABAP Dictionary Object 20100719
2 Returning RV_OPERATION_SUCCESSFUL Value transfer Type reference (TYPE) ABAP_BOOL Flag: Operation successful (yes/no) 20100719

Method FORCE_SYNTAX_ERROR_TBOL_DG on class CL_EPM_BOL_TEST_BASE has no exception.

Method FORCE_SYNTAX_ERROR_WITH_TBOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OPERATION_SUCCESSFUL Value transfer Type reference (TYPE) ABAP_BOOL Flag: Operation successful (yes/no) 20090904

Method FORCE_SYNTAX_ERROR_WITH_TBOL on class CL_EPM_BOL_TEST_BASE has no exception.

Method GET_METHOD_CALL_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_METHOD_CALL_INFO Value transfer Type reference (TYPE) TT_METHOD_CALL_INFO set of information about called BO Listener methods 20090903

Method GET_METHOD_CALL_INFO on class CL_EPM_BOL_TEST_BASE has no exception.

Method GET_TEST_ERROR_INFO Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning ET_TEST_ERROR_INFO Value transfer Type reference (TYPE) TT_TEST_ERROR_INFO error info of a BO Listener unit test 20090903

Method GET_TEST_ERROR_INFO on class CL_EPM_BOL_TEST_BASE has no exception.

Method IS_A_BOL_TEST_LISTENER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT an object instance 20090911
2 Returning RV_IS_A_BO_TEST_LISTENER Value transfer Type reference (TYPE) ABAP_BOOL Flag: Object represents a BO test listener (true/false) 20090911

Method IS_A_BOL_TEST_LISTENER on class CL_EPM_BOL_TEST_BASE has no exception.

Method IS_BOTL_ERRONEOUS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT An object instance 20090911
2 Returning RV_IS_BOTL_ERRONEOUS Value transfer Type reference (TYPE) ABAP_BOOL Flag (true/false) 20090911

Method IS_BOTL_ERRONEOUS on class CL_EPM_BOL_TEST_BASE has no exception.

Method IS_BOTL_ON_ACTION Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT An object instance 20090911
2 Returning RV_IS_BOTL_ON_ACTION Value transfer Type reference (TYPE) ABAP_BOOL Flag (true/false) 20090911

Method IS_BOTL_ON_ACTION on class CL_EPM_BOL_TEST_BASE has no exception.

Method IS_BOTL_ON_AFTER_SAVE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IO_OBJECT Call by reference Object reference (TYPE REF TO) OBJECT An object instance 20090911
2 Returning RV_IS_BOTL_ON_AFTER_SAVE Value transfer Type reference (TYPE) ABAP_BOOL Flag (true/false) 20090911

Method IS_BOTL_ON_AFTER_SAVE on class CL_EPM_BOL_TEST_BASE has no exception.

Method REMOVE_SYNTAX_ERROR_FROM_TBOL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OPERATION_SUCCESSFUL Value transfer Type reference (TYPE) ABAP_BOOL Flag: Operation was succesful (yes/no) 20090904

Method REMOVE_SYNTAX_ERROR_FROM_TBOL on class CL_EPM_BOL_TEST_BASE has no exception.

Method REMOVE_SYNTAX_ERROR_TBOL_DG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_OPERATION_SUCCESSFUL Value transfer Type reference (TYPE) ABAP_BOOL Flag: Operation was succesful (yes/no) 20100719

Method REMOVE_SYNTAX_ERROR_TBOL_DG on class CL_EPM_BOL_TEST_BASE has no exception.

Method RESET_METHOD_CALL_INFO Signature

Method RESET_METHOD_CALL_INFO on class CL_EPM_BOL_TEST_BASE has no parameter.
Method RESET_METHOD_CALL_INFO on class CL_EPM_BOL_TEST_BASE has no exception.

Method RESET_TEST_ERROR_INFO Signature

Method RESET_TEST_ERROR_INFO on class CL_EPM_BOL_TEST_BASE has no parameter.
Method RESET_TEST_ERROR_INFO on class CL_EPM_BOL_TEST_BASE has no exception.

Method SET_UNIT_TEST_CONTEXT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_TEST_CONTEXT Call by reference Type reference (TYPE) TY_TEST_CONTEXT the test context 20090903

Method SET_UNIT_TEST_CONTEXT on class CL_EPM_BOL_TEST_BASE has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 730