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 | 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 | Static Attribute | Protected | Object reference (TYPE REF TO) | IF_WER_ITEM_SET | Set of deep structure items | 20070307 | |||
| 2 | Static Attribute | Protected | Object reference (TYPE REF TO) | CL_WER_ITEM_DATA_TEST | Suppied data for the class CL_WER_ITEM_TEST | 20070307 | |||
| 3 | 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 | Instance method | Protected | Test Method for ABAP Unit | Test: only first level | 20070307 | |
| 2 | Instance method | Protected | Test Method for ABAP Unit | Test: only the main table is requested | 20070723 | |
| 3 | Instance method | Protected | Test Method for ABAP Unit | Test: two levels and no table field | 20070307 | |
| 4 | Instance method | Protected | Test Method for ABAP Unit | Test: only fields from the second level | 20070307 | |
| 5 | Instance method | Protected | Test Method for ABAP Unit | Test: two levels with the main table | 20070723 | |
| 6 | Instance method | Protected | Test Method for ABAP Unit | Test: with tow levels of fields including table type | 20070307 | |
| 7 | Instance method | Protected | Test Method for ABAP Unit | Test: tree levels and no table field | 20070307 | |
| 8 | Instance method | Protected | Test Method for ABAP Unit | Test: tree levels and no fields from first level | 20070307 | |
| 9 | Instance method | Protected | Test Method for ABAP Unit | Test: tree levels and only fields from third level | 20070307 | |
| 10 | Instance method | Protected | Test Method for ABAP Unit | Test: tree levels involving table fields | 20070307 | |
| 11 | Instance method | Protected | Method | Generic test for the method GET_CONTEXT_SET | 20070307 | |
| 12 | Static method | Protected | Method | Returns an item set of a given structure filled with data | 20070307 | |
| 13 | Static method | Protected | Method | Create the item set used for testing | 20070307 | |
| 14 | Static method | Protected | Method | Release the item set and its data | 20070307 | |
| 15 | Instance method | Protected | Method | Prepare the item set for the next test | 20070307 | |
| 16 | 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 | IT_DATA_OBJECTS | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | 20070307 | ||||
| 2 | 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 | 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 | Invalid data supplied | 20070307 | ||
| 2 | Value does not exist | 20070307 |
Method _CLASS_SETUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CLASS | Call by reference | Type reference (TYPE) | SEOCLSNAME | CL_WER_CONST_TEST=>C_ITEM_SET_LIGHT | Object Type Name | 20070307 | ||
| 2 | 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 |