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
⤷ 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 | M_LEVEL | Static Attribute | Private | Type reference (TYPE) | AUNIT_LEVEL | IF_AUNIT_CONSTANTS=>CRITICAL | 20110513 | ||
2 | M_MSG_DEFAULT | Static Attribute | Private | Type reference (TYPE) | STRING | 20110513 | |||
3 | M_QUIT | Static Attribute | Private | Type reference (TYPE) | AUNIT_FLOWCTRL | IF_AUNIT_CONSTANTS=>METHOD | 20110513 | ||
4 | M_QUIT_SUPPORT | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20110513 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ACTIVATE_QUIT_CONTROL | Static method | Public | Method | frwk control method (control compatibility to AUnit assert) | 20110512 |
2 | ASSERT_BOOL | Static method | Public | Method | assert utility method | 20100713 |
3 | ASSERT_BOUND | Static method | Public | Method | assert utility method | 20110510 |
4 | ASSERT_EQUALS | Static method | Public | Method | assert utility method | 20100706 |
5 | ASSERT_FAIL | Static method | Public | Method | assert utility method | 20100706 |
6 | ASSERT_FALSE | Static method | Public | Method | assert utility method | 20100706 |
7 | ASSERT_INITIAL | Static method | Public | Method | assert utility method | 20100706 |
8 | ASSERT_IS_ASSIGNABLE | Static method | Public | Method | assert utility method | 20110503 |
9 | ASSERT_NOT_BOUND | Static method | Public | Method | assert utility method | 20110510 |
10 | ASSERT_NOT_EQUALS | Static method | Public | Method | assert utility method | 20100706 |
11 | ASSERT_NOT_INITIAL | Static method | Public | Method | assert utility method | 20100706 |
12 | ASSERT_SUBRC | Static method | Public | Method | assert utility method | 20100706 |
13 | ASSERT_T100_VALUES | Static method | Public | Method | assert utility method | 20101007 |
14 | ASSERT_TRUE | Static method | Public | Method | assert utility method | 20100625 |
15 | CLEAR_DEFAULT_MESSAGE | Static method | Public | Method | clear default message for assert methods | 20110513 |
16 | DEACTIVATE_QUIT_CONTROL | Static method | Public | Method | frwk control method | 20110512 |
17 | FAIL | Static method | Public | Method | assert utility method | 20101110 |
18 | FAIL_WITH_MESSAGES | Static method | Public | Method | assert utility method | 20110323 |
19 | GET_LEVEL | Static method | Public | Method | frwk control method | 20110512 |
20 | OK | Static method | Public | Method | assert utility method | 20101110 |
21 | RAISE_ASSERT_FAIL | Static method | Private | Method | internal utility method (assert implementation) | 20100715 |
22 | SET_DEFAULT_MESSAGE | Static method | Public | Method | set default message for assert methods | 20110513 |
23 | SET_LEVEL | 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 | Importing | 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 | Importing | IV_A | Call by reference | Type reference (TYPE) | ANY | 20110104 | |||
2 | Importing | IV_B | Call by reference | Type reference (TYPE) | ANY | 20110104 | |||
3 | Importing | IV_MSG | Call by reference | Type reference (TYPE) | STRING | 20100713 | |||
4 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20110510 | |||
2 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | |||
2 | Importing | IV_EXP | Call by reference | Type reference (TYPE) | ANY | 20100706 | |||
3 | Importing | 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 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100706 | ||
2 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | |||
2 | Importing | 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 | Importing | I_ACT | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20110503 | |||
2 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20110510 | |||
2 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | |||
2 | Importing | IV_EXP | Call by reference | Type reference (TYPE) | ANY | 20100706 | |||
3 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ANY | 20100706 | |||
2 | Importing | 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 | Importing | IV_EXP | Call by reference | Type reference (TYPE) | SYSUBRC | 20100706 | |||
2 | Importing | 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 | Importing | IO_ACT | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | 20101007 | |||
2 | Importing | IV_EXP_ATTR1 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | ||
3 | Importing | IV_EXP_ATTR2 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | ||
4 | Importing | IV_EXP_ATTR3 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | ||
5 | Importing | IV_EXP_ATTR4 | Call by reference | Type reference (TYPE) | STRING | SPACE | 20101007 | ||
6 | Importing | 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 | Importing | IV_ACT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20100706 | ||
2 | Importing | 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 | Importing | 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 | Importing | 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 | Returning | 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 | Importing | IV_MSG_INTERN | Call by reference | Type reference (TYPE) | STRING | 20110513 | |||
2 | Importing | 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 | Importing | 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 | Importing | 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 |