SAP ABAP Class CL_PAK_WB_OBJECT_VERIFICATIONS (Routines for verification of IF_PAK_WB_OBJECT instances)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
     SPAK_WB_FOUNDATION (Package) Framework for integrating the APIs with the ABAP Workbench
Properties
Class CL_PAK_WB_OBJECT_VERIFICATIONS  
Short Description Routines for verification of IF_PAK_WB_OBJECT instances    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SPAK_WB_FOUNDATION   Framework for integrating the APIs with the ABAP Workbench 
Created 20050517   SAP 
Last change 20080612   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_PAK_PACKAGE_COMMON Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_PAK_WB_OBJECT_VERIFICATIONS has no interface implemented.
Friends
Class CL_PAK_WB_OBJECT_VERIFICATIONS has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CO_CREATION Constant Private See coding Actual values for TY_CREATION 20050517
2 CO_NO_INVALID_STATE_METHODS Static Attribute Private Type reference (TYPE) STRING_TABLE Methods of IF_PAK_WB_OBJECT not raising CX_PAK_INVALID_STATE 20050823
3 CO_PROPERTY_COMPONENT_COUNT Constant Public Type reference (TYPE) STRING 'COMPONENT_COUNT' Identifies "component count" property 20060111
4 DEFAULT_TEST_DATA_EDITOR Static Attribute Public Object reference (TYPE REF TO) IF_PAK_TEST_DATA_EDITOR Default implementation of IF_PAK_TEST_DATA_EDITOR 20070720
5 FAIL_ON_RS_ACCESS_PERMISSION Static Attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE ABAP_TRUE: CL_PAK_WB_UTIL=>INVOKE_RS_ACCESS_PERMISSION fails 20060829
6 PARAM_CACHE Static Attribute Private Type reference (TYPE) TY_PARAM_CACHE Cache of data objects for actual parameters 20050517
Methods
# Method Level Visibility Method type Description Created on
1 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20050823
2 COMPUTE_PARAM_DATA Static method Private Method Creates cache key and type data for an actual parameter 20050517
3 CREATE_ACTUAL_PARAMETER Static method Private Method Creates an actual parameter 20050517
4 CREATE_PARAMETERS Static method Private Method Creates the actual parameters needed to invoke a method 20050517
5 TEST_COMPONENT_CONSISTENCY Static method Public Method Verifies that data "components" are handled consistently 20060111
6 TEST_DOMAINS_CLASS Static method Public Method Verifies classes such as CL_PAK_WB_DOMAINS 20060809
7 TEST_INVALID_STATE Static method Public Method Verifies that all GET/SET methods raise INVALID_STATE 20050824
8 TEST_WB_OBJECT Static method Public Method Verifies IF_PAK_WB_OBJECT implementations 20050517
Events
Class CL_PAK_WB_OBJECT_VERIFICATIONS has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_CREATION Private Type reference (TYPE) I Indicates the technique needed to create a data object 20050517
2 TY_PARAM_CACHE Private See coding Cache of data objects used for actual parameters 20050517 ty_param_cache TYPE HASHED TABLE OF ty_param_cache_entry WITH UNIQUE KEY cache_key
3 TY_PARAM_CACHE_ENTRY Private See coding An entry of TY_PARAM_CACHE 20050517 BEGIN OF ty_param_cache_entry, cache_key TYPE string, dref TYPE REF TO data, END OF ty_param_cache_entry
4 TY_TYPE_DATA Private See coding Stores type attributes needed to create data objects 20050517 BEGIN OF ty_type_data, type_kind TYPE abap_typekind, name TYPE abap_typename, length TYPE i, decimals TYPE i, creation TYPE ty_creation, END OF ty_type_data
Method Signatures

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_PAK_WB_OBJECT_VERIFICATIONS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method COMPUTE_PARAM_DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_TYPE Call by reference Type reference (TYPE) TY_TYPE_DATA 20061005
2 Exporting EX_CACHE_KEY Call by reference Type reference (TYPE) STRING 20050517
3 Exporting EX_PARAMETERS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20050517
4 Importing IM_CLASS Call by reference Object reference (TYPE REF TO) CL_ABAP_CLASSDESCR 20050517
5 Importing IM_METHOD_NAME Call by reference Type reference (TYPE) ABAP_METHNAME 20050517
6 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) ABAP_PARMNAME 20050517

Method COMPUTE_PARAM_DATA on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method CREATE_ACTUAL_PARAMETER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing CH_PARAMS Call by reference Type reference (TYPE) ABAP_PARMBIND_TAB 20050517
2 Exporting EX_PARAMETERS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20050517
3 Importing IM_CACHE_KEY Call by reference Type reference (TYPE) STRING 20050517
4 Importing IM_PARAM_NAME Call by reference Type reference (TYPE) ABAP_PARMNAME 20050517
5 Importing IM_TYPE Call by reference Type reference (TYPE) TY_TYPE_DATA 20050517

Method CREATE_ACTUAL_PARAMETER on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method CREATE_PARAMETERS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_PARAMETERS_OK Call by reference Type reference (TYPE) ABAP_BOOL 20050517
2 Exporting EX_PARAMS Call by reference Type reference (TYPE) ABAP_PARMBIND_TAB 20050517
3 Importing IM_CLASS Call by reference Object reference (TYPE REF TO) CL_ABAP_CLASSDESCR Runtime Type Services 20050517
4 Importing IM_METHOD Call by reference Type reference (TYPE) ABAP_METHDESCR 20050517

Method CREATE_PARAMETERS on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method TEST_COMPONENT_CONSISTENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA_EDITOR Call by reference Object reference (TYPE REF TO) IF_PAK_TEST_DATA_EDITOR DEFAULT_TEST_DATA_EDITOR Editor for tested object (if required in special cases) 20070720
2 Importing IM_DATA_PROVIDER Call by reference Object reference (TYPE REF TO) IF_PAK_TEST_DATA_PROVIDER For providing the instances under test 20060111

Method TEST_COMPONENT_CONSISTENCY on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method TEST_DOMAINS_CLASS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_CLASS_NAME Call by reference Type reference (TYPE) SEOCLSNAME Name of the class to verify 20060809

Method TEST_DOMAINS_CLASS on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method TEST_INVALID_STATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_EXCEPT_METHODS Call by reference Type reference (TYPE) STRING_TABLE Methods not to test 20050824
2 Importing IM_IUT Call by reference Object reference (TYPE REF TO) OBJECT The Instance Under Test 20050824
3 Importing IM_ONLY_GET_SET Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE to test all public method 20050824
4 Importing IM_ONLY_INTERFACES Call by reference Type reference (TYPE) STRING_TABLE List of interfaces to check, initial to check all methods 20060217

Method TEST_INVALID_STATE on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.

Method TEST_WB_OBJECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DATA_EDITOR Call by reference Object reference (TYPE REF TO) IF_PAK_TEST_DATA_EDITOR DEFAULT_TEST_DATA_EDITOR Editor for tested object (if required in special cases) 20070720
2 Importing IM_DATA_PROVIDER Call by reference Object reference (TYPE REF TO) IF_PAK_TEST_DATA_PROVIDER The data provider supplying concrete data for the test 20050517
3 Importing IM_EXCEPT_METHODS Call by reference Type reference (TYPE) STRING_TABLE Methods not to test for raising CX_PAK_INVALID_STATE 20050823

Method TEST_WB_OBJECT on class CL_PAK_WB_OBJECT_VERIFICATIONS has no exception.
History
Last changed by/on SAP  20080612 
SAP Release Created in 710