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 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 2 | 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 | Constant | Public | Type reference (TYPE) | C | 'H' | 20110110 | |||
| 2 | Constant | Public | Type reference (TYPE) | C | 'L' | Simplify only the low value of a range | 20090209 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | IDs that are not copied on purpose | 20130830 | |||
| 4 | Static Attribute | Public | Type reference (TYPE) | TS_COPY_MAPPING | 20110110 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20110110 | ||
| 2 | Static method | Public | Method | Returns unnamed ranges / constants within one Object | 20090312 | |
| 3 | Static method | Public | Method | returns the xml representation of an object | 20090312 | |
| 4 | Static method | Public | Method | Transforms a range object to a simple range object | 20090120 | |
| 5 | 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 | 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 | ETH_CONSTANTS | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TH_OBJECT_ID | Object IDs as hashed table | 20090312 | |||
| 2 | ETH_RANGES | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TH_OBJECT_ID | Object IDs as hashed table | 20090312 | |||
| 3 | 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 | EV_STRING | Call by reference | Type reference (TYPE) | STRING | 20090312 | ||||
| 2 | IO_INSTANCE | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20090312 | |||
| 3 | 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 | ETS_RANGE | Call by reference | Type reference (TYPE) | IF_FDT_RANGE=>TS_RANGE | If this parameter is requested, the range stays untouched | 20090528 | |||
| 2 | IV_CHOICE | Call by reference | Type reference (TYPE) | C | initial: both / use constants for only low or only high | 20090209 | |||
| 3 | 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 | ER_CONSTANT_VALUE | Call by reference | Object reference (TYPE REF TO) | DATA | Returned data | 20090121 | |||
| 2 | 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 |