SAP ABAP Class CL_ENH_AUNIT_SVC (Global Hook ABAP Unit Test Service)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-ENH (Application Component) Enhancement Tools
⤷
SEEF_BASE (Package) Enhancement Base Functionality
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_AUNIT_ASSERT | ABAP Unit: Assertions (see Longtext) | 20111125 |
Properties
| Class | CL_ENH_AUNIT_SVC | |
| Short Description | Global Hook ABAP Unit Test Service | |
| Super Class | CL_AUNIT_ASSERT | ABAP Unit: Assertions (see Longtext) |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | T | Test Program |
| Category | 5 | |
| Package | SEEF_BASE | Enhancement Base Functionality |
| Created | 20111125 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ENH_AUNIT_SVC has no forward declaration.
Interfaces
Class CL_ENH_AUNIT_SVC has no interface implemented.
Friends
Class CL_ENH_AUNIT_SVC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Protected | Type reference (TYPE) | DEVCLASS | '$TMP' | Standard package for local objects | 20111125 | ||
| 2 | Static Attribute | Private | See coding | List of enhanced includes (test objects) | 20111125 | ||||
| 3 | Static Attribute | Private | See coding | List of enhanced programs (test objects) | 20111125 | ||||
| 4 | Constant | Protected | Type reference (TYPE) | ENHBOOLEAN | 'X' | No Popups | 20111125 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Termination of execution of a test class after T100 message | 20111125 | |
| 2 | Static method | Protected | Method | Creating a temporary name for a test object | 20111125 | |
| 3 | Static method | Private | Method | Creating test data before execution of the test class | 20111125 | |
| 4 | Static method | Private | Method | Cleanup after execution of the test class | 20111125 | |
| 5 | Static method | Protected | Method | Creating a local enhancement spot for a program | 20111125 | |
| 6 | Static method | Protected | Method | Creating a local enhancement implementation for a program | 20111125 | |
| 7 | Static method | Protected | Method | Creating a local test include | 20111125 | |
| 8 | Static method | Protected | Method | Creating a local test program | 20111125 | |
| 9 | Instance method | Private | Method | Creating test data before execution of a test method | 20111125 | |
| 10 | Instance method | Private | Method | Cleanup after execution of a test method | 20111125 |
Events
Class CL_ENH_AUNIT_SVC has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ABAPSOURCE_TAB | Protected | See coding | 20111126 | abapsource_tab TYPE STANDARD TABLE OF abapsource
|
Method Signatures
Method ABORT_FOR_CLASSICAL_EXCEP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSGID | Call by reference | Type reference (TYPE) | SYMSGID | SY-MSGID | 20111125 | |||
| 2 | MSGNO | Call by reference | Type reference (TYPE) | SYMSGNO | SY-MSGNO | 20111125 | |||
| 3 | MSGTY | Call by reference | Type reference (TYPE) | SYMSGTY | SY-MSGTY | 20111125 | |||
| 4 | MSGV1 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV1 | 20111125 | |||
| 5 | MSGV2 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV2 | 20111125 | |||
| 6 | MSGV3 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV3 | 20111125 | |||
| 7 | MSGV4 | Call by reference | Type reference (TYPE) | SYMSGV | SY-MSGV4 | 20111125 | |||
| 8 | SUBRC | Call by reference | Type reference (TYPE) | SYSUBRC | SY-SUBRC | 20111125 |
Method ABORT_FOR_CLASSICAL_EXCEP on class CL_ENH_AUNIT_SVC has no exception.
Method BUILD_TEMPORARY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PREFIX | Call by reference | Type reference (TYPE) | CHAR15 | 20111125 | ||||
| 2 | TEMPORARY_OBJ_NAME | Value transfer | Type reference (TYPE) | SY-REPID | 20111125 |
Method BUILD_TEMPORARY_NAME on class CL_ENH_AUNIT_SVC has no exception.
Method CLASS_SETUP Signature
Method CLASS_SETUP on class CL_ENH_AUNIT_SVC has no parameter.
Method CLASS_SETUP on class CL_ENH_AUNIT_SVC has no exception.
Method CLASS_TEARDOWN Signature
Method CLASS_TEARDOWN on class CL_ENH_AUNIT_SVC has no parameter.
Method CLASS_TEARDOWN on class CL_ENH_AUNIT_SVC has no exception.
Method CREATE_LOCAL_HOOK_DEF_4_PROG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENHSPOT | Call by reference | Type reference (TYPE) | ENHSPOTNAME | 20111125 | ||||
| 2 | HOOK | Value transfer | Object reference (TYPE REF TO) | CL_ENH_TOOL_HOOK_DEF | 20111125 | ||||
| 3 | PROGNAME | Call by reference | Type reference (TYPE) | SY-REPID | 20111125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20111125 |
Method CREATE_LOCAL_HOOK_IMPL_4_PROG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENHNAME | Call by reference | Type reference (TYPE) | ENHNAME | 20111125 | ||||
| 2 | HOOKIMPL | Value transfer | Object reference (TYPE REF TO) | CL_ENH_TOOL_HOOK_IMPL | 20111125 | ||||
| 3 | PROGNAME | Call by reference | Type reference (TYPE) | SY-REPID | 20111125 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20111125 |
Method CREATE_LOCAL_TESTINCLUDE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ABAP_SOURCE | Call by reference | Type reference (TYPE) | ABAPSOURCE_TAB | 20111125 | ||||
| 2 | INCLUDE_NAME | Call by reference | Type reference (TYPE) | SY-REPID | 20111125 | ||||
| 3 | TITLE | Call by reference | Type reference (TYPE) | REPTI | 20111125 |
Method CREATE_LOCAL_TESTINCLUDE on class CL_ENH_AUNIT_SVC has no exception.
Method CREATE_LOCAL_TESTPROG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ABAP_SOURCE | Call by reference | Type reference (TYPE) | ABAPSOURCE_TAB | 20111125 | ||||
| 2 | PROGRAM_NAME | Call by reference | Type reference (TYPE) | SY-REPID | 20111125 | ||||
| 3 | TITLE | Call by reference | Type reference (TYPE) | REPTI | 20111125 |
Method CREATE_LOCAL_TESTPROG on class CL_ENH_AUNIT_SVC has no exception.
Method SETUP Signature
Method SETUP on class CL_ENH_AUNIT_SVC has no parameter.
Method SETUP on class CL_ENH_AUNIT_SVC has no exception.
Method TEARDOWN Signature
Method TEARDOWN on class CL_ENH_AUNIT_SVC has no parameter.
Method TEARDOWN on class CL_ENH_AUNIT_SVC has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |