SAP ABAP Class /IWFND/CL_SUTIL_TEST_UTIL (Utilities for Unit Tests)
Hierarchy
☛
SAP_GWFND (Software Component) SAP Gateway Foundation
⤷
OPU-FND (Application Component) Information Worker Foundation Framework
⤷
/IWFND/TESTING (Package) GW Framework - Tests via sample applications
⤷
⤷
Properties
| Class | /IWFND/CL_SUTIL_TEST_UTIL | |
| Short Description | Utilities for Unit Tests | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /IWFND/TESTING | GW Framework - Tests via sample applications |
| Created | 20111027 | SAP |
| Last change | 20131127 | 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) | |
| 2 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
Interfaces
Class /IWFND/CL_SUTIL_TEST_UTIL has no interface implemented.
Friends
Class /IWFND/CL_SUTIL_TEST_UTIL has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Private | Type reference (TYPE) | STRING | 'CLASS_CONSTRUCTOR' | 20111027 | |||
| 2 | Constant | Private | Type reference (TYPE) | STRING | 'CONSTRUCTOR' | 20111027 | |||
| 3 | Constant | Private | Type reference (TYPE) | STRING | '~' | 20111027 | |||
| 4 | Constant | Private | Type reference (TYPE) | STRING | 'MANUAL' | 20111107 | |||
| 5 | Static Attribute | Private | Object reference (TYPE REF TO) | /IWFND/CL_SUTIL_GW_CLIENT_EXEC | GW Client Execution | 20120928 | |||
| 6 | Static Attribute | Private | Object reference (TYPE REF TO) | /IWFND/CL_SUTIL_RUNTIME | Support Utilities: Runtime | 20121116 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | 20120928 | ||
| 2 | Static method | Public | Method | Execute public methods of a test class | 20120830 | |
| 3 | Static method | Public | Method | Execute Test Group (also for Unit Test) | 20121116 |
Events
Class /IWFND/CL_SUTIL_TEST_UTIL has no event.
Types
Class /IWFND/CL_SUTIL_TEST_UTIL has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class /IWFND/CL_SUTIL_TEST_UTIL has no parameter.
Method CLASS_CONSTRUCTOR on class /IWFND/CL_SUTIL_TEST_UTIL has no exception.
Method EXECUTE_BY_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING_TABLE | Table of Error Texts | 20120830 | |||
| 2 | IV_CLASS_NAME | Call by reference | Type reference (TYPE) | SEOCLNAME | '/IWFND/CL_SUTIL_TEST_SFLIGHT' | Class Name | 20120830 |
Method EXECUTE_BY_CLASS on class /IWFND/CL_SUTIL_TEST_UTIL has no exception.
Method EXECUTE_TEST_GROUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DURATION | Call by reference | Type reference (TYPE) | TIMS | Duration | 20121116 | |||
| 2 | EV_ERROR_TEXT | Call by reference | Type reference (TYPE) | STRING | Error Text if any | 20121116 | |||
| 3 | EV_LOG_OPID | Call by reference | Type reference (TYPE) | SYSUUID_C | Error Log Operation ID | 20121116 | |||
| 4 | EV_TOTAL_ERROR | Call by reference | Type reference (TYPE) | I | Total number of errors | 20121116 | |||
| 5 | EV_TOTAL_NUMBER | Call by reference | Type reference (TYPE) | I | Total number of test cases | 20121116 | |||
| 6 | IV_TEST_GROUP | Call by reference | Type reference (TYPE) | /IWFND/SUTIL_TEST_GROUP | Test group | 20121116 |
Method EXECUTE_TEST_GROUP on class /IWFND/CL_SUTIL_TEST_UTIL has no exception.
History
| Last changed by/on | SAP | 20131127 |
| SAP Release Created in | 250 |