SAP ABAP Class CL_AUNIT_TASK (INTERNAL: *NO REUSE* Test Runner)
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_TASK ABAP Unit: Handle to execute a test task 20050719
Properties
Class CL_AUNIT_TASK  
Short Description INTERNAL: *NO REUSE* Test Runner    
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_CORE   INTERNAL: NO REUSE - Core functionality 
Created 20030707   SAP 
Last change 20140121   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 CL_AUNIT_PROG_INFO Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
3 CL_AUNIT_TASK Forward declaration class (CLASS c DEFINITION DEFERRED)  Forward declaration class (CLASS c DEFINITION DEFERRED)
4 IF_AUNIT_PROG_INFO_TYPES Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
5 IF_AUNIT_TEST_CLASS Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
6 IF_AUNIT_TEST_CLASS_HANDLE Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_AUNIT_TASK ABAP Unit: Handle to execute a test task 20050719
Friends
Class CL_AUNIT_TASK has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 F_DURATION Instance attribute Private Type reference (TYPE) SAUNIT_S_DURATION_SETTING Concrete Values for Categories of Execution Duration 20050527
2 F_EXT_R_HANDLER Instance attribute Private Object reference (TYPE REF TO) IF_AUNIT_EXT_RES_HANDLER Result handler to collect data from proxy and return to list 20051221
3 F_EXT_R_PROXY Instance attribute Private Object reference (TYPE REF TO) IF_AUNIT_EXT_RES_PROXY Result handler for the execution mode 20051221
4 F_MAX_DURATION Instance attribute Private Type reference (TYPE) SAUNIT_D_ATTRIBUTE_RT_DURATION Duration 20050527
5 F_MAX_RISK_LEVEL Instance attribute Private Type reference (TYPE) SAUNIT_D_ALLOWED_RISK_LEVEL Upper Limit of Risk Level 20050527
6 F_PROGRAMS Instance attribute Private See coding Zu testende Programme 20050527
7 F_PROGRAM_CNT Instance attribute Private Type reference (TYPE) I Count of Programs 20050527
8 F_PROGRAM_HANDLES Instance attribute Private Type reference (TYPE) TY_T_PROGRAM_HANDLES Handles for Programs 20051201
9 F_RESULT_HANDLE Instance attribute Private Object reference (TYPE REF TO) CL_AUNIT_RESULT Result Collector 20051227
10 F_TITLE Instance attribute Private Type reference (TYPE) STRING Title of Test Run 20050804
11 RUN_MODE_CATCH_SHORT_DUMP Constant Public Type reference (TYPE) SAUNIT_D_TASK_RUN_MODE IF_AUNIT_TASK=>C_RUN_MODE-CATCH_SHORT_DUMP OBSOLETE !! 20051212
12 RUN_MODE_COMMON Constant Public Type reference (TYPE) SAUNIT_D_TASK_RUN_MODE 'C' OBSOLETE !! 20051212
13 RUN_MODE_EXTERNAL Constant Public Type reference (TYPE) SAUNIT_D_TASK_RUN_MODE IF_AUNIT_TASK=>C_RUN_MODE-EXTERNAL OBSOLETE !! 20051212
14 RUN_MODE_ISOLATED Constant Public Type reference (TYPE) SAUNIT_D_TASK_RUN_MODE IF_AUNIT_TASK=>C_RUN_MODE-ISOLATED OBSOLETE !! 20051212
15 RUN_MODE_SAFE Constant Public Type reference (TYPE) SAUNIT_D_TASK_RUN_MODE IF_AUNIT_TASK=>C_RUN_MODE-CATCH_SHORT_DUMP OBSOLETE !! 20031014
Methods
# Method Level Visibility Method type Description Created on
1 ADD Instance method Public Method Adds test classes of program to task 20030825
2 ADD_CLASS_POOL Instance method Public Method 20120910
3 ADD_FUNCTION_GROUP Instance method Public Method 20050719
4 ADD_PROGRAM Instance method Public Method 20050719
5 ADD_TEST_CLASS_HANDLE Instance method Public Method 20051115
6 CONSTRUCTOR Instance method Public Constructor CONSTRUCTOR 20030707
7 FILTER_FAILURE_STACK Static method Public Method Do filtering on callstack 20031014
8 RESTRICT_DURATION_CATEGORY Instance method Public Method 20050719
9 RESTRICT_RISK_LEVEL Instance method Public Method 20050719
10 RUN Instance method Public Method 20050719
11 SET_DURATION Instance method Public Method 20050804
12 STACK_FILTER Static method Public Method Define function module to do filtering on callstack 20031010
13 __HAS_TEST_CODE Instance method Private Method Contains program test byte code? If necessary generate it! 20080729
14 __HAS_TEST_CODE_NO_WARN Instance method Private Method Contains program test byte code? If necessary generate it! 20080729
15 __RUN_TEST_CLASS_HANDLES Instance method Private Method Executes test class handles 20061108
16 __RUN_TEST_PROGRAMS Instance method Private Method Executes test classes specified via program names 20061109
Events
Class CL_AUNIT_TASK has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_S_CLASS_HANDLE Private See coding Handle for Single Test Class 20051201 begin of ty_S_Class_Handle, class type saunit_D_Class, handle type ref to if_Aunit_Test_Class_Handle, end of ty_S_Class_Handle
2 TY_S_PROGRAM_HANDLE Private See coding Handle for Program 20051201 begin of ty_S_Program_Handle, program type progname, classes type ty_T_Class_Handles, end of ty_S_Program_Handle
3 TY_T_CLASS_HANDLES Private See coding Handles for Test Classes 20051201 ty_T_Class_Handles type standard table of ty_S_Class_Handle with default key
4 TY_T_PROGRAM_HANDLES Private See coding Handles for Programs 20051201 ty_T_Program_Handles type standard table of ty_S_Program_Handle with default key
Method Signatures

Method ADD Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROGRAM Call by reference Type reference (TYPE) PROGNAME ABAP-Programmname 20030825

Method ADD on class CL_AUNIT_TASK has no exception.

Method ADD_CLASS_POOL Signature

Method ADD_CLASS_POOL on class CL_AUNIT_TASK has no parameter.
Method ADD_CLASS_POOL on class CL_AUNIT_TASK has no exception.

Method ADD_FUNCTION_GROUP Signature

Method ADD_FUNCTION_GROUP on class CL_AUNIT_TASK has no parameter.
Method ADD_FUNCTION_GROUP on class CL_AUNIT_TASK has no exception.

Method ADD_PROGRAM Signature

Method ADD_PROGRAM on class CL_AUNIT_TASK has no parameter.
Method ADD_PROGRAM on class CL_AUNIT_TASK has no exception.

Method ADD_TEST_CLASS_HANDLE Signature

Method ADD_TEST_CLASS_HANDLE on class CL_AUNIT_TASK has no parameter.
Method ADD_TEST_CLASS_HANDLE on class CL_AUNIT_TASK has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LISTENER Call by reference Type reference (TYPE) ABAP_ABSTYPENAME 20030707
2 Importing LISTENER_REF Call by reference Object reference (TYPE REF TO) IF_AUNIT_LISTENER 20030710

Method CONSTRUCTOR on class CL_AUNIT_TASK has no exception.

Method FILTER_FAILURE_STACK Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DO_FILTER Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE 20031014
2 Importing FB_FILTER Call by reference Type reference (TYPE) FUNCNAME 20031014

Method FILTER_FAILURE_STACK on class CL_AUNIT_TASK has no exception.

Method RESTRICT_DURATION_CATEGORY Signature

Method RESTRICT_DURATION_CATEGORY on class CL_AUNIT_TASK has no parameter.
Method RESTRICT_DURATION_CATEGORY on class CL_AUNIT_TASK has no exception.

Method RESTRICT_RISK_LEVEL Signature

Method RESTRICT_RISK_LEVEL on class CL_AUNIT_TASK has no parameter.
Method RESTRICT_RISK_LEVEL on class CL_AUNIT_TASK has no exception.

Method RUN Signature

Method RUN on class CL_AUNIT_TASK has no parameter.
Method RUN on class CL_AUNIT_TASK has no exception.

Method SET_DURATION Signature

Method SET_DURATION on class CL_AUNIT_TASK has no parameter.
Method SET_DURATION on class CL_AUNIT_TASK has no exception.

Method STACK_FILTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FB_STACK_FILTER Call by reference Type reference (TYPE) FUNCNAME 20031010

Method STACK_FILTER on class CL_AUNIT_TASK has no exception.

Method __HAS_TEST_CODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROGRAM_NAME Call by reference Type reference (TYPE) PROGNAME 20120602
2 Returning TESTS_IN_BYTE_CODE Value transfer Type reference (TYPE) ABAP_BOOL 20120602

Method __HAS_TEST_CODE on class CL_AUNIT_TASK has no exception.

Method __HAS_TEST_CODE_NO_WARN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing PROGRAM_NAME Call by reference Type reference (TYPE) PROGNAME 20120602
2 Returning TESTS_IN_BYTE_CODE Value transfer Type reference (TYPE) ABAP_BOOL 20120602

Method __HAS_TEST_CODE_NO_WARN on class CL_AUNIT_TASK has no exception.

Method __RUN_TEST_CLASS_HANDLES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASS_TESTER Call by reference Object reference (TYPE REF TO) IF_AUNIT_CLASSTEST 20061108
2 Importing COVERAGE_KEY Call by reference Type reference (TYPE) SAUNIT_D_COVERAGE_ANALYSIS_KEY 20061108

Method __RUN_TEST_CLASS_HANDLES on class CL_AUNIT_TASK has no exception.

Method __RUN_TEST_PROGRAMS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing CLASS_TESTER Call by reference Object reference (TYPE REF TO) IF_AUNIT_CLASSTEST Test Class Check 20061109
2 Importing COVERAGE_KEY Call by reference Type reference (TYPE) SAUNIT_D_COVERAGE_ANALYSIS_KEY ABAP Unit: Key to Access Coverage Data 20061109

Method __RUN_TEST_PROGRAMS on class CL_AUNIT_TASK has no exception.
History
Last changed by/on SAP  20140121 
SAP Release Created in