SAP ABAP Class CL_AUNIT_CLASSTEST (INTERNAL: Test Sandbox)
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
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_AUNIT_ACCESS | INTERNAL: *DO NOT ACCESS* Friendly Access to Test Classes | 20031113 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_AUNIT_CLASSTEST | INTERNAL: Test sandbox - session to run the tests | 20030905 |
Properties
| Class | CL_AUNIT_CLASSTEST | |
| Short Description | INTERNAL: Test Sandbox | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | S | System Program |
| Category | 0 | |
| Package | SABP_UNIT_CORE | INTERNAL: NO REUSE - Core functionality |
| Created | 20030905 | 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 class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 3 | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) | |
| 4 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_AUNIT_ACCESS | INTERNAL: *DO NOT ACCESS* Friendly Access to Test Classes | 20031113 | ||
| 2 | IF_AUNIT_CLASSTEST | INTERNAL: Test sandbox - session to run the tests | 20030905 |
Friends
Class CL_AUNIT_CLASSTEST has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_CLASSTEST_RESULT | Hauptergebniskollektor des Modus | 20050527 | |||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_CLASSTEST_RESULT | 20051227 | ||||
| 3 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_CLASSDESCR | Runtime Type Services | 20070926 | |||
| 4 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_AUNIT_TEST_CLASS_HANDLE | ABAP Unit: Handle for a test class | 20051115 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Private | Method | Only for Reason of Kernel Method Registration - see Janitor | 20061207 | |
| 2 | Instance method | Public | Constructor | STRICTELY INTERNAL: Thou must not call this oh intruder one | 20030905 | |
| 3 | Static method | Public | Method | Only for Reason of Kernel Method Registration - see Janitor | 20080730 | |
| 4 | Static method | Private | Method | Controls the Runtime Checks for Accessing Tests | 20030919 | |
| 5 | Instance method | Private | Method | Checks Max. Duration and Adds Warning in Case of Violation | 20061207 | |
| 6 | Instance method | Private | Method | Call All CLASS_SETUPs Along Inheritance Hierarchy | 20061207 | |
| 7 | Instance method | Private | Method | Call All CLASS_TEARDOWNs Along Inheritance Hierarchy | 20061207 | |
| 8 | Instance method | Private | Method | Create Instance of a Test Class | 20061207 | |
| 9 | Instance method | Private | Method | Handle Exception Error from Test | 20080729 | |
| 10 | Instance method | Private | Method | Call All SETUPs Along Inheritance Hierarchy | 20061207 | |
| 11 | Instance method | Private | Method | Call All TEARDOWNs Along Inheritance Hierarchy | 20061207 |
Events
Class CL_AUNIT_CLASSTEST has no event.
Types
Class CL_AUNIT_CLASSTEST has no local type.
Method Signatures
Method CALL_SUPER_FIXTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CLASSNAME | Call by reference | Type reference (TYPE) | ABAP_CLASSNAME | 20061207 | ||||
| 2 | INSTANCE | Call by reference | Object reference (TYPE REF TO) | OBJECT | 20061207 | ||||
| 3 | METHNAME | Call by reference | Type reference (TYPE) | ABAP_METHNAME | 20061207 | ||||
| 4 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | ABAP-Programmname | 20061207 | |||
| 5 | RC | Value transfer | Type reference (TYPE) | I | 20061207 |
Method CALL_SUPER_FIXTURE on class CL_AUNIT_CLASSTEST has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PASSPORT | Call by reference | Object reference (TYPE REF TO) | OBJECT | STRICTELY INTERNAL/OBSOLETE | 20081013 | |||
| 2 | RESULT_HANDLE | Call by reference | Object reference (TYPE REF TO) | IF_AUNIT_CLASSTEST_RESULT | 20051227 |
Method CONSTRUCTOR on class CL_AUNIT_CLASSTEST has no exception.
Method GET_JANITOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PASSPORT | Call by reference | Object reference (TYPE REF TO) | OBJECT | Not everyone may call | 20080730 | |||
| 2 | RESULT | Value transfer | Object reference (TYPE REF TO) | IF_AUNIT_TEST_ACCESS_JANITOR | ABAP Unit: Grant Test Access and Other Kernel Methods | 20080730 |
Method GET_JANITOR on class CL_AUNIT_CLASSTEST has no exception.
Method SET_TEST_ACCESS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENABLED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20030919 |
Method SET_TEST_ACCESS on class CL_AUNIT_CLASSTEST has no exception.
Method __CHECK_DURATION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MAX_DURATION | Call by reference | Type reference (TYPE) | I | 20061207 | ||||
| 2 | STARTED | Call by reference | Type reference (TYPE) | TIMESTAMP | 20061207 |
Method __CHECK_DURATION on class CL_AUNIT_CLASSTEST has no exception.
Method __CLASS_SETUP_STACK Signature
Method __CLASS_SETUP_STACK on class CL_AUNIT_CLASSTEST has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions with Dynamic Check Only of the RAISING Clause | 20061207 | ||
| 2 | Exceptions with Static and Dynamic Check of RAISING Clause | 20061207 |
Method __CLASS_TEARDOWN_STACK Signature
Method __CLASS_TEARDOWN_STACK on class CL_AUNIT_CLASSTEST has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions with Dynamic Check Only of the RAISING Clause | 20070926 |
Method __CREATE_TEST_INSTANCE Signature
Method __CREATE_TEST_INSTANCE on class CL_AUNIT_CLASSTEST has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20061207 | |||
| 2 | Exceptions with Static and Dynamic Check of RAISING Clause | 20061207 |
Method __HANDLE_CX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CX | Call by reference | Object reference (TYPE REF TO) | CX_ROOT | 20080729 | ||||
| 2 | STACK_ENTRIES | Call by reference | Type reference (TYPE) | IF_AUNIT_MISC_TYPES=>TY_T_STACK_ENTRIES | 20080806 |
Method __HANDLE_CX on class CL_AUNIT_CLASSTEST has no exception.
Method __SETUP_STACK Signature
Method __SETUP_STACK on class CL_AUNIT_CLASSTEST has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20061207 | |||
| 2 | 20061207 |
Method __TEARDOWN_STACK Signature
Method __TEARDOWN_STACK on class CL_AUNIT_CLASSTEST has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Exceptions with Dynamic Check Only of the RAISING Clause | 20070926 |
History
| Last changed by/on | SAP | 20140121 |
| SAP Release Created in |