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 /IWCOR/IF_DS_EDM_SIMPLE_TYPE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
2 ABAP 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 M_CUT Instance attribute Protected Object reference (TYPE REF TO) /IWCOR/IF_DS_EDM_SIMPLE_TYPE Class under test 20120726
Methods
# Method Level Visibility Method type Description Created on
1 CHECK_COMPATIBILITY Instance method Protected Method Call CHECK_COMPATIBILITY and check compatible types 20120726
2 CHECK_NAME Instance method Protected Method Call GET_NAME and check value 20120726
3 CHECK_TO_STRING Instance method Protected Method Call TO_STRING and perform checks 20120726
4 CHECK_VALIDATE Instance method Protected Method Call VALIDATE and perform checks 20120726
5 CHECK_VALUE_OF Instance method Protected Method Call VALUE_OF and perform checks 20120726
6 TEST_COMPATIBILITY Instance method Protected Test Method for ABAP Unit Test for method CHECK_COMPATIBILITY 20120726
7 TEST_CONVERSION_TO_STRING Instance method Protected Test Method for ABAP Unit Test for method TO_STRING 20120726
8 TEST_CONVERSION_TO_URI_LITERAL Instance method Protected Test Method for ABAP Unit Test for method TO_URI_LITERAL 20120726
9 TEST_NAME Instance method Protected Test Method for ABAP Unit Test for method GET_NAME 20120726
10 TEST_NAMESPACE Instance method Protected Test Method for ABAP Unit Test for method GET_NAMESPACE 20120726
11 TEST_STRUCT_TYPE Instance method Protected Test Method for ABAP Unit Test for struct type (TO_STRING and VALUE_OF) 20120726
12 TEST_VALIDATION Instance method Protected Test Method for ABAP Unit Test for method VALIDATE 20120726
13 TEST_VALUE_OF Instance method Protected Test Method for ABAP Unit Test for method VALUE_OF 20120726
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 Importing 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 Importing IV_NAME Call by reference Type reference (TYPE) STRING Name 20120726
# Exception Resumable Description Created on
1 /IWCOR/CX_DS_EDM_ERROR EDM error 20120726

Method CHECK_TO_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EXP Call by reference Type reference (TYPE) STRING Expected value 20120726
2 Importing IV_FAIL Call by reference Type reference (TYPE) ABAP_BOOL If a failure expected? 20120726
3 Importing IV_KIND Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_SIMPLE_TYPE=>LITERAL_KIND Literal kind 20120726
4 Importing IV_MAXLENGTH Call by reference Type reference (TYPE) I Maxlength facet 20120726
5 Importing IV_NULLABLE Call by reference Type reference (TYPE) ABAP_BOOL Nullable facet 20120726
6 Importing IV_SCALE Call by reference Type reference (TYPE) I Scale facet 20120726
7 Importing IV_TO_UPPER Call by reference Type reference (TYPE) ABAP_BOOL Compare with upper case string? 20120727
8 Importing 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 Importing IV_FAIL Call by reference Type reference (TYPE) ABAP_BOOL If a failure expected? 20120726
2 Importing IV_KIND Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_SIMPLE_TYPE=>LITERAL_KIND Literal kind 20120726
3 Importing IV_MAXLENGTH Call by reference Type reference (TYPE) I Maxlength facet 20120726
4 Importing 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 Importing IV_EXP Call by reference Type reference (TYPE) DATA Expected value 20120726
2 Importing IV_FAIL Call by reference Type reference (TYPE) ABAP_BOOL If a failure expected? 20120726
3 Importing IV_FIXEDLENGTH Call by reference Type reference (TYPE) ABAP_BOOL Fixedlength facet 20120726
4 Importing IV_KIND Call by reference Type reference (TYPE) /IWCOR/IF_DS_EDM_SIMPLE_TYPE=>LITERAL_KIND Literal kind 20120726
5 Importing IV_MAXLENGTH Call by reference Type reference (TYPE) I Maxlength facet 20120726
6 Importing IV_STRING Call by reference Type reference (TYPE) STRING String 20120726
7 Importing 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 /IWCOR/CX_DS_EDM_NULL EDM null literal 20120726
2 CX_PARAMETER_INVALID Superclass for Parameter Error 20120726
3 CX_SY_CONVERSION_ERROR 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 CX_PARAMETER_INVALID Superclass for Parameter Error 20120726
2 CX_PARAMETER_INVALID_TYPE Parameter with Invalid Type 20120726
3 CX_SY_CONVERSION_ERROR 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 /IWCOR/CX_DS_EDM_ERROR 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 /IWCOR/CX_DS_EDM_ERROR 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 /IWCOR/CX_DS_EDM_ERROR 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 /IWCOR/CX_DS_EDM_NULL EDM null literal 20120726
2 CX_PARAMETER_INVALID Superclass for Parameter Error 20120726
3 CX_SY_CONVERSION_ERROR System Exception Involving Conversion Errors 20120726
History
Last changed by/on SAP  20131127 
SAP Release Created in 200