SAP ABAP Class CL_AUNIT_PROG_INFO (INTERNAL: Meta data of tests associated with programs)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷
SABP_UNIT_CORE (Package) INTERNAL: NO REUSE - Core functionality
⤷
⤷
Properties
| Class | CL_AUNIT_PROG_INFO | |
| Short Description | INTERNAL: Meta data of tests associated with programs | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | SABP_UNIT | |
| Program status | ||
| Category | 0 | |
| Package | SABP_UNIT_CORE | INTERNAL: NO REUSE - Core functionality |
| Created | 20050805 | SAP |
| Last change | 20140121 | 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 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_AUNIT_PROG_INFO has no interface implemented.
Friends
Class CL_AUNIT_PROG_INFO has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | SAUNIT_D_SERIALIZED_FORMAT | 1 | Flag for Version of Internal Format | 20050805 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | OBSOLETE | 20050805 | |
| 2 | Static method | Public | Method | OBSOLETE | 20080818 | |
| 3 | Static method | Public | Method | Returns tests by program | 20050805 | |
| 4 | Static method | Public | Method | Returns tests by programs | 20050805 | |
| 5 | Static method | Public | Method | Returns tests of program | 20050805 | |
| 6 | Static method | Public | Method | Converts program name to TADIR KEY (PROG,CLAS,FUGR) | 20050805 | |
| 7 | Static method | Public | Method | Purges expired entries | 20080807 | |
| 8 | Static method | Public | Method | Converts TADIR key to program name | 20050805 |
Events
Class CL_AUNIT_PROG_INFO has no event.
Types
Class CL_AUNIT_PROG_INFO has no local type.
Method Signatures
Method CONTAIN_PROGRAMS_TESTCODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROG_NAMES | Value transfer | Type reference (TYPE) | PROGNAMES | 20120602 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | PROGNAMES | 20120602 |
Method CONTAIN_PROGRAMS_TESTCODE on class CL_AUNIT_PROG_INFO has no exception.
Method CONTAIN_PROG_KEYS_TESTCODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_MATCH | Call by reference | Type reference (TYPE) | I | Limit number of matches | 20080818 | |||
| 2 | PROG_KEYS | Value transfer | Type reference (TYPE) | SAUNIT_T_TADIR_KEYS | Keys of programs to examine | 20080818 | |||
| 3 | PROG_KEYS_WITH_TESTCODE | Call by reference | Type reference (TYPE) | SAUNIT_T_TADIR_KEYS | Programs containing byte code of test artefacts | 20080818 | |||
| 4 | WITH_TESTCODE | Call by reference | Type reference (TYPE) | SAP_BOOL | ABAP_TRUE if there exists at least one test artefact | 20080818 |
Method CONTAIN_PROG_KEYS_TESTCODE on class CL_AUNIT_PROG_INFO has no exception.
Method GET_PROGRAM_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALLOW_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050805 | |||
| 2 | FORCE_UPDATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050805 | |||
| 3 | OBJ_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | 20050805 | ||||
| 4 | OBJ_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | 20050805 | ||||
| 5 | PROG_NAME | Call by reference | Type reference (TYPE) | PROGNAME | 20060526 | ||||
| 6 | RESULT | Value transfer | Type reference (TYPE) | IF_AUNIT_PROG_INFO_TYPES=>TY_S_PROGRAM | 20050805 | ||||
| 7 | SKIP_CLASS_INFO | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20050805 |
Method GET_PROGRAM_INFO on class CL_AUNIT_PROG_INFO has no exception.
Method GET_PROGRAM_INFOS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ALLOW_COMMIT | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | muss immer wahr sein | 20050805 | ||
| 2 | FORCE_UPDATE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20050805 | |||
| 3 | RESULT | Value transfer | Type reference (TYPE) | IF_AUNIT_PROG_INFO_TYPES=>TY_T_PROGRAMS | 20050805 | ||||
| 4 | SKIP_CLASS_INFO | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20050805 | |||
| 5 | TADIR_KEYS | Call by reference | Type reference (TYPE) | SAUNIT_T_TADIR_KEYS | 20050805 |
Method GET_PROGRAM_INFOS on class CL_AUNIT_PROG_INFO has no exception.
Method GET_TESTS_OF_PROGRAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | ABAP-Programmname | 20050805 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | IF_AUNIT_PROG_INFO_TYPES=>TY_T_TESTCLASSES | 20050805 |
Method GET_TESTS_OF_PROGRAM on class CL_AUNIT_PROG_INFO has no exception.
Method PROGNAME_TO_TADIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJ_NAME | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | 20050805 | ||||
| 2 | OBJ_TYPE | Call by reference | Type reference (TYPE) | TADIR-OBJECT | 20050805 | ||||
| 3 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | 20050805 |
Method PROGNAME_TO_TADIR on class CL_AUNIT_PROG_INFO has no exception.
Method REMOVE_EXPIRED_ENTRIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_ENTRIES | Call by reference | Type reference (TYPE) | I | 10000 | Upper limit | 20080807 |
Method REMOVE_EXPIRED_ENTRIES on class CL_AUNIT_PROG_INFO has no exception.
Method TADIR_TO_PROGNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJ_NAME | Call by reference | Type reference (TYPE) | TADIR-OBJ_NAME | 20050805 | ||||
| 2 | OBJ_TYPE | Call by reference | Type reference (TYPE) | TADIR-OBJECT | 20050805 | ||||
| 3 | PROGNAME | Value transfer | Type reference (TYPE) | PROGNAME | 20050805 |
Method TADIR_TO_PROGNAME on class CL_AUNIT_PROG_INFO has no exception.
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in | 710 |