SAP ABAP Class CL_CNV_MBT_UNITTEST_RUNNER (Unitttest Runner)
Hierarchy
DMIS (Software Component) DMIS 2011_1
   CA-EUR (Application Component) European Monetary Union: Euro
     CNV_MBT_UNITTEST (Package)
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_CNV_MBT_UNITTEST Unit testing @ SLO 20130107
Properties
Class CL_CNV_MBT_UNITTEST_RUNNER  
Short Description Unitttest Runner    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package CNV_MBT_UNITTEST    
Created 20130107   SAP 
Last change 20141030    
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 CNV Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
# Interface Abstract Final Description Created on
1 IF_CNV_MBT_UNITTEST Unit testing @ SLO 20130107
Friends
Class CL_CNV_MBT_UNITTEST_RUNNER has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 NC_CLASS Constant Public Type reference (TYPE) CNV_MBT_UNITTEST_OBJTYPE 'CLAS' Object type for Unittest Runner 20130107
2 NC_FUNCTION_GROUP Constant Public Type reference (TYPE) CNV_MBT_UNITTEST_OBJTYPE 'FUGR' Object type for Unittest Runner 20130107
3 NC_JOBNAME_RUNNER Static Attribute Public Type reference (TYPE) BTCJOB 'CNV_MBT_UNITTEST_RUNNER' Background job name of unittest runner 20140313
4 NC_JOBNAME_WATCHDOG Static Attribute Public Type reference (TYPE) BTCJOB 'CNV_MBT_UNITTEST_WATCHDOG' Background job name of unittest watchdog 20140313
5 NC_PROGRAM Constant Public Type reference (TYPE) CNV_MBT_UNITTEST_OBJTYPE 'PROG' Object type for Unittest Runner 20130107
6 ORA_DEVCL Instance attribute Protected Type reference (TYPE) BAL_R_PROG Range of development classes 20130107
7 ORA_ONAME Instance attribute Protected Type reference (TYPE) BAL_R_PROG Range of Object names 20130107
8 ORA_TCLAS Instance attribute Protected Type reference (TYPE) BAL_R_PROG Range of Test Classes 20130107
9 OR_CONTAINER_RESULT Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20131106
10 OR_GRID_RESULT Instance attribute Protected Object reference (TYPE REF TO) CL_GUI_ALV_GRID ALV List Viewer 20131106
11 OS_UT_CASES Instance attribute Protected Type reference (TYPE) CNV_MBT_UT_CASES Unit test cases 20131106
12 OT_CASES Instance attribute Protected Type reference (TYPE) CNV_MBT_UNITTEST_T_UT_CASES Table of Unit Test Cases 20130109
13 OT_HISTORY Instance attribute Protected Type reference (TYPE) CNV_MBT_UNITTEST_T_RESULT Table of History Results 20130702
14 OT_RESULT Instance attribute Protected Type reference (TYPE) CNV_MBT_UNITTEST_T_RESULT Table of Unit Test Results 20130110
15 OV_CASES_SELECTED Instance attribute Protected Type reference (TYPE) ABAP_BOOL Whether the test cases have been selected 20130702
16 OV_CEXCL Instance attribute Protected Type reference (TYPE) FLAG Consider excluded objects 20130107
17 OV_OBJECT_TYPE Instance attribute Protected Type reference (TYPE) TROBJTYPE Object Type 20130227
18 OV_RESULTS_SELECTED Instance attribute Protected Type reference (TYPE) ABAP_BOOL Whether the test results have been selected 20130702
19 PV_EXEC_UNAME Instance attribute Private Type reference (TYPE) SYUNAME Execution user 20130805
Methods
# Method Level Visibility Method type Description Created on
1 ADAPT_CRASHED_TEST_CASES Instance method Public Method Adapt crashed unit tests 20140313
2 ADD_CTMENU Instance method Protected Method Add codes to context menu 20131106
3 CONSTRUCTOR Instance method Public Constructor 20130107
4 DISPLAY Instance method Public Method Display unit test results 20130110
5 DISPLAY_DUMP Instance method Public Method Display dump 20140313
6 DISPLAY_HISTORY Instance method Public Method Display unit test history 20130702
7 GET_CASE Instance method Public Method Returns a Unit Test Case selected in the ALV grid 20130227
8 GET_FIELDCATALOG Instance method Protected Method Returns fieldcatalog for ALV display 20130111
9 GET_LINE Instance method Public Method Returns the line of a Unit Test Case in the ALV grid 20140313
10 GET_NUMBER_OF_HISTORY Instance method Public Method Get number of history results 20130702
11 GET_NUMBER_OF_RESULTS Instance method Public Method Get number of results 20130702
12 GET_RESULTS Instance method Public Method Returns the selected test results 20130702
13 GET_SELECTED_LINE Instance method Public Method Get the selected line 20140410
14 GET_TADIR Instance method Protected Method determine object properties 20130107
15 GET_USER_NAME_FROM_EMAIL Instance method Private Method 20140313
16 GET_USER_TEST_CASES Instance method Public Method Returns test cases of the given user 20130805
17 ON_CONTEXT_MENU_RESULT Instance method Protected Event handling method Event handler for ALV 20131106
18 ON_DOUBLE_CLICK_HISTORY Instance method Protected Event handling method Event handler for ALV 20130702
19 ON_DOUBLE_CLICK_RESULT Instance method Protected Event handling method Event handler for ALV 20130702
20 ON_USER_COMMAND_RESULT Instance method Protected Event handling method Event handler for ALV 20131106
21 PREPARE_HISTORY Instance method Protected Method Prepare the history for output (fill color, object name) 20130702
22 PREPARE_RESULT Instance method Protected Method Prepare the result for output (fill color, object name) 20130227
23 RUN Instance method Public Method Run unit tests 20130107
24 SAVE_RESULT_ID Instance method Protected Method Save result id 20130109
25 SCROLL_TO_LINE Instance method Public Method Scrolls to the given line in the result list 20140313
26 SELECT_TEST_CASES Instance method Public Method Select unit tests 20130107
27 SELECT_TEST_RESULTS Instance method Public Method Selects the test results 20130702
28 SEND_MAIL Instance method Public Method 20140313
29 START_TESTS Instance method Protected Method Start list of unit tests 20130107
30 UPDATE_RESULT_ID Instance method Public Method Updates the result ID of a unit test 20130227
Events
Class CL_CNV_MBT_UNITTEST_RUNNER has no event.
Types
Class CL_CNV_MBT_UNITTEST_RUNNER has no local type.
Method Signatures

Method ADAPT_CRASHED_TEST_CASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_JOBCOUNT Call by reference Type reference (TYPE) BTCJOBCNT Job count of the crashed job 20140313
2 Importing IV_START_DATE Call by reference Type reference (TYPE) SYDATUM Date on which the test run initially started 20140313
3 Importing IV_START_TIME Call by reference Type reference (TYPE) SYUZEIT Time on which the test run initially started 20140313

Method ADAPT_CRASHED_TEST_CASES on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method ADD_CTMENU Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EXCLUDE Call by reference Type reference (TYPE) CNV_NOT Exclusion from conversion indication 20131106
2 Changing XR_CTMENU Call by reference Object reference (TYPE REF TO) CL_CTMENU Context Menu 20131106

Method ADD_CTMENU on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IRA_DEVCL Call by reference Type reference (TYPE) BAL_R_PROG Range of development classes 20130107
2 Importing IRA_ONAME Call by reference Type reference (TYPE) BAL_R_PROG Range of Object names 20130107
3 Importing IRA_TCLAS Call by reference Type reference (TYPE) BAL_R_PROG Range of Test Classes 20130107
4 Importing IV_CEXCL Call by reference Type reference (TYPE) FLAG SPACE Consider excluded objects 20130107
5 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) TROBJTYPE SPACE Object Type 20130227

Method CONSTRUCTOR on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method DISPLAY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONTAINER_ALV Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20130110
2 Importing IV_RESULT_ID Call by reference Type reference (TYPE) CNV_MBT_UNITTEST_RESULT_ID Unit Test Result ID 20130111
3 Changing XR_GRID Call by reference Object reference (TYPE REF TO) CL_GUI_ALV_GRID ALV List Viewer 20130227

Method DISPLAY on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method DISPLAY_DUMP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_RESULT_ID Call by reference Type reference (TYPE) CNV_MBT_UNITTEST_RESULT_ID Unit Test Result ID 20140313

Method DISPLAY_DUMP on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method DISPLAY_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IR_CONTAINER_ALV Call by reference Object reference (TYPE REF TO) CL_GUI_CONTAINER Abstract Container for GUI Controls 20130702
2 Importing IS_CASE Call by reference Type reference (TYPE) CNV_MBT_UT_CASES Unit test cases 20130702
3 Changing XR_GRID Call by reference Object reference (TYPE REF TO) CL_GUI_ALV_GRID ALV List Viewer 20130702

Method DISPLAY_HISTORY on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_CASE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LINE Call by reference Type reference (TYPE) I Index 20130227
2 Returning RS_CASE Value transfer Type reference (TYPE) CNV_MBT_UT_CASES Unit test case 20130227

Method GET_CASE on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_FIELDCATALOG Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_FIELDCATALOG Value transfer Type reference (TYPE) LVC_T_FCAT Field Catalog for List Viewer Control 20130111

Method GET_FIELDCATALOG on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_OBJECT_NAME Call by reference Type reference (TYPE) SOBJ_NAME Object Name 20140313
2 Importing IV_OBJECT_TYPE Call by reference Type reference (TYPE) CNV_MBT_UNITTEST_OBJTYPE Object type 20140313
3 Returning RV_LINE Value transfer Type reference (TYPE) LVC_INDEX Index 20140313

Method GET_LINE on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_NUMBER_OF_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NUMBER_OF_RESULTS Value transfer Type reference (TYPE) SYDBCNT DB operations, number of table lines processed 20130702

Method GET_NUMBER_OF_HISTORY on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_NUMBER_OF_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_NUMBER_OF_RESULTS Value transfer Type reference (TYPE) SYDBCNT DB operations, number of table lines processed 20130702

Method GET_NUMBER_OF_RESULTS on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_RESULTS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RT_RESULT Value transfer Type reference (TYPE) CNV_MBT_UNITTEST_T_RESULT Table of Unit Test Results 20130702

Method GET_RESULTS on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_SELECTED_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RV_LINE Value transfer Type reference (TYPE) I Selected line 20140410
# Exception Resumable Description Created on
1 CX_CNV_00001_INSUFFICIENT_CTX No line selected 20140410

Method GET_TADIR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EV_DEVCLASS Call by reference Type reference (TYPE) DEVCLASS Development Class 20130107
2 Exporting EV_OBJECT_TYPE Call by reference Type reference (TYPE) CNV_MBT_UNITTEST_OBJTYPE Object type for Unittest Runner 20130107
3 Importing IV_OBJECT_NAME Call by reference Type reference (TYPE) SOBJ_NAME Object Name in Object Directory 20130107
# Exception Resumable Description Created on
1 CX_COMPONENT_NOT_EXISTING Component Does Not Exist 20130107

Method GET_USER_NAME_FROM_EMAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_EMAIL Call by reference Type reference (TYPE) ADR6-SMTP_ADDR E-Mail Address 20140313
2 Returning RV_UNAME Value transfer Type reference (TYPE) SYUNAME SAP System, User Logon Name 20140313

Method GET_USER_NAME_FROM_EMAIL on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method GET_USER_TEST_CASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LAST_N_RESULTS Call by reference Type reference (TYPE) INT4 Number of last results 20130805
2 Importing IV_UNAME Call by reference Type reference (TYPE) UNAME SY-UNAME User Name 20130805
3 Returning RT_CASE Value transfer Type reference (TYPE) CNV_MBT_UNITTEST_T_UT_CASES Table of Unit Test Cases 20130805

Method GET_USER_TEST_CASES on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method ON_CONTEXT_MENU_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_OBJECT Value transfer Attribute reference (LIKE) 20131106

Method ON_CONTEXT_MENU_RESULT on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method ON_DOUBLE_CLICK_HISTORY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_COLUMN Value transfer Attribute reference (LIKE) 20130702
2 Importing E_ROW Value transfer Attribute reference (LIKE) 20130702

Method ON_DOUBLE_CLICK_HISTORY on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method ON_DOUBLE_CLICK_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_COLUMN Value transfer Attribute reference (LIKE) Spaltenname 20130702
2 Importing E_ROW Value transfer Attribute reference (LIKE) 20130702

Method ON_DOUBLE_CLICK_RESULT on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method ON_USER_COMMAND_RESULT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing E_UCOMM Value transfer Attribute reference (LIKE) 20131106

Method ON_USER_COMMAND_RESULT on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method PREPARE_HISTORY Signature

Method PREPARE_HISTORY on class CL_CNV_MBT_UNITTEST_RUNNER has no parameter.
Method PREPARE_HISTORY on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method PREPARE_RESULT Signature

Method PREPARE_RESULT on class CL_CNV_MBT_UNITTEST_RUNNER has no parameter.
Method PREPARE_RESULT on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method RUN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_START_DATE Call by reference Type reference (TYPE) SYDATUM Date on which the test run initially started 20140313
2 Importing IV_START_TIME Call by reference Type reference (TYPE) SYUZEIT Time on which the test run initially started 20140313
3 Importing IV_UNAME Call by reference Type reference (TYPE) SYUNAME SY-UNAME Run tests as this user 20130805

Method RUN on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method SAVE_RESULT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CASE Call by reference Type reference (TYPE) CNV_MBT_UT_CASES Unit test cases 20130109

Method SAVE_RESULT_ID on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method SCROLL_TO_LINE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_LINE Call by reference Type reference (TYPE) LVC_INDEX Index 20140313
2 Importing IV_MARK Call by reference Type reference (TYPE) FLAG 'X' Mark the entry 20140313

Method SCROLL_TO_LINE on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method SELECT_TEST_CASES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IV_START_DATE Call by reference Type reference (TYPE) SYDATUM Date on which the test run initially started 20140313
2 Importing IV_START_TIME Call by reference Type reference (TYPE) SYUZEIT Time on which the test run initially started 20140313

Method SELECT_TEST_CASES on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method SELECT_TEST_RESULTS Signature

Method SELECT_TEST_RESULTS on class CL_CNV_MBT_UNITTEST_RUNNER has no parameter.
Method SELECT_TEST_RESULTS on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method SEND_MAIL Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_RESULT Call by reference Type reference (TYPE) CNV_MBT_ABAPUNIT_RES 20140313
2 Importing IV_MAILTO Call by reference Type reference (TYPE) STRING 20140313

Method SEND_MAIL on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method START_TESTS Signature

Method START_TESTS on class CL_CNV_MBT_UNITTEST_RUNNER has no parameter.
Method START_TESTS on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.

Method UPDATE_RESULT_ID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IS_CASE Call by reference Type reference (TYPE) CNV_MBT_UT_CASES Unit test cases 20130227

Method UPDATE_RESULT_ID on class CL_CNV_MBT_UNITTEST_RUNNER has no exception.
History
Last changed by/on SAP  20141030 
SAP Release Created in 2010_1_620