SAP ABAP Class CL_SALV_STI_AUNIT_COLTYPES (unit tests for columnt types)
Hierarchy
SAP_UI (Software Component) User Interface Technology
   BC-WD-CMP-ATS (Application Component) ABAP Table/Tree Services
     SALV_STI (Package) ALV Services for Tables: iTab Services impl.
Properties
Class CL_SALV_STI_AUNIT_COLTYPES  
Short Description unit tests for columnt types    
Super Class    
Instantiability of a Class 1  Protected 
Final    
General Data
Message Class    
Program status T  Test Program 
Category 5   
Package SALV_STI   ALV Services for Tables: iTab Services impl. 
Created 20101221   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 IF_AUNIT_CONSTANTS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
3 IF_SALV_SERVICE_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
Class CL_SALV_STI_AUNIT_COLTYPES has no interface implemented.
Friends
Class CL_SALV_STI_AUNIT_COLTYPES has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 CS_CODE_KIND Constant Protected See coding 20110103
2 CS_NUM_PRES_MODE Constant Protected See coding 20110119
3 C_EXTERNAL Constant Protected Type reference (TYPE) ABAP_BOOL ABAP_FALSE 20101221
4 C_EXT_AUTO_AMNTL Constant Protected Type reference (TYPE) STRING `` 20110118
5 C_EXT_AUTO_AMNTR Constant Protected Type reference (TYPE) STRING `` 20110118
6 C_EXT_AUTO_D Constant Protected Type reference (TYPE) STRING `` 20101222
7 C_EXT_AUTO_DFL Constant Protected Type reference (TYPE) STRING `` 20101223
8 C_EXT_AUTO_DFR Constant Protected Type reference (TYPE) STRING `` 20101223
9 C_EXT_AUTO_FL Constant Protected Type reference (TYPE) STRING `` 20101223
10 C_EXT_AUTO_FR Constant Protected Type reference (TYPE) STRING `` 20101223
11 C_EXT_AUTO_PD3L Constant Protected Type reference (TYPE) STRING `` 20101222
12 C_EXT_AUTO_PD3R Constant Protected Type reference (TYPE) STRING `` 20101222
13 C_EXT_AUTO_TL Constant Protected Type reference (TYPE) STRING `` 20101222
14 C_EXT_AUTO_TS Constant Protected Type reference (TYPE) STRING `` 20101222
15 C_EXT_AUTO_TSTMP Constant Protected Type reference (TYPE) STRING `` 20101223
16 C_INTERNAL Constant Protected Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20101221
17 C_TESTCOLUMN Constant Protected Type reference (TYPE) STRING `TESTCOLUMN` 20101221
18 G_BROKEN_GC_WORKAROUND Static Attribute Private Type reference (TYPE) ABAP_BOOL 20101223
19 G_NUM_PRES_MODE Static Attribute Protected Type reference (TYPE) I 20110119
20 MO_COLCAT Instance attribute Protected Object reference (TYPE REF TO) IF_SALV_COLUMN_CATALOG 20101221
21 MO_ITAB_SERVICES Instance attribute Protected Object reference (TYPE REF TO) IF_SALV_ITAB_SERVICES 20101221
22 MTS_FILTER_VARIANT Instance attribute Protected See coding 20101221
23 MT_SRC_DATA Instance attribute Protected Type reference (TYPE) YT_TESTDATA 20101222
24 MV_AUNIT_LEVEL Instance attribute Protected Type reference (TYPE) AUNIT_LEVEL ABAP Unit: Severity of Check Error 20101223
25 MV_ORIG_LOCALE Instance attribute Protected Type reference (TYPE) TCP0C-LANGU 20101221
26 MV_TESTCOL_FIELDPATH Instance attribute Protected Type reference (TYPE) STRING 20110104
Methods
# Method Level Visibility Method type Description Created on
1 ABORT Instance method Protected Method 20101221
2 ADD_FILTER Instance method Protected Method 20101222
3 ASSERT_EQUALS Instance method Protected Method 20101221
4 CLASS_SETUP Static method Private Method 20101221
5 CONV_FILTERPTRN_2_VARIANTNAMES Instance method Protected Method 20101222
6 CORRECT_EXT_VALUE Instance method Protected Method 20110120
7 DATA Instance method Protected Method 20101222
8 DATA_REFRESH Instance method Protected Method 20101222
9 FAIL Instance method Protected Method 20101221
10 INIT Instance method Protected Method 20101222
11 REQUIRE_CUKYS Instance method Protected Method 20110105
12 REQUIRE_LOCALE Instance method Protected Method 20101222
13 REQUIRE_UNITS Instance method Protected Method 20110105
14 SETUP Instance method Private Method 20101221
15 TEARDOWN Instance method Private Method 20101221
16 TESTCOL_AMOUNT Instance method Protected Method 20110105
17 TESTCOL_BASIC Instance method Protected Method 20101222
18 TESTCOL_CODELIST Instance method Protected Method 20101223
19 TESTCOL_CONVEXIT Instance method Protected Method 20110103
20 TESTCOL_CURRENCY Instance method Protected Method 20110105
21 TESTCOL_QUANTITY Instance method Protected Method 20110105
22 TESTCOL_UNIT Instance method Protected Method 20110105
23 TEST_ALL Instance method Protected Method 20101222
24 TEST_EXTERNAL Instance method Protected Method 20101222
25 TEST_FILTER Instance method Protected Method 20101222
26 TEST_SORT Instance method Protected Method 20101222
27 TOLERATE_ERRORS Instance method Protected Method 20101223
Events
Class CL_SALV_STI_AUNIT_COLTYPES has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_FILTER_VARIANT Protected See coding 20101221 begin of ys_filter_variant, name type string, t_filter type if_salv_service_types=>yt_filter_rule, end of ys_filter_variant
2 YS_TESTDATA Protected See coding 20101222 begin of ys_testdata, "generic technical fields used by all tests: orig_tabix type sytabix, "for referencing test data lines in error messages exp_external type string, "expected external value representation" exp_sequence type sytabix, "expected sort sequence (duplicate numbers allowed) exp_filter type yts_filter_variant_name, "filter variants for which the row is expected to be included in result tol_filter type yts_filter_variant_name, "filter variants for which an error is tolerable "test-specific fields: str type string, c4 type c length 4, n4 type n length 4, d type d, t type t, i type i, p5d0 type p length 5 decimals 0, p5d2 type p length 5 decimals 2, p5d3 type p length 5 decimals 3, f type f, df16 type decfloat16, df34 type decfloat34, x5 type x length 5, xstr type xstring, tmstmp type timestamp, cuky type tcurc-waers, unit type t006-msehi, end of ys_testdata
3 YTS_FILTER_VARIANT_NAME Protected See coding 20101221 yts_filter_variant_name type sorted table of string with unique key table_line
4 YT_TESTDATA Protected See coding 20101222 yt_testdata type standard table of ys_testdata with default key
5 Y_CODE_KIND Protected Type reference (TYPE) CHAR1 20110103
Method Signatures

Method ABORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DETAIL Call by reference Type reference (TYPE) CSEQUENCE Detailed Message 20101221
2 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE Error Message 20101221
3 Importing QUIT Call by reference Type reference (TYPE) AUNIT_FLOWCTRL IF_AUNIT_CONSTANTS=>METHOD Flow Control in Case of Error 20101221

Method ABORT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method ADD_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FORMAT Call by reference Type reference (TYPE) ABAP_BOOL 20101222
2 Importing HIGH Call by reference Type reference (TYPE) STRING `` 20101222
3 Importing LOW Call by reference Type reference (TYPE) STRING 20101222
4 Importing OP Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_OPTION IF_SALV_SERVICE_TYPES=>CS_FILTER_OPTION-EQ 20101222
5 Importing SIGN Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_SIGN 'I' 20101222
6 Importing SUPPL Call by reference Type reference (TYPE) STRING `` 20110119
7 Importing VARNAME Call by reference Type reference (TYPE) STRING 20101222

Method ADD_FILTER on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method ASSERT_EQUALS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ACT Call by reference Type reference (TYPE) ANY Data Object with Current Value 20101221
2 Returning ASSERTION_FAILED Value transfer Type reference (TYPE) ABAP_BOOL Condition not met 20101221
3 Importing EXP Call by reference Type reference (TYPE) ANY Data Object with Expected Type 20101221
4 Importing IGNORE_HASH_SEQUENCE Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Ignore change sequence in hash tables 20101221
5 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE Message in Case of Error 20101221
6 Importing QUIT Call by reference Type reference (TYPE) AUNIT_FLOWCTRL IF_AUNIT_CONSTANTS=>NO Flow Control in Case of Error 20101221
7 Importing TOL Call by reference Type reference (TYPE) F Tolerance Range for Floating Point Numbers 20101221

Method ASSERT_EQUALS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method CLASS_SETUP Signature

Method CLASS_SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method CLASS_SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method CONV_FILTERPTRN_2_VARIANTNAMES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ETS_VARNAME Call by reference Type reference (TYPE) YTS_FILTER_VARIANT_NAME 20101222
2 Importing PATTERN Call by reference Type reference (TYPE) STRING 20101222

Method CONV_FILTERPTRN_2_VARIANTNAMES on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method CORRECT_EXT_VALUE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXT Call by reference Type reference (TYPE) STRING 20110120
2 Returning R_EXT Value transfer Type reference (TYPE) STRING 20110120

Method CORRECT_EXT_VALUE on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method DATA Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing C4 Call by reference Type reference (TYPE) YS_TESTDATA-C4 20110103
2 Importing CUKY Call by reference Type reference (TYPE) YS_TESTDATA-CUKY 20110105
3 Importing D Call by reference Type reference (TYPE) YS_TESTDATA-D 20101222
4 Importing DF Call by reference Type reference (TYPE) DECFLOAT34 20101223
5 Importing EXT Call by reference Type reference (TYPE) YS_TESTDATA-EXP_EXTERNAL 20101222
6 Importing F Call by reference Type reference (TYPE) YS_TESTDATA-F 20101223
7 Importing FILTER Call by reference Type reference (TYPE) STRING 20101222
8 Importing I Call by reference Type reference (TYPE) YS_TESTDATA-I 20101222
9 Importing N4 Call by reference Type reference (TYPE) YS_TESTDATA-N4 20101222
10 Importing P5D0 Call by reference Type reference (TYPE) YS_TESTDATA-P5D0 20101222
11 Importing P5D2 Call by reference Type reference (TYPE) YS_TESTDATA-P5D2 20110119
12 Importing P5D3 Call by reference Type reference (TYPE) YS_TESTDATA-P5D3 20101222
13 Importing SEQ Call by reference Type reference (TYPE) YS_TESTDATA-EXP_SEQUENCE 20101222
14 Importing STR Call by reference Type reference (TYPE) YS_TESTDATA-STR 20101222
15 Importing T Call by reference Type reference (TYPE) YS_TESTDATA-T 20101222
16 Importing TMSTMP Call by reference Type reference (TYPE) YS_TESTDATA-TMSTMP 20101223
17 Importing TOL_FLT Call by reference Type reference (TYPE) STRING 20101222
18 Importing UNIT Call by reference Type reference (TYPE) YS_TESTDATA-UNIT 20110105
19 Importing X5 Call by reference Type reference (TYPE) YS_TESTDATA-X5 20101223
20 Importing XSTR Call by reference Type reference (TYPE) YS_TESTDATA-XSTR 20101223

Method DATA on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method DATA_REFRESH Signature

Method DATA_REFRESH on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method DATA_REFRESH on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method FAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DETAIL Call by reference Type reference (TYPE) CSEQUENCE Detailed Message 20101221
2 Importing LEVEL Call by reference Type reference (TYPE) AUNIT_LEVEL ABAP Unit: Severity of Check Error 20101223
3 Importing MSG Call by reference Type reference (TYPE) CSEQUENCE Error Message 20101221
4 Importing QUIT Call by reference Type reference (TYPE) AUNIT_FLOWCTRL IF_AUNIT_CONSTANTS=>NO Flow Control in Case of Error 20101221

Method FAIL on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method INIT Signature

Method INIT on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method INIT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method REQUIRE_CUKYS Signature

Method REQUIRE_CUKYS on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method REQUIRE_CUKYS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method REQUIRE_LOCALE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LANGU Call by reference Type reference (TYPE) TCP0C-LANGU 20101222

Method REQUIRE_LOCALE on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method REQUIRE_UNITS Signature

Method REQUIRE_UNITS on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method REQUIRE_UNITS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method SETUP Signature

Method SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method SETUP on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TEARDOWN Signature

Method TEARDOWN on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEARDOWN on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_AMOUNT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENCY_DESCRIPTION_TYPE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
2 Importing I_CURRENCY_PRESENTATION_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
3 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110105
4 Importing I_INITIAL_VALUE_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
5 Importing I_REFERENCE_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110105
6 Importing I_SIGN_POSITION Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105

Method TESTCOL_AMOUNT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_BASIC Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONDENSE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
2 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20101222
3 Importing I_INITIAL_VALUE_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
4 Importing I_SIGN_POSITION Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
5 Importing I_TEXT_HANDLING Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE 20110105
6 Importing I_TIME_FORMAT Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105

Method TESTCOL_BASIC on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_CODELIST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CODE_KIND Call by reference Type reference (TYPE) Y_CODE_KIND 20110103
2 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20101223
3 Importing I_PRESENTATION_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
4 Importing I_SORT_CRITERION Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE 20110105
5 Importing I_TEXT_HANDLING Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE 20110105

Method TESTCOL_CODELIST on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_CONVEXIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CONVEXIT Call by reference Type reference (TYPE) CONVEXIT Conversion Routine 20110103
2 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110103
3 Importing I_SORT_CRITERION Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE 20110105
4 Importing I_TEXT_HANDLING Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_PROPERTY_VALUE 20110105

Method TESTCOL_CONVEXIT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_CURRENCY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DESCRIPTION_TYPE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
2 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110105
3 Importing I_PRESENTATION_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105

Method TESTCOL_CURRENCY on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_QUANTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110105
2 Importing I_INITIAL_VALUE_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
3 Importing I_REFERENCE_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110105
4 Importing I_SIGN_POSITION Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
5 Importing I_UNIT_DESCRIPTION_TYPE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
6 Importing I_UNIT_PRESENTATION_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105

Method TESTCOL_QUANTITY on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TESTCOL_UNIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_DESCRIPTION_TYPE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105
2 Importing I_FIELD_PATH Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FIELD_PATH 20110105
3 Importing I_PRESENTATION_MODE Call by reference Type reference (TYPE) IF_SALV_SERVICE_TYPES=>Y_FORMATTING_OPTION_VALUE 20110105

Method TESTCOL_UNIT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TEST_ALL Signature

Method TEST_ALL on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_ALL on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TEST_EXTERNAL Signature

Method TEST_EXTERNAL on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_EXTERNAL on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TEST_FILTER Signature

Method TEST_FILTER on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_FILTER on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TEST_SORT Signature

Method TEST_SORT on class CL_SALV_STI_AUNIT_COLTYPES has no parameter.
Method TEST_SORT on class CL_SALV_STI_AUNIT_COLTYPES has no exception.

Method TOLERATE_ERRORS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FLAG Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20101223

Method TOLERATE_ERRORS on class CL_SALV_STI_AUNIT_COLTYPES has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 703