Hierarchy
⤷
⤷
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 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | 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 | Constant | Public | Type reference (TYPE) | CNV_MBT_UNITTEST_OBJTYPE | 'CLAS' | Object type for Unittest Runner | 20130107 | ||
| 2 | Constant | Public | Type reference (TYPE) | CNV_MBT_UNITTEST_OBJTYPE | 'FUGR' | Object type for Unittest Runner | 20130107 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | BTCJOB | 'CNV_MBT_UNITTEST_RUNNER' | Background job name of unittest runner | 20140313 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | BTCJOB | 'CNV_MBT_UNITTEST_WATCHDOG' | Background job name of unittest watchdog | 20140313 | ||
| 5 | Constant | Public | Type reference (TYPE) | CNV_MBT_UNITTEST_OBJTYPE | 'PROG' | Object type for Unittest Runner | 20130107 | ||
| 6 | Instance attribute | Protected | Type reference (TYPE) | BAL_R_PROG | Range of development classes | 20130107 | |||
| 7 | Instance attribute | Protected | Type reference (TYPE) | BAL_R_PROG | Range of Object names | 20130107 | |||
| 8 | Instance attribute | Protected | Type reference (TYPE) | BAL_R_PROG | Range of Test Classes | 20130107 | |||
| 9 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20131106 | |||
| 10 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_GUI_ALV_GRID | ALV List Viewer | 20131106 | |||
| 11 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_UT_CASES | Unit test cases | 20131106 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_UNITTEST_T_UT_CASES | Table of Unit Test Cases | 20130109 | |||
| 13 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_UNITTEST_T_RESULT | Table of History Results | 20130702 | |||
| 14 | Instance attribute | Protected | Type reference (TYPE) | CNV_MBT_UNITTEST_T_RESULT | Table of Unit Test Results | 20130110 | |||
| 15 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Whether the test cases have been selected | 20130702 | |||
| 16 | Instance attribute | Protected | Type reference (TYPE) | FLAG | Consider excluded objects | 20130107 | |||
| 17 | Instance attribute | Protected | Type reference (TYPE) | TROBJTYPE | Object Type | 20130227 | |||
| 18 | Instance attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Whether the test results have been selected | 20130702 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | SYUNAME | Execution user | 20130805 |
Methods
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 | IV_JOBCOUNT | Call by reference | Type reference (TYPE) | BTCJOBCNT | Job count of the crashed job | 20140313 | |||
| 2 | IV_START_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Date on which the test run initially started | 20140313 | |||
| 3 | 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 | IV_EXCLUDE | Call by reference | Type reference (TYPE) | CNV_NOT | Exclusion from conversion indication | 20131106 | |||
| 2 | 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 | IRA_DEVCL | Call by reference | Type reference (TYPE) | BAL_R_PROG | Range of development classes | 20130107 | |||
| 2 | IRA_ONAME | Call by reference | Type reference (TYPE) | BAL_R_PROG | Range of Object names | 20130107 | |||
| 3 | IRA_TCLAS | Call by reference | Type reference (TYPE) | BAL_R_PROG | Range of Test Classes | 20130107 | |||
| 4 | IV_CEXCL | Call by reference | Type reference (TYPE) | FLAG | SPACE | Consider excluded objects | 20130107 | ||
| 5 | 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 | IR_CONTAINER_ALV | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20130110 | |||
| 2 | IV_RESULT_ID | Call by reference | Type reference (TYPE) | CNV_MBT_UNITTEST_RESULT_ID | Unit Test Result ID | 20130111 | |||
| 3 | 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 | 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 | IR_CONTAINER_ALV | Call by reference | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Abstract Container for GUI Controls | 20130702 | |||
| 2 | IS_CASE | Call by reference | Type reference (TYPE) | CNV_MBT_UT_CASES | Unit test cases | 20130702 | |||
| 3 | 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 | IV_LINE | Call by reference | Type reference (TYPE) | I | Index | 20130227 | |||
| 2 | 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 | 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 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name | 20140313 | |||
| 2 | IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CNV_MBT_UNITTEST_OBJTYPE | Object type | 20140313 | |||
| 3 | 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 | 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 | 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 | 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 | RV_LINE | Value transfer | Type reference (TYPE) | I | Selected line | 20140410 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No line selected | 20140410 |
Method GET_TADIR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_DEVCLASS | Call by reference | Type reference (TYPE) | DEVCLASS | Development Class | 20130107 | |||
| 2 | EV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | CNV_MBT_UNITTEST_OBJTYPE | Object type for Unittest Runner | 20130107 | |||
| 3 | IV_OBJECT_NAME | Call by reference | Type reference (TYPE) | SOBJ_NAME | Object Name in Object Directory | 20130107 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | IV_EMAIL | Call by reference | Type reference (TYPE) | ADR6-SMTP_ADDR | E-Mail Address | 20140313 | |||
| 2 | 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 | IV_LAST_N_RESULTS | Call by reference | Type reference (TYPE) | INT4 | Number of last results | 20130805 | |||
| 2 | IV_UNAME | Call by reference | Type reference (TYPE) | UNAME | SY-UNAME | User Name | 20130805 | ||
| 3 | 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 | 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 | E_COLUMN | Value transfer | Attribute reference (LIKE) | 20130702 | |||||
| 2 | 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 | E_COLUMN | Value transfer | Attribute reference (LIKE) | Spaltenname | 20130702 | ||||
| 2 | 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 | 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 | IV_START_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Date on which the test run initially started | 20140313 | |||
| 2 | IV_START_TIME | Call by reference | Type reference (TYPE) | SYUZEIT | Time on which the test run initially started | 20140313 | |||
| 3 | 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 | 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 | IV_LINE | Call by reference | Type reference (TYPE) | LVC_INDEX | Index | 20140313 | |||
| 2 | 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 | IV_START_DATE | Call by reference | Type reference (TYPE) | SYDATUM | Date on which the test run initially started | 20140313 | |||
| 2 | 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 | IS_RESULT | Call by reference | Type reference (TYPE) | CNV_MBT_ABAPUNIT_RES | 20140313 | ||||
| 2 | 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 | 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 |