SAP ABAP Class CL_FDT_UNIT_TEST_UTILITIES (FDT: Class for Unit Test utilities)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
     SFDT_TEST (Package) BRFplus: Global Test Classes
Properties
Class CL_FDT_UNIT_TEST_UTILITIES  
Short Description FDT: Class for Unit Test utilities    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SFDT_TEST   BRFplus: Global Test Classes 
Created 20090120   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 IF_FDT_RANGE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 IF_FDT_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_FDT_UNIT_TEST_UTILITIES has no interface implemented.
Friends
Class CL_FDT_UNIT_TEST_UTILITIES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 GC_SET_SIMPLIFIED_RANGE_HIGH Constant Public Type reference (TYPE) C 'H' 20110110
2 GC_SET_SIMPLIFIED_RANGE_LOW Constant Public Type reference (TYPE) C 'L' Simplify only the low value of a range 20090209
3 GTS_COPY_ID_SKIPPED Static Attribute Public Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID IDs that are not copied on purpose 20130830
4 GTS_COPY_MAPPING Static Attribute Public Type reference (TYPE) TS_COPY_MAPPING 20110110
Methods
# Method Level Visibility Method type Description Created on
1 ADD_COPY_MAPPING Static method Public Method 20110110
2 GET_UNNAMED_CNSTNT_RANGE_COUNT Static method Public Method Returns unnamed ranges / constants within one Object 20090312
3 OBJECT_TO_XML Static method Public Method returns the xml representation of an object 20090312
4 TRANSFORM_TO_SIMPLE_RANGE Static method Public Method Transforms a range object to a simple range object 20090120
5 TRANSFORM_TO_SIMPLE_VALUE Static method Public Method Transforms a constant to its value 20090121
Events
Class CL_FDT_UNIT_TEST_UTILITIES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 S_COPY_MAPPING Public See coding 20110110 BEGIN OF s_copy_mapping, source_id TYPE if_fdt_types=>id, target_id TYPE if_fdt_types=>id, END OF s_copy_mapping
2 TS_COPY_MAPPING Public See coding 20110110 ts_copy_mapping TYPE SORTED TABLE OF s_copy_mapping WITH UNIQUE KEY source_id
Method Signatures

Method ADD_COPY_MAPPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_COPY_MAPPING Call by reference Type reference (TYPE) TS_COPY_MAPPING 20110110

Method ADD_COPY_MAPPING on class CL_FDT_UNIT_TEST_UTILITIES has no exception.

Method GET_UNNAMED_CNSTNT_RANGE_COUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETH_CONSTANTS Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Object IDs as hashed table 20090312
2 Exporting ETH_RANGES Call by reference Type reference (TYPE) IF_FDT_TYPES=>TH_OBJECT_ID Object IDs as hashed table 20090312
3 Importing IV_ID Call by reference Type reference (TYPE) IF_FDT_TYPES=>ID Universal Unique Identifier 20090312

Method GET_UNNAMED_CNSTNT_RANGE_COUNT on class CL_FDT_UNIT_TEST_UTILITIES has no exception.

Method OBJECT_TO_XML Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_STRING Call by reference Type reference (TYPE) STRING 20090312
2 Importing IO_INSTANCE Call by reference Object reference (TYPE REF TO) IF_FDT_ADMIN_DATA FDT: Administrative Data 20090312
3 Importing IV_TIMESTAMP Call by reference Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20090312

Method OBJECT_TO_XML on class CL_FDT_UNIT_TEST_UTILITIES has no exception.

Method TRANSFORM_TO_SIMPLE_RANGE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_RANGE Call by reference Type reference (TYPE) IF_FDT_RANGE=>TS_RANGE If this parameter is requested, the range stays untouched 20090528
2 Importing IV_CHOICE Call by reference Type reference (TYPE) C initial: both / use constants for only low or only high 20090209
3 Importing IV_RANGE_ID Call by reference Type reference (TYPE) FDT_UUID ID of the range to be simplified 20090120

Method TRANSFORM_TO_SIMPLE_RANGE on class CL_FDT_UNIT_TEST_UTILITIES has no exception.

Method TRANSFORM_TO_SIMPLE_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ER_CONSTANT_VALUE Call by reference Object reference (TYPE REF TO) DATA Returned data 20090121
2 Importing IV_CONSTANT_ID Call by reference Type reference (TYPE) FDT_UUID UUID of the constant 20090121

Method TRANSFORM_TO_SIMPLE_VALUE on class CL_FDT_UNIT_TEST_UTILITIES has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 720