SAP ABAP Class CL_SAUNIT_GEN_TESTCLASS (OBSOLETE)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷
SABP_UNIT_SCRATCH (Package) OBSOLETE - Do not use anywhere
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_SAUNIT_GEN_TESTCLASS_TYPES | OBSOLETE | 20041026 |
Properties
| Class | CL_SAUNIT_GEN_TESTCLASS | |
| Short Description | OBSOLETE | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | P | SAP Standard Production Program |
| Category | 0 | |
| Package | SABP_UNIT_SCRATCH | OBSOLETE - Do not use anywhere |
| Created | 20041026 | SAP |
| Last change | 20090618 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_SAUNIT_GEN_TESTCLASS_TYPES | OBSOLETE | 20041026 |
Friends
Class CL_SAUNIT_GEN_TESTCLASS has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Attribute reference (LIKE) | 20041027 | |||||
| 2 | Instance attribute | Private | Attribute reference (LIKE) | 20041027 | |||||
| 3 | Instance attribute | Private | Attribute reference (LIKE) | 20041027 | |||||
| 4 | Instance attribute | Private | Attribute reference (LIKE) | 20041027 | |||||
| 5 | Instance attribute | Private | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_T_METHODS | 20041119 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20041119 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | TROBJTYPE | Object Type | 20041119 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_S_OPTIONS | 20041119 | ||||
| 9 | Instance attribute | Private | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_S_SOURCE | 20041217 | ||||
| 10 | Instance attribute | Private | Type reference (TYPE) | IF_AUNIT_PROG_INFO_TYPES=>TY_T_TESTCLASSES | 20041119 | ||||
| 11 | Instance attribute | Private | Type reference (TYPE) | SAUNIT_D_CLASS | Class | 20041119 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | ABAP_ABSTYPENAME | 20041122 | ||||
| 13 | Instance attribute | Private | Type reference (TYPE) | ABAP_BOOL | 20041217 | ||||
| 14 | Instance attribute | Private | Object reference (TYPE REF TO) | LCL_WRITER | 20041027 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | 20041026 | ||
| 2 | Instance method | Public | Method | Gets Definition and Implementation Parts of the Test Class | 20041026 | |
| 3 | Instance method | Private | Method | Gets Basic Names for Absolute Type Names | 20041026 | |
| 4 | Static method | Public | Method | Gets Local Testable Classes | 20041027 | |
| 5 | Instance method | Private | Method | Gets Methods of a Global or Local Class | 20041026 | |
| 6 | Instance method | Public | Method | Gets Information about Generated Methods | 20041119 | |
| 7 | Instance method | Public | Method | Gets Current Duration and risk_level | 20050121 | |
| 8 | Instance method | Public | Method | Gets Existing Test Classes | 20041119 | |
| 9 | Static method | Private | Method | Checks Validity of the Class Name | 20041026 | |
| 10 | Instance method | Public | Method | Merge Generated Sources and Entered Sources | 20041217 | |
| 11 | Instance method | Public | Method | Defines which methods to generate for the test methods | 20041119 | |
| 12 | Instance method | Public | Method | Sets Generation Options | 20041119 | |
| 13 | Instance method | Public | Method | Sets Test Class Names | 20041119 | |
| 14 | Instance method | Public | Method | Defines which classes to test (e.g. local class) | 20041122 |
Events
Class CL_SAUNIT_GEN_TESTCLASS has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_D_PROG_TYPE | Private | Attribute reference (LIKE) | 20041027 | |
||
| 2 | TY_D_VISIBILITY | Private | Attribute reference (LIKE) | 20041027 | |
||
| 3 | TY_S_LOCAL_CLASS | Private | Attribute reference (LIKE) | 20041027 | |
||
| 4 | TY_S_OPTIONS | Private | Attribute reference (LIKE) | 20041027 | |
||
| 5 | TY_S_SOURCE | Private | Attribute reference (LIKE) | 20041118 | |
||
| 6 | TY_S_TESTCLASS | Private | Attribute reference (LIKE) | 20041118 | |
||
| 7 | TY_T_LOCAL_CLASSES | Private | Attribute reference (LIKE) | 20041027 | |
||
| 8 | TY_T_TESTCLASSES | Public | Attribute reference (LIKE) | 20041118 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OBJ_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Objektname im Objektkatalog | 20041119 | |||
| 2 | OBJ_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20041119 |
Method CONSTRUCTOR on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method GENERATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_S_SOURCE | 20041028 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit nur dynamischer Prüfung von RAISING | 20050202 |
Method GET_BASIC_CLASSNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASSNAME | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | 20041026 | ||||
| 2 | RESULT | Value transfer | Type reference (TYPE) | SAUNIT_D_CLASS | Klasse | 20041026 |
Method GET_BASIC_CLASSNAME on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method GET_LOCAL_CLASSES_BY_OBJECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASSES | Value transfer | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_T_LOCAL_CLASSES | lokale Klassen | 20041027 | |||
| 2 | OBJ_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Objektname im Objektkatalog | 20041027 | |||
| 3 | OBJ_TYPE | Call by reference | Type reference (TYPE) | TROBJTYPE | Objekttyp | 20041027 |
Method GET_LOCAL_CLASSES_BY_OBJECT on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method GET_METHODS_BY_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | METHODS | Call by reference | Type reference (TYPE) | ABAP_METHDESCR_TAB | 20041026 |
Method GET_METHODS_BY_NAME on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method GET_METHODS_FOR_TESTCLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | METHOD_INFOS | Value transfer | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_T_METHOD_INFOS | 20041119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit nur dynamischer Prüfung von RAISING | 20050202 |
Method GET_PROPERTIES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DURATION | Call by reference | Type reference (TYPE) | SAUNIT_D_ATTRIBUTE_RT_DURATION | Laufzeit | 20050121 | |||
| 2 | RISK_LEVEL | Call by reference | Type reference (TYPE) | SAUNIT_D_ATTRIBUTE_RISK_LEVEL | Risikostufe | 20050121 |
Method GET_PROPERTIES on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method GET_TESTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TESTCLASSES | Value transfer | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_T_TESTCLASSES | 20041119 |
Method GET_TESTS on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method IS_VALID_NAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Value transfer | Type reference (TYPE) | SAUNIT_D_CLASS | Klasse | 20041026 | |||
| 2 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20041026 |
Method IS_VALID_NAME on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method MERGE_SOURCES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCES | Call by reference | Type reference (TYPE) | STRING_TABLE | Tabelle von Strings | 20041217 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit nur dynamischer Prüfung von RAISING | 20050202 |
Method SET_METHODS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | METHODS | Call by reference | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_T_METHODS | 20041119 |
Method SET_METHODS on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method SET_OPTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | OPTIONS | Call by reference | Type reference (TYPE) | IF_SAUNIT_GEN_TESTCLASS_TYPES=>TY_S_OPTIONS | 20041119 |
Method SET_OPTIONS on class CL_SAUNIT_GEN_TESTCLASS has no exception.
Method SET_TESTCLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASSNAME | Call by reference | Type reference (TYPE) | SAUNIT_D_CLASS | Klasse | 20041119 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Ausnahmen mit nur dynamischer Prüfung von RAISING | 20050202 |
Method SET_TESTEE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | TESTEE | Call by reference | Type reference (TYPE) | ABAP_ABSTYPENAME | 20041122 |
Method SET_TESTEE on class CL_SAUNIT_GEN_TESTCLASS has no exception.
History
| Last changed by/on | SAP | 20090618 |
| SAP Release Created in | 700 |