SAP ABAP Class CL_RSR_MDX_UNIT_TEST (MDX: Basic Class for Unit Tests)
Hierarchy
☛
SAP_BW (Software Component) SAP Business Warehouse
⤷
BW-BEX-OT (Application Component) OLAP Technology
⤷
RSR_MDX_BASE (Package) MDX: Basis
⤷
⤷
Properties
| Class | CL_RSR_MDX_UNIT_TEST | |
| Short Description | MDX: Basic Class for Unit Tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | RSR_MDX_BASE | MDX: Basis |
| Created | 20090128 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_RSR_MDX_UNIT_TEST has no interface implemented.
Friends
Class CL_RSR_MDX_UNIT_TEST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | RSTT_TUNITID | Unit Test ID | 20090128 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | RS_BOOL | Should the test verification be performed? | 20090220 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20090220 | |
| 2 | Instance method | Protected | Method | Errors in Verification | 20090128 | |
| 3 | Instance method | Protected | Method | Verification failed due to an exception | 20090128 | |
| 4 | Instance method | Protected | Method | Is the verification InfoProvider active? | 20090224 | |
| 5 | Instance method | Protected | Method | Checks whether current value corresponds to expected value | 20090128 | |
| 6 | Instance method | Protected | Method | Checks if the value in question is 'false' | 20090224 | |
| 7 | Instance method | Protected | Method | Checks that current object is not zero | 20090128 | |
| 8 | Instance method | Protected | Method | Checks whether current object is initial | 20090128 | |
| 9 | Instance method | Protected | Method | Checks that current object is not zero | 20090128 | |
| 10 | Instance method | Protected | Method | Checks if Value Corresponds to Expected Value | 20090128 | |
| 11 | Instance method | Protected | Method | Checks whether current object is initial | 20090128 | |
| 12 | Instance method | Protected | Method | Checks if log contains an error (in BAPI format) | 20090224 | |
| 13 | Instance method | Protected | Method | Check that the statement is executed correctly | 20090224 | |
| 14 | Instance method | Protected | Method | Checks if the value in question is 'true' | 20090224 |
Events
Class CL_RSR_MDX_UNIT_TEST has no event.
Types
Class CL_RSR_MDX_UNIT_TEST has no local type.
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_RSR_MDX_UNIT_TEST has no parameter.
Method CONSTRUCTOR on class CL_RSR_MDX_UNIT_TEST has no exception.
Method FAIL_VERIFICATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MESSAGE | Call by reference | Type reference (TYPE) | STRING | 20090128 |
Method FAIL_VERIFICATION on class CL_RSR_MDX_UNIT_TEST has no exception.
Method FAIL_VERIFICATION_EXCEPTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_R_CX | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | Abstrakte Oberklasse aller globalen Exceptions | 20090128 |
Method FAIL_VERIFICATION_EXCEPTION on class CL_RSR_MDX_UNIT_TEST has no exception.
Method IS_VERIFICATION_IPRO_ACTIVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | R_BOOL | Value transfer | Type reference (TYPE) | RS_BOOL | Boolean | 20090224 |
Method IS_VERIFICATION_IPRO_ACTIVE on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXPECTED_VALUE | Call by reference | Type reference (TYPE) | ANY | 20090128 | ||||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | ANY | 20090128 |
Method VERIFY_EQUALS on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_FALSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_VALUE | Call by reference | Type reference (TYPE) | ANY | Zu prüfende Wert | 20090224 |
Method VERIFY_FALSE on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_IF_BOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJ | Call by reference | Type reference (TYPE) | ANY | 20090128 |
Method VERIFY_IF_BOUND on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJ | Call by reference | Type reference (TYPE) | ANY | 20090128 |
Method VERIFY_INITIAL on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_NOT_BOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJ | Call by reference | Type reference (TYPE) | ANY | 20090128 |
Method VERIFY_NOT_BOUND on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_NOT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_EXPECTED_VALUE | Call by reference | Type reference (TYPE) | ANY | 20090128 | ||||
| 2 | I_VALUE | Call by reference | Type reference (TYPE) | ANY | 20090128 |
Method VERIFY_NOT_EQUALS on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_NOT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_OBJ | Call by reference | Type reference (TYPE) | ANY | 20090128 |
Method VERIFY_NOT_INITIAL on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_NO_ERROR_MSG_BAPI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_S_RETURN | Call by reference | Type reference (TYPE) | BAPIRET2 | Returntabelle | 20090224 |
Method VERIFY_NO_ERROR_MSG_BAPI on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_STATEMENT_EXECUTION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_OPTIMIZED | Call by reference | Type reference (TYPE) | RS_BOOL | Wurde das MDX Statement optimiert? | 20090226 | |||
| 2 | I_STATEMENT | Call by reference | Type reference (TYPE) | STRING | MDX Statement | 20090224 |
Method VERIFY_STATEMENT_EXECUTION on class CL_RSR_MDX_UNIT_TEST has no exception.
Method VERIFY_TRUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_VALUE | Call by reference | Type reference (TYPE) | ANY | Zu prüfende Wert | 20090224 |
Method VERIFY_TRUE on class CL_RSR_MDX_UNIT_TEST has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 720 |