SAP ABAP Class CL_WER_ITEM_TEST (Test fixture class for IF_WER_ITEM_SET services)
Hierarchy
SAP_APPL (Software Component) Logistics and Accounting
   LO-MD-MM (Application Component) Material Master
     WER_TEST (Package) Test
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Inheritance (c INHERITING FROM c_ref)  CL_WER_TEST Base class for test classes 20070301
Properties
Class CL_WER_ITEM_TEST  
Short Description Test fixture class for IF_WER_ITEM_SET services    
Super Class CL_WER_TEST Base class for test classes 
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status T  Test Program 
Category 5   
Package WER_TEST   Test 
Created 20060824   SAP 
Last change 20100310   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 CL_WER_CONST_TEST Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
Interfaces
Class CL_WER_ITEM_TEST has no interface implemented.
Friends
Class CL_WER_ITEM_TEST has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 SR_ITEM_SET Static Attribute Protected Object reference (TYPE REF TO) IF_WER_ITEM_SET Set of deep structure items 20070307
2 SR_TEST_DATA Static Attribute Protected Object reference (TYPE REF TO) CL_WER_ITEM_DATA_TEST Suppied data for the class CL_WER_ITEM_TEST 20070307
3 S_ITEM_SET_CLASS Static Attribute Protected Type reference (TYPE) SEOCLSNAME 'CL_WER_ITEM_SET_LIGHT' Object Type Name 20070307
Methods
# Method Level Visibility Method type Description Created on
1 GCS_1_LEVEL Instance method Protected Test Method for ABAP Unit Test: only first level 20070307
2 GCS_1_LEVEL_ONLY_MT Instance method Protected Test Method for ABAP Unit Test: only the main table is requested 20070723
3 GCS_2_LEVELS Instance method Protected Test Method for ABAP Unit Test: two levels and no table field 20070307
4 GCS_2_LEVELS_SKIP_1 Instance method Protected Test Method for ABAP Unit Test: only fields from the second level 20070307
5 GCS_2_LEVELS_WITH_MT Instance method Protected Test Method for ABAP Unit Test: two levels with the main table 20070723
6 GCS_2_LEVELS_W_TABS Instance method Protected Test Method for ABAP Unit Test: with tow levels of fields including table type 20070307
7 GCS_3_LEVELS Instance method Protected Test Method for ABAP Unit Test: tree levels and no table field 20070307
8 GCS_3_LEVELS_SKIP_1 Instance method Protected Test Method for ABAP Unit Test: tree levels and no fields from first level 20070307
9 GCS_3_LEVELS_SKIP_1_AND_2 Instance method Protected Test Method for ABAP Unit Test: tree levels and only fields from third level 20070307
10 GCS_3_LEVELS_W_TABS Instance method Protected Test Method for ABAP Unit Test: tree levels involving table fields 20070307
11 GCS_GENERIC_TEST Instance method Protected Method Generic test for the method GET_CONTEXT_SET 20070307
12 INIT_ITEM_SET Static method Protected Method Returns an item set of a given structure filled with data 20070307
13 _CLASS_SETUP Static method Protected Method Create the item set used for testing 20070307
14 _CLASS_TEARDOWN Static method Protected Method Release the item set and its data 20070307
15 _SETUP Instance method Protected Method Prepare the item set for the next test 20070307
16 _TEARDOWN Instance method Protected Method Free any memory created during testing 20070307
Events
Class CL_WER_ITEM_TEST has no event.
Types
Class CL_WER_ITEM_TEST has no local type.
Method Signatures

Method GCS_1_LEVEL Signature

Method GCS_1_LEVEL on class CL_WER_ITEM_TEST has no parameter.
Method GCS_1_LEVEL on class CL_WER_ITEM_TEST has no exception.

Method GCS_1_LEVEL_ONLY_MT Signature

Method GCS_1_LEVEL_ONLY_MT on class CL_WER_ITEM_TEST has no parameter.
Method GCS_1_LEVEL_ONLY_MT on class CL_WER_ITEM_TEST has no exception.

Method GCS_2_LEVELS Signature

Method GCS_2_LEVELS on class CL_WER_ITEM_TEST has no parameter.
Method GCS_2_LEVELS on class CL_WER_ITEM_TEST has no exception.

Method GCS_2_LEVELS_SKIP_1 Signature

Method GCS_2_LEVELS_SKIP_1 on class CL_WER_ITEM_TEST has no parameter.
Method GCS_2_LEVELS_SKIP_1 on class CL_WER_ITEM_TEST has no exception.

Method GCS_2_LEVELS_WITH_MT Signature

Method GCS_2_LEVELS_WITH_MT on class CL_WER_ITEM_TEST has no parameter.
Method GCS_2_LEVELS_WITH_MT on class CL_WER_ITEM_TEST has no exception.

Method GCS_2_LEVELS_W_TABS Signature

Method GCS_2_LEVELS_W_TABS on class CL_WER_ITEM_TEST has no parameter.
Method GCS_2_LEVELS_W_TABS on class CL_WER_ITEM_TEST has no exception.

Method GCS_3_LEVELS Signature

Method GCS_3_LEVELS on class CL_WER_ITEM_TEST has no parameter.
Method GCS_3_LEVELS on class CL_WER_ITEM_TEST has no exception.

Method GCS_3_LEVELS_SKIP_1 Signature

Method GCS_3_LEVELS_SKIP_1 on class CL_WER_ITEM_TEST has no parameter.
Method GCS_3_LEVELS_SKIP_1 on class CL_WER_ITEM_TEST has no exception.

Method GCS_3_LEVELS_SKIP_1_AND_2 Signature

Method GCS_3_LEVELS_SKIP_1_AND_2 on class CL_WER_ITEM_TEST has no parameter.
Method GCS_3_LEVELS_SKIP_1_AND_2 on class CL_WER_ITEM_TEST has no exception.

Method GCS_3_LEVELS_W_TABS Signature

Method GCS_3_LEVELS_W_TABS on class CL_WER_ITEM_TEST has no parameter.
Method GCS_3_LEVELS_W_TABS on class CL_WER_ITEM_TEST has no exception.

Method GCS_GENERIC_TEST Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IT_DATA_OBJECTS Call by reference Type reference (TYPE) IF_FDT_TYPES=>TS_OBJECT_ID 20070307
2 Importing IT_EXPECTED_CONTEXTS Call by reference Type reference (TYPE) WER_CONTEXT_TTY Context data entries 20070307

Method GCS_GENERIC_TEST on class CL_WER_ITEM_TEST has no exception.

Method INIT_ITEM_SET Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RR_ITEM_SET Value transfer Object reference (TYPE REF TO) CL_WER_ITEM_SET_LIGHT Set of deep structure items 20070307
# Exception Resumable Description Created on
1 CX_WER_DATA_INVALID Invalid data supplied 20070307
2 CX_WER_DATA_NOT_FOUND Value does not exist 20070307

Method _CLASS_SETUP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CLASS Call by reference Type reference (TYPE) SEOCLSNAME CL_WER_CONST_TEST=>C_ITEM_SET_LIGHT Object Type Name 20070307
2 Importing I_DATA_CLASS Call by reference Type reference (TYPE) SEOCLSNAME CL_WER_CONST_TEST=>C_ITEM_DATA_TEST Object Type Name 20070307

Method _CLASS_SETUP on class CL_WER_ITEM_TEST has no exception.

Method _CLASS_TEARDOWN Signature

Method _CLASS_TEARDOWN on class CL_WER_ITEM_TEST has no parameter.
Method _CLASS_TEARDOWN on class CL_WER_ITEM_TEST has no exception.

Method _SETUP Signature

Method _SETUP on class CL_WER_ITEM_TEST has no parameter.
Method _SETUP on class CL_WER_ITEM_TEST has no exception.

Method _TEARDOWN Signature

Method _TEARDOWN on class CL_WER_ITEM_TEST has no parameter.
Method _TEARDOWN on class CL_WER_ITEM_TEST has no exception.
History
Last changed by/on SAP  20100310 
SAP Release Created in 700