SAP ABAP Class CL_SALV_STI_AUNIT_GRP_TESTER (Unit tests for TS grouping service)
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_GRP_TESTER  
Short Description Unit tests for TS grouping service    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 5   
Package SALV_STI   ALV Services for Tables: iTab Services impl. 
Created 20120403   SAP 
Last change 20130531   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
Class CL_SALV_STI_AUNIT_GRP_TESTER has no forward declaration.
Interfaces
Class CL_SALV_STI_AUNIT_GRP_TESTER has no interface implemented.
Friends
Class CL_SALV_STI_AUNIT_GRP_TESTER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 C_AGGR Constant Public Attribute reference (LIKE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>C_AGGREGATION_FUNCTION IF_SALV_STI_GRP_SRV_AU_ADAPTER=>C_AGGREGATION_FUNCTION 20120403
2 C_TESTED_IMPLEMENTATION Constant Public See coding 20120403
3 TESTED_IMPLEMENTATION Instance attribute Public Type reference (TYPE) STRING 20120403
Methods
# Method Level Visibility Method type Description Created on
1 T001_D1_SUM Instance method Protected Test Method for ABAP Unit 20120403
2 T002_D3_GRP__NO_ROOT Instance method Protected Test Method for ABAP Unit 20120403
3 T003_D3_GRP_SUM Instance method Protected Test Method for ABAP Unit 20120403
4 T004_D3_GRP_2SUMS_NO_REF Instance method Protected Test Method for ABAP Unit 20120403
5 T005_D3_GRP_2SUMS_ONE_REF Instance method Protected Test Method for ABAP Unit 20120403
6 T006_D3_GRP_2SUMS_TWO_REFS Instance method Protected Test Method for ABAP Unit 20120403
7 T007_D3_GRP_SUM_LINES_BELOW Instance method Protected Test Method for ABAP Unit 20120403
8 T008_D10_2GRPS_SUM Instance method Protected Test Method for ABAP Unit 20120403
9 T009_D10_GRP_AT_2KEYS__SUM Instance method Protected Test Method for ABAP Unit 20120403
10 T010_D10_GRP_SUM Instance method Protected Test Method for ABAP Unit 20120403
11 T011_D10_SUM Instance method Protected Test Method for ABAP Unit 20120403
12 T012_D10_GRP_SUM Instance method Protected Test Method for ABAP Unit 20120403
13 T013_D3_GRP_MIN Instance method Protected Test Method for ABAP Unit 20120403
14 T014_D3_GRP_MAX Instance method Protected Test Method for ABAP Unit 20120403
15 T015_D3_GRP_AVG Instance method Protected Test Method for ABAP Unit 20120403
16 T016_D3_GRP_COUNT Instance method Protected Test Method for ABAP Unit 20120403
17 T017_D3_SUM_INT_OVERFLOW Instance method Protected Test Method for ABAP Unit 20120403
18 T018_GRP_SUM_2721583_2010 Instance method Protected Test Method for ABAP Unit 20120403
19 T019_GRP_SUM_EMPTY_ONLY Instance method Protected Test Method for ABAP Unit 20120403
20 T020_GRP_2SUMS_COMMON_CURR Instance method Protected Test Method for ABAP Unit 20120403
21 T021_2GRPS_SUM_EMPTY_INHERITED Instance method Protected Test Method for ABAP Unit 20120403
22 T022_GRP_MAX_WITH_NEGATIVES Instance method Protected Test Method for ABAP Unit 20120403
23 T023_GRP_AVG_WITH_EMPTY_REFS Instance method Protected Test Method for ABAP Unit 20120403
24 T024_D10_GRP_2SUMS Instance method Protected Test Method for ABAP Unit 20120403
25 T025_D1_NO_RULES Instance method Protected Test Method for ABAP Unit 20120403
26 T026_NO_DATA_GRP_SUM Instance method Protected Test Method for ABAP Unit 20120403
27 T027_NO_DATA_GRP Instance method Protected Test Method for ABAP Unit 20120403
28 T028_NO_DATA_SUM Instance method Protected Test Method for ABAP Unit 20120403
29 T029_NO_DATA_NO_RULES_NO_ROOT Instance method Protected Test Method for ABAP Unit 20120403
30 T030_NO_DATA_NO_RULES_ROOT Instance method Protected Test Method for ABAP Unit 20120403
31 T031_FILTER_D3_SUM Instance method Protected Test Method for ABAP Unit 20120403
32 T032_FILTER_D10_GRP_SUM Instance method Protected Test Method for ABAP Unit 20120403
33 T033_D10_2GRPS_LINES_BELOW Instance method Protected Test Method for ABAP Unit 20120403
34 T034_D10_GRP_LINES_BELOW__NORT Instance method Protected Test Method for ABAP Unit 20120403
35 T035_D10_2GRPS_SUM_LINES_BELOW Instance method Protected Test Method for ABAP Unit 20120403
36 T036_GRP_SUM_AT_ONE_FIELD Instance method Protected Test Method for ABAP Unit 20120403
37 T037_D3_GRP_SUM_NO_ROOT Instance method Protected Test Method for ABAP Unit 20120403
38 T038_SUM_AT_INITIAL_LINE Instance method Protected Test Method for ABAP Unit 20120403
39 _COMPARE_RESULTS Instance method Public Method 20120403
40 _CREATE_TEST_DATA_1 Static method Public Method 20120403
41 _CREATE_TEST_DATA_10 Static method Public Method 20120403
42 _CREATE_TEST_DATA_3 Static method Public Method 20120403
43 _STANDARD_CASE Instance method Public Method 20120403
44 _STANDARD_CASE_RUN_ONE_SERVICE Instance method Public Method 20120403
Events
Class CL_SALV_STI_AUNIT_GRP_TESTER has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 YS_MASTER_RECORD Public See coding 20120403 begin of ys_master_record, metadata type if_salv_sti_grp_srv_au_adapter=>ys_master_record_metadata, data type ys_test_data, end of ys_master_record
2 YS_RESULT_ALL_PAIRS Public See coding 20120403 begin of ys_result_all_pairs, actual_ts__versus__expected_tp type yt_master_table, actual_ts__versus__expected_wd type yt_master_table, actual_tp__versus__expected_wd type yt_master_table, end of ys_result_all_pairs
3 YS_TEST_DATA Public See coding 20120403 begin of ys_test_data, m1 type string, m2 type string, k1 type decfloat34, r1 type string, k2 type decfloat34, r2 type string, k3 type int1, end of ys_test_data
4 YT_MASTER_TABLE Public See coding 20120403 yt_master_table type table of ys_master_record with key metadata-row_index
5 YT_TEST_DATA Public See coding 20120403 yt_test_data type standard table of ys_test_data with default key
Method Signatures

Method T001_D1_SUM Signature

Method T001_D1_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T001_D1_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T002_D3_GRP__NO_ROOT Signature

Method T002_D3_GRP__NO_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T002_D3_GRP__NO_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T003_D3_GRP_SUM Signature

Method T003_D3_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T003_D3_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T004_D3_GRP_2SUMS_NO_REF Signature

Method T004_D3_GRP_2SUMS_NO_REF on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T004_D3_GRP_2SUMS_NO_REF on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T005_D3_GRP_2SUMS_ONE_REF Signature

Method T005_D3_GRP_2SUMS_ONE_REF on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T005_D3_GRP_2SUMS_ONE_REF on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T006_D3_GRP_2SUMS_TWO_REFS Signature

Method T006_D3_GRP_2SUMS_TWO_REFS on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T006_D3_GRP_2SUMS_TWO_REFS on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T007_D3_GRP_SUM_LINES_BELOW Signature

Method T007_D3_GRP_SUM_LINES_BELOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T007_D3_GRP_SUM_LINES_BELOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T008_D10_2GRPS_SUM Signature

Method T008_D10_2GRPS_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T008_D10_2GRPS_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T009_D10_GRP_AT_2KEYS__SUM Signature

Method T009_D10_GRP_AT_2KEYS__SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T009_D10_GRP_AT_2KEYS__SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T010_D10_GRP_SUM Signature

Method T010_D10_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T010_D10_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T011_D10_SUM Signature

Method T011_D10_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T011_D10_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T012_D10_GRP_SUM Signature

Method T012_D10_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T012_D10_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T013_D3_GRP_MIN Signature

Method T013_D3_GRP_MIN on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T013_D3_GRP_MIN on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T014_D3_GRP_MAX Signature

Method T014_D3_GRP_MAX on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T014_D3_GRP_MAX on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T015_D3_GRP_AVG Signature

Method T015_D3_GRP_AVG on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T015_D3_GRP_AVG on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T016_D3_GRP_COUNT Signature

Method T016_D3_GRP_COUNT on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T016_D3_GRP_COUNT on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T017_D3_SUM_INT_OVERFLOW Signature

Method T017_D3_SUM_INT_OVERFLOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T017_D3_SUM_INT_OVERFLOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T018_GRP_SUM_2721583_2010 Signature

Method T018_GRP_SUM_2721583_2010 on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T018_GRP_SUM_2721583_2010 on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T019_GRP_SUM_EMPTY_ONLY Signature

Method T019_GRP_SUM_EMPTY_ONLY on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T019_GRP_SUM_EMPTY_ONLY on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T020_GRP_2SUMS_COMMON_CURR Signature

Method T020_GRP_2SUMS_COMMON_CURR on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T020_GRP_2SUMS_COMMON_CURR on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T021_2GRPS_SUM_EMPTY_INHERITED Signature

Method T021_2GRPS_SUM_EMPTY_INHERITED on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T021_2GRPS_SUM_EMPTY_INHERITED on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T022_GRP_MAX_WITH_NEGATIVES Signature

Method T022_GRP_MAX_WITH_NEGATIVES on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T022_GRP_MAX_WITH_NEGATIVES on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T023_GRP_AVG_WITH_EMPTY_REFS Signature

Method T023_GRP_AVG_WITH_EMPTY_REFS on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T023_GRP_AVG_WITH_EMPTY_REFS on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T024_D10_GRP_2SUMS Signature

Method T024_D10_GRP_2SUMS on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T024_D10_GRP_2SUMS on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T025_D1_NO_RULES Signature

Method T025_D1_NO_RULES on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T025_D1_NO_RULES on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T026_NO_DATA_GRP_SUM Signature

Method T026_NO_DATA_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T026_NO_DATA_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T027_NO_DATA_GRP Signature

Method T027_NO_DATA_GRP on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T027_NO_DATA_GRP on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T028_NO_DATA_SUM Signature

Method T028_NO_DATA_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T028_NO_DATA_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T029_NO_DATA_NO_RULES_NO_ROOT Signature

Method T029_NO_DATA_NO_RULES_NO_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T029_NO_DATA_NO_RULES_NO_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T030_NO_DATA_NO_RULES_ROOT Signature

Method T030_NO_DATA_NO_RULES_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T030_NO_DATA_NO_RULES_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T031_FILTER_D3_SUM Signature

Method T031_FILTER_D3_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T031_FILTER_D3_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T032_FILTER_D10_GRP_SUM Signature

Method T032_FILTER_D10_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T032_FILTER_D10_GRP_SUM on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T033_D10_2GRPS_LINES_BELOW Signature

Method T033_D10_2GRPS_LINES_BELOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T033_D10_2GRPS_LINES_BELOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T034_D10_GRP_LINES_BELOW__NORT Signature

Method T034_D10_GRP_LINES_BELOW__NORT on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T034_D10_GRP_LINES_BELOW__NORT on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T035_D10_2GRPS_SUM_LINES_BELOW Signature

Method T035_D10_2GRPS_SUM_LINES_BELOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T035_D10_2GRPS_SUM_LINES_BELOW on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T036_GRP_SUM_AT_ONE_FIELD Signature

Method T036_GRP_SUM_AT_ONE_FIELD on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T036_GRP_SUM_AT_ONE_FIELD on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T037_D3_GRP_SUM_NO_ROOT Signature

Method T037_D3_GRP_SUM_NO_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T037_D3_GRP_SUM_NO_ROOT on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method T038_SUM_AT_INITIAL_LINE Signature

Method T038_SUM_AT_INITIAL_LINE on class CL_SALV_STI_AUNIT_GRP_TESTER has no parameter.
Method T038_SUM_AT_INITIAL_LINE on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method _COMPARE_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing T_MASTER_TABLE_TP Call by reference Type reference (TYPE) INDEX TABLE 20120403
2 Importing T_MASTER_TABLE_TS Call by reference Type reference (TYPE) INDEX TABLE 20120403
3 Importing T_MASTER_TABLE_WD Call by reference Type reference (TYPE) INDEX TABLE 20120403

Method _COMPARE_RESULTS on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method _CREATE_TEST_DATA_1 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning T_DATA Value transfer Type reference (TYPE) YT_TEST_DATA 20120403

Method _CREATE_TEST_DATA_1 on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method _CREATE_TEST_DATA_10 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning T_DATA Value transfer Type reference (TYPE) YT_TEST_DATA 20120403

Method _CREATE_TEST_DATA_10 on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method _CREATE_TEST_DATA_3 Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning T_DATA Value transfer Type reference (TYPE) YT_TEST_DATA 20120403

Method _CREATE_TEST_DATA_3 on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method _STANDARD_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing S_ATTRIBUTES Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YS_SERVICE_ATTRIBUTES 20120403
2 Importing T_AGGR_RULES Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YT_AGGREGATION_RULE 20120403
3 Importing T_DATA Call by reference Type reference (TYPE) YT_TEST_DATA 20120403
4 Importing T_FILTER_INDEX Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YT_ROW_INDEX 20120403
5 Importing T_GROUPING_RULES Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YT_GROUPING_RULE 20120403

Method _STANDARD_CASE on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.

Method _STANDARD_CASE_RUN_ONE_SERVICE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing ADAPTER_CLASS_NAME Call by reference Type reference (TYPE) STRING 20120403
2 Importing S_ATTRIBUTES Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YS_SERVICE_ATTRIBUTES 20120403
3 Importing T_AGGR_RULES Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YT_AGGREGATION_RULE 20120403
4 Importing T_DATA Call by reference Type reference (TYPE) YT_TEST_DATA 20120403
5 Importing T_FILTER_INDEX Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YT_ROW_INDEX 20120403
6 Importing T_GROUPING_RULES Call by reference Type reference (TYPE) IF_SALV_STI_GRP_SRV_AU_ADAPTER=>YT_GROUPING_RULE 20120403
7 Exporting T_MASTER_TABLE Call by reference Type reference (TYPE) INDEX TABLE 20120403

Method _STANDARD_CASE_RUN_ONE_SERVICE on class CL_SALV_STI_AUNIT_GRP_TESTER has no exception.
History
Last changed by/on SAP  20130531 
SAP Release Created in 732