SAP ABAP Class CL_BCFG_UTIL_ASSERT (assert helper to support normal and negative tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-CUS-TOL-API (Application Component) Business Configuration API (SAP-internal)
⤷
S_BCFG_SCPR_IMPL (Package) Business Configuration Support SCPR Implementation
⤷
⤷
Properties
| Class | CL_BCFG_UTIL_ASSERT | |
| Short Description | assert helper to support normal and negative tests | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_BCFG_SCPR_IMPL | Business Configuration Support SCPR Implementation |
| Created | 20100625 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_BCFG_UTIL_ASSERT has no forward declaration.
Interfaces
Class CL_BCFG_UTIL_ASSERT has no interface implemented.
Friends
Class CL_BCFG_UTIL_ASSERT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | AUNIT_LEVEL | IF_AUNIT_CONSTANTS=>CRITICAL | 20110513 | |||
| 2 | Static Attribute | Private | Type reference (TYPE) | STRING | 20110513 | ||||
| 3 | Static Attribute | Private | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>METHOD | 20110513 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110513 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | frwk control method (control compatibility to AUnit assert) | 20110512 | |
| 2 | Static method | Public | Method | assert utility method | 20100713 | |
| 3 | Static method | Public | Method | assert utility method | 20110510 | |
| 4 | Static method | Public | Method | assert utility method | 20100706 | |
| 5 | Static method | Public | Method | assert utility method | 20100706 | |
| 6 | Static method | Public | Method | assert utility method | 20100706 | |
| 7 | Static method | Public | Method | assert utility method | 20100706 | |
| 8 | Static method | Public | Method | assert utility method | 20110503 | |
| 9 | Static method | Public | Method | assert utility method | 20110510 | |
| 10 | Static method | Public | Method | assert utility method | 20100706 | |
| 11 | Static method | Public | Method | assert utility method | 20100706 | |
| 12 | Static method | Public | Method | assert utility method | 20100706 | |
| 13 | Static method | Public | Method | assert utility method | 20101007 | |
| 14 | Static method | Public | Method | assert utility method | 20100625 | |
| 15 | Static method | Public | Method | clear default message for assert methods | 20110513 | |
| 16 | Static method | Public | Method | frwk control method | 20110512 | |
| 17 | Static method | Public | Method | assert utility method | 20101110 | |
| 18 | Static method | Public | Method | assert utility method | 20110323 | |
| 19 | Static method | Public | Method | frwk control method | 20110512 | |
| 20 | Static method | Public | Method | assert utility method | 20101110 | |
| 21 | Static method | Private | Method | internal utility method (assert implementation) | 20100715 | |
| 22 | Static method | Public | Method | set default message for assert methods | 20110513 | |
| 23 | Static method | Public | Method | frwk control method | 20110512 |
Events
Class CL_BCFG_UTIL_ASSERT has no event.
Types
Class CL_BCFG_UTIL_ASSERT has no local type.
Method Signatures
Method ACTIVATE_QUIT_CONTROL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>METHOD | 20110512 |
Method ACTIVATE_QUIT_CONTROL on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_BOOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_A | Call by reference | Type reference (TYPE) | ANY | 20110104 | ||||
| 2 | IV_B | Call by reference | Type reference (TYPE) | ANY | 20110104 | ||||
| 3 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100713 | ||||
| 4 | IV_OP | Call by reference | Type reference (TYPE) | CHAR2 | 20100713 |
Method ASSERT_BOOL on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_BOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20110510 | ||||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20110510 |
Method ASSERT_BOUND on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | ||||
| 2 | IV_EXP | Call by reference | Type reference (TYPE) | ANY | 20100706 | ||||
| 3 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100714 |
Method ASSERT_EQUALS on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_FAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100706 |
Method ASSERT_FAIL on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_FALSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100706 | |||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100706 |
Method ASSERT_FALSE on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | ||||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100706 |
Method ASSERT_INITIAL on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_IS_ASSIGNABLE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ACT | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20110503 | ||||
| 2 | I_EXP_TYPE_NAME | Call by reference | Type reference (TYPE) | STRING | 20110504 |
Method ASSERT_IS_ASSIGNABLE on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_NOT_BOUND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20110510 | ||||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20110510 |
Method ASSERT_NOT_BOUND on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_NOT_EQUALS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | ||||
| 2 | IV_EXP | Call by reference | Type reference (TYPE) | ANY | 20100706 | ||||
| 3 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100714 |
Method ASSERT_NOT_EQUALS on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_NOT_INITIAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | ||||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100706 |
Method ASSERT_NOT_INITIAL on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_SUBRC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_EXP | Call by reference | Type reference (TYPE) | SYSUBRC | 20100706 | ||||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100714 |
Method ASSERT_SUBRC on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_T100_VALUES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_ACT | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | 20101007 | ||||
| 2 | IV_EXP_ATTR1 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | |||
| 3 | IV_EXP_ATTR2 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | |||
| 4 | IV_EXP_ATTR3 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | |||
| 5 | IV_EXP_ATTR4 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | |||
| 6 | IV_EXP_KEY | Call by reference | Attribute reference (LIKE) | IF_T100_MESSAGE=>T100KEY | 20101007 |
Method ASSERT_T100_VALUES on class CL_BCFG_UTIL_ASSERT has no exception.
Method ASSERT_TRUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ACT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20100706 | |||
| 2 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100625 |
Method ASSERT_TRUE on class CL_BCFG_UTIL_ASSERT has no exception.
Method CLEAR_DEFAULT_MESSAGE Signature
Method CLEAR_DEFAULT_MESSAGE on class CL_BCFG_UTIL_ASSERT has no parameter.
Method CLEAR_DEFAULT_MESSAGE on class CL_BCFG_UTIL_ASSERT has no exception.
Method DEACTIVATE_QUIT_CONTROL Signature
Method DEACTIVATE_QUIT_CONTROL on class CL_BCFG_UTIL_ASSERT has no parameter.
Method DEACTIVATE_QUIT_CONTROL on class CL_BCFG_UTIL_ASSERT has no exception.
Method FAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20101110 |
Method FAIL on class CL_BCFG_UTIL_ASSERT has no exception.
Method FAIL_WITH_MESSAGES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSGS | Call by reference | Type reference (TYPE) | CL_BCFG_UTIL_STRING=>TY_T_STRING_LIST | 20110517 |
Method FAIL_WITH_MESSAGES on class CL_BCFG_UTIL_ASSERT has no exception.
Method GET_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | AUNIT_LEVEL | 20110512 |
Method GET_LEVEL on class CL_BCFG_UTIL_ASSERT has no exception.
Method OK Signature
Method OK on class CL_BCFG_UTIL_ASSERT has no parameter.
Method OK on class CL_BCFG_UTIL_ASSERT has no exception.
Method RAISE_ASSERT_FAIL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MSG_INTERN | Call by reference | Type reference (TYPE) | STRING | 20110513 | ||||
| 2 | IV_MSG_USER | Call by reference | Type reference (TYPE) | STRING | 20110513 |
Method RAISE_ASSERT_FAIL on class CL_BCFG_UTIL_ASSERT has no exception.
Method SET_DEFAULT_MESSAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_MSG | Call by reference | Type reference (TYPE) | STRING | 20110513 |
Method SET_DEFAULT_MESSAGE on class CL_BCFG_UTIL_ASSERT has no exception.
Method SET_LEVEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_LEVEL | Call by reference | Type reference (TYPE) | AUNIT_LEVEL | 20110512 |
Method SET_LEVEL on class CL_BCFG_UTIL_ASSERT has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in |