Class ZCL_JKRT_RUN
Package
ZJK_REG_TEST
- Inheritance Hierarchy
-
-
ZCL_JKRT_OBJECT-
ZCL_JKRT_RUN
-
-
- Included interfaces
-
ZIF_JK_AUTHORIZABLE,ZIF_JK_LOCKABLE
Test Run (Regression Testing)
Methods Summary
| Visibility | Level | Name | Description |
|---|---|---|---|
Public
|
Static
|
CREATE_FOR_CASE | Creates Test Run for a Case |
Public
|
Static
|
CREATE_FOR_SUITE | Creates Test Run for a Suite |
Public
|
Instance
|
EXECUTE | Executes all tests of the run (parallel) |
Public
|
Static
|
EXISTS_FOR_CASE | Returns 'X' if a run exists for a case |
Public
|
Static
|
EXISTS_FOR_SUITE | Returns 'X' if a run exists for a suite |
Public
|
Static
|
FIND | Finds a run by ID |
Public
|
Static
|
FIND_FOR_CASE | Finds runs for a case |
Public
|
Static
|
FIND_FOR_SUITE | Finds runs for a suite |
Public
|
Instance
|
GET_CREATE_DATE | Gets the run creation date |
Public
|
Instance
|
GET_CREATE_TIME | Gets the run creation time |
Public
|
Instance
|
GET_CREATOR | Gets the run creator name |
Public
|
Instance
|
GET_DATA | Get Data |
Public
|
Instance
|
GET_EXEC_TIME | Gets total tests execution time |
Public
|
Instance
|
GET_ID | Returns Run ID |
Public
|
Instance
|
GET_STATS | Returns the run statistics (tests failed, passed, dumps) |
Public
|
Instance
|
GET_TESTS | Get all tests |
Public
|
Instance
|
MARK_PROCESSED | Sets the run's status to "processed" |
Public
|
Instance
|
MARK_PROCESSING | Sets the run's status to "processing" |
Public
|
Instance
|
RELOAD_TESTS | Reloads tests from the database |
Public
|
Instance
|
SET_DESCRIPTION | Set Description |
Public
|
Instance
|
UPDATE_STATUS | Updates processing status of the run |
Private
|
Instance
|
ADD_TEST | Adds a test to the run |
Private
|
Static
|
CREATE_NEW | Creates a new Test Run |
Private
|
Instance
|
LOAD | Loads run data from the database |
Private
|
Instance
|
LOCK_OBJECT | |
Private
|
Instance
|
ON_PROGRESS | Progress indicator |
Private
|
Instance
|
SET_AREA | Sets the application area of this run |
Private
|
Instance
|
SET_CASE | |
Private
|
Instance
|
SET_SUITE | |
Private
|
Instance
|
UNLOCK_OBJECT | |
Public
|
Instance
|
ZIF_JK_AUTHORIZABLE~AUTHORIZE | Authorize activity on the object |
Public
|
Instance
|
ZIF_JK_LOCKABLE~LOCK | Locks the object |
Public
|
Instance
|
ZIF_JK_LOCKABLE~UNLOCK | Unlocks the object |
| Methods inherited from ZCL_JKRT_OBJECT | |||
| Visibility | Level | Name | Description |
Public
|
Instance
|
COPY | Copies the object |
Public
|
Instance
|
DELETE | Deletes the object from the database |
Public
|
Instance
|
INSERT | Inserts the object into the database |
Public
|
Instance
|
IS_CLEAN | Checks if the object is clean (not modified) |
Public
|
Instance
|
IS_DELETED | Checks if the object is deleted |
Public
|
Instance
|
IS_DIRTY | Checks if the object is dirty (modified) |
Public
|
Instance
|
IS_LOADING | Returns 'X' if object is being loaded |
Public
|
Instance
|
IS_NEW | Checks if the object is new |
Public
|
Instance
|
RELOAD | Reloads object from the database |
Public
|
Instance
|
SAVE | Saves the object in the database |
Public
|
Instance
|
UPDATE | Updates the object in the database |
Protected
|
Instance
|
MARK_CLEAN | Marks the object as clean (not modified) |
Protected
|
Instance
|
MARK_DELETED | Marks the object as deleted |
Protected
|
Instance
|
MARK_DIRTY | Marks the object as dirty (modified) |
Protected
|
Instance
|
MARK_LOADED | Marks object as loaded |
Protected
|
Instance
|
MARK_LOADING | Marks object as being loaded |
Protected
|
Instance
|
MARK_NEW | Marks the object as new |
Attributes Summary
| Visibility | Level | Name | Description |
|---|---|---|---|
Private
|
Instance
|
AREA | Test Case Application Area |
Private
|
Instance
|
AS_DATA | Test Run (Regression Testing) |
Private
|
Instance
|
AT_TESTS | Table of test objects |
Private
|
Instance
|
CASE | Test Case (Regression Testing) |
Private
|
Instance
|
SUITE | Test Suite (Regression Testing) |
Public
|
Constant
|
ZIF_JK_AUTHORIZABLE~AC_CHANGE | Activity |
Public
|
Constant
|
ZIF_JK_AUTHORIZABLE~AC_COPY | Activity |
Public
|
Constant
|
ZIF_JK_AUTHORIZABLE~AC_CREATE | Activity |
Public
|
Constant
|
ZIF_JK_AUTHORIZABLE~AC_DELETE | Activity |
Public
|
Constant
|
ZIF_JK_AUTHORIZABLE~AC_DISPLAY | Activity |
Public
|
Constant
|
ZIF_JK_AUTHORIZABLE~AC_EXECUTE | Activity |
Method Detail
-
CREATE_FOR_CASE
Public Static CREATE_FOR_CASE
Creates Test Run for a Case- Parameters
- Importing
IO_CASETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing) - Returning
RO_VALUETYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing)
-
CREATE_FOR_SUITE
Public Static CREATE_FOR_SUITE
Creates Test Run for a Suite- Parameters
- Importing
IO_SUITETYPE REF TOZCL_JKRT_SUITE- Test Suite (Regression Testing) - Returning
RO_VALUETYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing)
-
EXECUTE
Public Instance EXECUTE
Executes all tests of the run (parallel)- Parameters
- Importing
I_MAX_WPTYPEIDEFAULT 5 - Importing
I_SERVER_GROUPTYPESPTA_RFCGR- Server Group for Parallel Processing - Exceptions
- ZCX_JK_NOT_AUTHORIZED
- ZCX_JK_OBJ_LOCK_FAILURE
- ZCX_JK_TASK_MANAGER
-
EXISTS_FOR_CASE
Public Static EXISTS_FOR_CASE
Returns 'X' if a run exists for a case- Parameters
- Importing
IV_CASE_IDTYPEZJKRT_DT_CASE_ID- Test Case ID (Regression Testing) - Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
EXISTS_FOR_SUITE
Public Static EXISTS_FOR_SUITE
Returns 'X' if a run exists for a suite- Parameters
- Importing
IV_SUITE_IDTYPEZJKRT_DT_SUITE_ID- Test Suite ID (Regression Testing) - Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
FIND
Public Static FIND
Finds a run by ID- Parameters
- Importing
IV_IDTYPEZJKRT_DT_RUN_ID- Test run ID - Returning
RO_RUNTYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing) - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
FIND_FOR_CASE
Public Static FIND_FOR_CASE
Finds runs for a case- Parameters
- Importing
IV_CASE_IDTYPEZJKRT_DT_CASE_ID- Test Case ID (Regression Testing) - Returning
RT_RUNSTYPEZJKRT_TT_RUN_COL- Run Table
-
FIND_FOR_SUITE
Public Static FIND_FOR_SUITE
Finds runs for a suite- Parameters
- Importing
IV_SUITE_IDTYPEZJKRT_DT_SUITE_ID- Test Suite ID (Regression Testing) - Returning
RT_RUNSTYPEZJKRT_TT_RUN_COL- Table of run objects
-
GET_CREATE_DATE
Public Instance GET_CREATE_DATE
Gets the run creation date- Parameters
- Returning
RV_VALUETYPECREATEDATE- Date on Which the Record was Created
-
GET_CREATE_TIME
Public Instance GET_CREATE_TIME
Gets the run creation time- Parameters
- Returning
RV_VALUETYPECREATETIME- Time created
-
GET_CREATOR
Public Instance GET_CREATOR
Gets the run creator name- Parameters
- Returning
RV_VALUETYPEERNAME- Entered by external system user
-
GET_DATA
Public Instance GET_DATA
Get Data- Parameters
- Returning
OS_DATATYPEZJKRT_RUN- Test Run (Regression Testing)
-
GET_EXEC_TIME
Public Instance GET_EXEC_TIME
Gets total tests execution time- Parameters
- Returning
RV_VALUETYPEMEREP_RUNTIME_MS- Execution Time in Milliseconds
-
GET_ID
Public Instance GET_ID
Returns Run ID- Parameters
- Returning
RV_VALUETYPEZJKRT_DT_RUN_ID- Test run ID
-
GET_STATS
Public Instance GET_STATS
Returns the run statistics (tests failed, passed, dumps)- Parameters
- Returning
RS_STATSTYPEZJKRT_S_RUN_STATS- Run Statistics
-
GET_TESTS
Public Instance GET_TESTS
Get all tests- Parameters
- Returning
RT_VALUETYPEZJKRT_TT_TEST_COL- Test Results Table (Regression Testing)
-
MARK_PROCESSED
Public Instance MARK_PROCESSED
Sets the run's status to "processed"
-
MARK_PROCESSING
Public Instance MARK_PROCESSING
Sets the run's status to "processing"
-
RELOAD_TESTS
Public Instance RELOAD_TESTS
Reloads tests from the database
-
SET_DESCRIPTION
Public Instance SET_DESCRIPTION
Set Description- Parameters
- Importing
IV_VALUETYPECSEQUENCE- Description
-
UPDATE_STATUS
Public Instance UPDATE_STATUS
Updates processing status of the run
-
ADD_TEST
Private Instance ADD_TEST
Adds a test to the run- Parameters
- Importing
IO_TESTTYPE REF TOZCL_JKRT_TEST- Test (Regression Testing)
-
CREATE_NEW
Private Static CREATE_NEW
Creates a new Test Run- Parameters
- Returning
RO_VALUETYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing)
-
LOAD
Private Instance LOAD
Loads run data from the database- Parameters
- Importing
IS_DATATYPEZJKRT_RUN- Test Run (Regression Testing)
-
LOCK_OBJECT
Private Instance LOCK_OBJECT
- Exceptions
- ZCX_JK_OBJ_LOCK_FAILURE
-
ON_PROGRESS
Private Instance ON_PROGRESS
Progress indicator- Parameters
- Importing
I_INDEXLIKE - Importing
I_TOTALLIKE - Importing
I_PERCENTLIKE - Importing
I_OBJ_KEYLIKE
-
SET_AREA
Private Instance SET_AREA
Sets the application area of this run- Parameters
- Importing
IO_AREATYPE REF TOZCL_JKRT_AREA
-
SET_CASE
Private Instance SET_CASE
- Parameters
- Importing
IO_CASETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing)
-
SET_SUITE
Private Instance SET_SUITE
- Parameters
- Importing
IO_SUITETYPE REF TOZCL_JKRT_SUITE- Test Suite (Regression Testing)
-
UNLOCK_OBJECT
Private Instance UNLOCK_OBJECT
-
ZIF_JK_AUTHORIZABLE~AUTHORIZE
Public Instance ZIF_JK_AUTHORIZABLE~AUTHORIZE
Authorize activity on the object- Parameters
- Importing
IV_ACTIVITYTYPEACTIV_AUTH- Activity - Exceptions
- ZCX_JK_NOT_AUTHORIZED
-
ZIF_JK_LOCKABLE~LOCK
Public Instance ZIF_JK_LOCKABLE~LOCK
Locks the object- Parameters
- Importing
IV_MODETYPEENQMODEOPTIONAL DEFAULT 'S' - Lock mode - Importing
IV_SCOPETYPEDDENQSCOPEDEFAULT '2' - Lock scope - Exceptions
- ZCX_JK_OBJ_LOCK_FAILURE
-
ZIF_JK_LOCKABLE~UNLOCK
Public Instance ZIF_JK_LOCKABLE~UNLOCK
Unlocks the object- Parameters
- Importing
IV_MODETYPEENQMODEDEFAULT 'S' - Lock mode
-
COPY
Public Instance COPY
Copies the object- Parameters
- Importing
IA_IDTYPEANYOPTIONAL - Returning
RO_VALUETYPE REF TOZCL_JKRT_OBJECT- Regression Testing Persistent Object
-
DELETE
Public Instance Abstract DELETE
Deletes the object from the database
-
INSERT
Public Instance Abstract INSERT
Inserts the object into the database
-
IS_CLEAN
Public Instance IS_CLEAN
Checks if the object is clean (not modified)- Parameters
- Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
IS_DELETED
Public Instance IS_DELETED
Checks if the object is deleted- Parameters
- Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
IS_DIRTY
Public Instance IS_DIRTY
Checks if the object is dirty (modified)- Parameters
- Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
IS_LOADING
Public Instance IS_LOADING
Returns 'X' if object is being loaded- Parameters
- Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
IS_NEW
Public Instance IS_NEW
Checks if the object is new- Parameters
- Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
RELOAD
Public Instance RELOAD
Reloads object from the database
-
SAVE
Public Instance SAVE
Saves the object in the database
-
UPDATE
Public Instance Abstract UPDATE
Updates the object in the database
-
MARK_CLEAN
Protected Instance MARK_CLEAN
Marks the object as clean (not modified)
-
MARK_DELETED
Protected Instance MARK_DELETED
Marks the object as deleted
-
MARK_DIRTY
Protected Instance MARK_DIRTY
Marks the object as dirty (modified)
-
MARK_LOADED
Protected Instance MARK_LOADED
Marks object as loaded
-
MARK_LOADING
Protected Instance MARK_LOADING
Marks object as being loaded
-
MARK_NEW
Protected Instance MARK_NEW
Marks the object as new
Attribute Detail
-
AREA
Private Instance AREA TYPE REF TO ZCL_JKRT_AREA
Test Case Application Area
-
AS_DATA
Private Instance AS_DATA TYPE ZJKRT_RUN
Test Run (Regression Testing)
-
AT_TESTS
Private Instance AT_TESTS TYPE ZJKRT_TT_TEST_COL
Table of test objects
-
CASE
Private Instance CASE TYPE REF TO ZCL_JKRT_CASE
Test Case (Regression Testing)
-
SUITE
Private Instance SUITE TYPE REF TO ZCL_JKRT_SUITE
Test Suite (Regression Testing)
-
ZIF_JK_AUTHORIZABLE~AC_CHANGE
Public Constant ZIF_JK_AUTHORIZABLE~AC_CHANGE TYPE ACTIV_AUTH VALUE '02'
Activity
-
ZIF_JK_AUTHORIZABLE~AC_COPY
Public Constant ZIF_JK_AUTHORIZABLE~AC_COPY TYPE ACTIV_AUTH VALUE '90'
Activity
-
ZIF_JK_AUTHORIZABLE~AC_CREATE
Public Constant ZIF_JK_AUTHORIZABLE~AC_CREATE TYPE ACTIV_AUTH VALUE '01'
Activity
-
ZIF_JK_AUTHORIZABLE~AC_DELETE
Public Constant ZIF_JK_AUTHORIZABLE~AC_DELETE TYPE ACTIV_AUTH VALUE '06'
Activity
-
ZIF_JK_AUTHORIZABLE~AC_DISPLAY
Public Constant ZIF_JK_AUTHORIZABLE~AC_DISPLAY TYPE ACTIV_AUTH VALUE '03'
Activity
-
ZIF_JK_AUTHORIZABLE~AC_EXECUTE
Public Constant ZIF_JK_AUTHORIZABLE~AC_EXECUTE TYPE ACTIV_AUTH VALUE '16'
Activity