SAP ABAP Class /IWCOR/CL_DS_TEST_EDM_SIMPLE (Global unit test class for Edm simple types)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND-CCL (Application Component) IWF Consumer Connectivity Layer
⤷
/IWCOR/SODATA_TEST (Package) Data Services Tests using the library
⤷
⤷
Properties
| Class | /IWCOR/CL_DS_TEST_EDM_SIMPLE | |
| Short Description | Global unit test class for Edm simple types | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 5 | |
| Package | /IWCOR/SODATA_TEST | Data Services Tests using the library |
| Created | 20120726 | SAP |
| Last change | 20131127 | 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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no interface implemented.
Friends
Class /IWCOR/CL_DS_TEST_EDM_SIMPLE 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) | /IWCOR/IF_DS_EDM_SIMPLE_TYPE | Class under test | 20120726 |
Methods
Events
Class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ID_T | Protected | See coding | 20120726 | ID_T type standard table of /IWCOR/if_ds_edm_simple_type=>type_id
|
Method Signatures
Method CHECK_COMPATIBILITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_COMPATIBLE_TYPES | Call by reference | Type reference (TYPE) | ID_T | Compatible type IDs | 20120726 |
Method CHECK_COMPATIBILITY on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no exception.
Method CHECK_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | Name | 20120726 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EDM error | 20120726 |
Method CHECK_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXP | Call by reference | Type reference (TYPE) | STRING | Expected value | 20120726 | |||
| 2 | IV_FAIL | Call by reference | Type reference (TYPE) | ABAP_BOOL | If a failure expected? | 20120726 | |||
| 3 | IV_KIND | Call by reference | Type reference (TYPE) | /IWCOR/IF_DS_EDM_SIMPLE_TYPE=>LITERAL_KIND | Literal kind | 20120726 | |||
| 4 | IV_MAXLENGTH | Call by reference | Type reference (TYPE) | I | Maxlength facet | 20120726 | |||
| 5 | IV_NULLABLE | Call by reference | Type reference (TYPE) | ABAP_BOOL | Nullable facet | 20120726 | |||
| 6 | IV_SCALE | Call by reference | Type reference (TYPE) | I | Scale facet | 20120726 | |||
| 7 | IV_TO_UPPER | Call by reference | Type reference (TYPE) | ABAP_BOOL | Compare with upper case string? | 20120727 | |||
| 8 | IV_VALUE | Call by reference | Type reference (TYPE) | DATA | Value | 20120726 |
Method CHECK_TO_STRING on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no exception.
Method CHECK_VALIDATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FAIL | Call by reference | Type reference (TYPE) | ABAP_BOOL | If a failure expected? | 20120726 | |||
| 2 | IV_KIND | Call by reference | Type reference (TYPE) | /IWCOR/IF_DS_EDM_SIMPLE_TYPE=>LITERAL_KIND | Literal kind | 20120726 | |||
| 3 | IV_MAXLENGTH | Call by reference | Type reference (TYPE) | I | Maxlength facet | 20120726 | |||
| 4 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | String | 20120726 |
Method CHECK_VALIDATE on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no exception.
Method CHECK_VALUE_OF Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXP | Call by reference | Type reference (TYPE) | DATA | Expected value | 20120726 | |||
| 2 | IV_FAIL | Call by reference | Type reference (TYPE) | ABAP_BOOL | If a failure expected? | 20120726 | |||
| 3 | IV_FIXEDLENGTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | Fixedlength facet | 20120726 | |||
| 4 | IV_KIND | Call by reference | Type reference (TYPE) | /IWCOR/IF_DS_EDM_SIMPLE_TYPE=>LITERAL_KIND | Literal kind | 20120726 | |||
| 5 | IV_MAXLENGTH | Call by reference | Type reference (TYPE) | I | Maxlength facet | 20120726 | |||
| 6 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | String | 20120726 | |||
| 7 | IV_VALUE | Value transfer | Type reference (TYPE) | DATA | Result value | 20120726 |
Method CHECK_VALUE_OF on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no exception.
Method TEST_COMPATIBILITY Signature
Method TEST_COMPATIBILITY on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
Method TEST_COMPATIBILITY on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no exception.
Method TEST_CONVERSION_TO_STRING Signature
Method TEST_CONVERSION_TO_STRING on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EDM null literal | 20120726 | ||
| 2 | Superclass for Parameter Error | 20120726 | ||
| 3 | System Exception Involving Conversion Errors | 20120726 |
Method TEST_CONVERSION_TO_URI_LITERAL Signature
Method TEST_CONVERSION_TO_URI_LITERAL on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Superclass for Parameter Error | 20120726 | ||
| 2 | Parameter with Invalid Type | 20120726 | ||
| 3 | System Exception Involving Conversion Errors | 20120726 |
Method TEST_NAME Signature
Method TEST_NAME on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EDM error | 20120726 |
Method TEST_NAMESPACE Signature
Method TEST_NAMESPACE on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EDM error | 20120726 |
Method TEST_STRUCT_TYPE Signature
Method TEST_STRUCT_TYPE on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EDM error | 20120726 |
Method TEST_VALIDATION Signature
Method TEST_VALIDATION on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
Method TEST_VALIDATION on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no exception.
Method TEST_VALUE_OF Signature
Method TEST_VALUE_OF on class /IWCOR/CL_DS_TEST_EDM_SIMPLE has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EDM null literal | 20120726 | ||
| 2 | Superclass for Parameter Error | 20120726 | ||
| 3 | System Exception Involving Conversion Errors | 20120726 |
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 200 |