SAP ABAP Class CL_UT_DATA_HELPER (Helper class for data checks in unit tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-MID-RST (Application Component) REST-based Protocols
⤷
SATOM_CORE (Package) ATOM core
⤷
⤷
Properties
| Class | CL_UT_DATA_HELPER | |
| Short Description | Helper class for data checks in unit tests | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 5 | |
| Package | SATOM_CORE | ATOM core |
| Created | 20111103 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_UT_DATA_HELPER has no forward declaration.
Interfaces
Class CL_UT_DATA_HELPER has no interface implemented.
Friends
Class CL_UT_DATA_HELPER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | DATA | 20111103 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Protected | Method | 20111103 | ||
| 2 | Instance method | Public | Method | 20111103 | ||
| 3 | Instance method | Public | Method | 20111103 | ||
| 4 | Static method | Public | Method | 20111103 | ||
| 5 | Instance method | Private | Method | 20111103 | ||
| 6 | Instance method | Public | Method | 20111103 |
Events
Class CL_UT_DATA_HELPER has no event.
Types
Class CL_UT_DATA_HELPER has no local type.
Method Signatures
Method ASSERT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACT | Call by reference | Type reference (TYPE) | ANY | Data object with current value | 20111103 | |||
| 2 | EXP | Call by reference | Type reference (TYPE) | ANY | Data object with expected value | 20111103 | |||
| 3 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | Message in case of failed assertion | 20111103 |
Method ASSERT_EQUALS on class CL_UT_DATA_HELPER has no exception.
Method ASSERT_LINES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LINES | Call by reference | Type reference (TYPE) | I | 20111103 | ||||
| 2 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111103 | ||||
| 3 | TABLE | Call by reference | Type reference (TYPE) | STRING | 20111103 |
Method ASSERT_LINES on class CL_UT_DATA_HELPER has no exception.
Method ASSERT_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPONENT | Call by reference | Type reference (TYPE) | STRING | 20111103 | ||||
| 2 | MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | 20111103 | ||||
| 3 | VALUE | Call by reference | Type reference (TYPE) | DATA | 20111103 |
Method ASSERT_VALUE on class CL_UT_DATA_HELPER has no exception.
Method CREATE_WITH_DATA_REFERENCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DATA_HELPER_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_UT_DATA_HELPER | Helper class for data checks in unit tests | 20111103 | |||
| 2 | DATA_REFERENCE | Call by reference | Object reference (TYPE REF TO) | DATA | 20111103 |
Method CREATE_WITH_DATA_REFERENCE on class CL_UT_DATA_HELPER has no exception.
Method GET_REFERENCE_OF_COMPONENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPONENT | Value transfer | Object reference (TYPE REF TO) | DATA | 20111103 | ||||
| 2 | NAME | Call by reference | Type reference (TYPE) | STRING | 20111103 |
Method GET_REFERENCE_OF_COMPONENT on class CL_UT_DATA_HELPER has no exception.
Method SET_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMPONENT | Call by reference | Type reference (TYPE) | STRING | 20111103 | ||||
| 2 | VALUE | Call by reference | Type reference (TYPE) | DATA | 20111103 |
Method SET_VALUE on class CL_UT_DATA_HELPER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 803 |