Class ZCL_JKRT_TEST
Package
ZJK_REG_TEST
- Inheritance Hierarchy
-
-
ZCL_JKRT_OBJECT-
ZCL_JKRT_TEST
-
-
- Included interfaces
-
ZIF_JK_BG_RUNNABLE
Test (Regression Testing)
Methods Summary
| Visibility | Level | Name | Description |
|---|---|---|---|
Public
|
Static
|
CREATE | Creates a new test instance |
Public
|
Instance
|
DISPLAY_COMPARISON | Display output comparison |
Public
|
Instance
|
DOWNLOAD_ACTUAL | Download actual output |
Public
|
Instance
|
DOWNLOAD_EXPECTED | Download expected output |
Public
|
Instance
|
EXECUTE | Executes the test |
Public
|
Static
|
FIND | Finds a test by ID |
Public
|
Instance
|
GET_ACT_OUTPUT | Gets actual output |
Public
|
Instance
|
GET_CASE | Get Test Case |
Public
|
Instance
|
GET_CASE_ID | Gets case ID |
Public
|
Instance
|
GET_CHANGED_BY | Returns the name of the user who changed the object |
Public
|
Instance
|
GET_DATA | Get Data |
Public
|
Instance
|
GET_DESCRIPTION | Get test case description |
Public
|
Instance
|
GET_EXEC_TIME | Gets execution time |
Public
|
Instance
|
GET_EXP_OUTPUT | Gets expected output |
Public
|
Instance
|
GET_ID | Returns the result's ID |
Public
|
Instance
|
GET_MESSAGE | Gets result message |
Public
|
Instance
|
GET_RESULT | Get the result code |
Public
|
Instance
|
GET_RESULT_ICON | |
Public
|
Instance
|
GET_TEXT | Returns the result's text description |
Public
|
Instance
|
GET_USR_COMMENT | Gets user's comment |
Public
|
Static
|
LOAD_FOR_RUN | Load all tests belonging to a run |
Public
|
Instance
|
SET_ACT_OUTPUT | Sets actual output |
Public
|
Instance
|
SET_CHANGED_BY | Sets the user who changed the object |
Public
|
Instance
|
SET_DESCRIPTION | Sets description |
Public
|
Instance
|
SET_EXP_OUTPUT | Sets expected output |
Public
|
Instance
|
SET_MESSAGE | Sets result message |
Public
|
Instance
|
SET_RESULT | Sets result code |
Public
|
Instance
|
SET_USR_COMMENT | Sets user's comment |
Public
|
Instance
|
UPDATE_STATUS | Updates test result and message |
Private
|
Instance
|
GET_COMPARE_VIEW | |
Private
|
Static
|
LOAD | Load |
Private
|
Instance
|
LOAD_ACTUAL_OUTPUT | |
Private
|
Instance
|
LOAD_EXPECTED_OUTPUT | |
Private
|
Instance
|
SET_CASE | Sets case |
Private
|
Instance
|
SET_RUN | Sets run |
Public
|
Static
|
ZIF_JK_BG_RUNNABLE~FIND | Deseralizes an object and returns an instance |
Public
|
Instance
|
ZIF_JK_BG_RUNNABLE~GET_KEY | Get object serialization key |
Public
|
Instance
|
ZIF_JK_BG_RUNNABLE~GET_TIMEOUT | Returns timeout value (seconds) |
Public
|
Instance
|
ZIF_JK_BG_RUNNABLE~ON_ERROR | Error occurred |
Public
|
Instance
|
ZIF_JK_BG_RUNNABLE~ON_TIMEOUT | Timeout occurred |
Public
|
Instance
|
ZIF_JK_BG_RUNNABLE~RUN | Runs the task |
Public
|
Instance
|
ZIF_JK_BG_RUNNABLE~SET_RUNTIME | Sets execution time (ms) |
| 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 |
|---|---|---|---|
Public
|
Constant
|
RESULT_ERROR | Byte value |
Public
|
Constant
|
RESULT_FAILED | Byte value |
Public
|
Constant
|
RESULT_NOT_TESTED | Byte value |
Public
|
Constant
|
RESULT_PASSED | Byte value |
Public
|
Constant
|
RESULT_TIMEOUT | Byte Value |
Private
|
Instance
|
AO_ACT_OUTPUT | Action Output (Regression Testing) |
Private
|
Instance
|
AO_CASE | Test Case (Regression Testing) |
Private
|
Instance
|
AO_EXP_OUTPUT | Action Output (Regression Testing) |
Private
|
Instance
|
AO_RUN | Test Run (Regression Testing) |
Private
|
Instance
|
AS_DATA | Test (Regression Testing) |
Method Detail
-
CREATE
Public Static CREATE
Creates a new test instance- Parameters
- Importing
IO_RUNTYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing) - Importing
IO_CASETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing) - Returning
RO_VALUETYPE REF TOZCL_JKRT_TEST- Test (Regression Testing)
-
DISPLAY_COMPARISON
Public Instance DISPLAY_COMPARISON
Display output comparison
-
DOWNLOAD_ACTUAL
Public Instance DOWNLOAD_ACTUAL
Download actual output- Parameters
- Importing
IV_DIRECTORYTYPECLIKE
-
DOWNLOAD_EXPECTED
Public Instance DOWNLOAD_EXPECTED
Download expected output- Parameters
- Importing
IV_DIRECTORYTYPECLIKE
-
EXECUTE
Public Instance EXECUTE
Executes the test- Parameters
- Importing
IV_SAVE_SAME_OUTPUTTYPEBOOLE_DOPTIONAL - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
FIND
Public Static FIND
Finds a test by ID- Parameters
- Importing
IS_IDTYPEZJKRT_S_TEST_ID- Test ID - Returning
RO_TESTTYPE REF TOZCL_JKRT_TEST- Test (Regression Testing) - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
GET_ACT_OUTPUT
Public Instance GET_ACT_OUTPUT
Gets actual output- Parameters
- Returning
RO_VALUETYPE REF TOZCL_JKRT_OUTPUT- Action Output (Regression Testing)
-
GET_CASE
Public Instance GET_CASE
Get Test Case- Parameters
- Returning
RO_VALUETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing) - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
GET_CASE_ID
Public Instance GET_CASE_ID
Gets case ID- Parameters
- Returning
RV_VALUETYPEZJKRT_DT_CASE_ID- Test Case ID (Regression Testing)
-
GET_CHANGED_BY
Public Instance GET_CHANGED_BY
Returns the name of the user who changed the object- Parameters
- Returning
RV_VALUETYPEUNAM- Last changed by
-
GET_DATA
Public Instance GET_DATA
Get Data- Parameters
- Returning
OS_DATATYPEZJKRT_TEST- Test Result (Regression Testing)
-
GET_DESCRIPTION
Public Instance GET_DESCRIPTION
Get test case description- Parameters
- Returning
RV_VALUETYPESTRING
-
GET_EXEC_TIME
Public Instance GET_EXEC_TIME
Gets execution time- Parameters
- Returning
RV_VALUETYPEMEREP_RUNTIME_MS- Execution Time in Milliseconds
-
GET_EXP_OUTPUT
Public Instance GET_EXP_OUTPUT
Gets expected output- Parameters
- Returning
RO_VALUETYPE REF TOZCL_JKRT_OUTPUT- Action Output (Regression Testing) - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
GET_ID
Public Instance GET_ID
Returns the result's ID- Parameters
- Returning
RS_VALUETYPEZJKRT_S_TEST_ID- Test ID
-
GET_MESSAGE
Public Instance GET_MESSAGE
Gets result message- Parameters
- Returning
RV_VALUETYPESTRING
-
GET_RESULT
Public Instance GET_RESULT
Get the result code- Parameters
- Returning
RV_VALUETYPEZJKRT_DT_RESULT- Test Result (Regression Testing)
-
GET_RESULT_ICON
Public Instance GET_RESULT_ICON
- Parameters
- Returning
RV_VALUETYPEICON_D- Icon in text fields (substitute display, alias)
-
GET_TEXT
Public Instance GET_TEXT
Returns the result's text description- Parameters
- Returning
RV_VALUETYPESTRING
-
GET_USR_COMMENT
Public Instance GET_USR_COMMENT
Gets user's comment- Parameters
- Returning
RV_VALUETYPESTRING
-
LOAD_FOR_RUN
Public Static LOAD_FOR_RUN
Load all tests belonging to a run- Parameters
- Importing
IO_RUNTYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing)
-
SET_ACT_OUTPUT
Public Instance SET_ACT_OUTPUT
Sets actual output- Parameters
- Importing
IO_VALUETYPE REF TOZCL_JKRT_OUTPUT- Action Output (Regression Testing)
-
SET_CHANGED_BY
Public Instance SET_CHANGED_BY
Sets the user who changed the object- Parameters
- Importing
IV_VALUETYPECSEQUENCE
-
SET_DESCRIPTION
Public Instance SET_DESCRIPTION
Sets description- Parameters
- Importing
IV_VALUETYPECSEQUENCE
-
SET_EXP_OUTPUT
Public Instance SET_EXP_OUTPUT
Sets expected output- Parameters
- Importing
IO_VALUETYPE REF TOZCL_JKRT_OUTPUT- Action Output (Regression Testing)
-
SET_MESSAGE
Public Instance SET_MESSAGE
Sets result message- Parameters
- Importing
IV_VALUETYPECSEQUENCE
-
SET_RESULT
Public Instance SET_RESULT
Sets result code- Parameters
- Importing
IV_VALUETYPEZJKRT_DT_RESULT- Test Result (Regression Testing)
-
SET_USR_COMMENT
Public Instance SET_USR_COMMENT
Sets user's comment- Parameters
- Importing
IV_VALUETYPECSEQUENCE
-
UPDATE_STATUS
Public Instance UPDATE_STATUS
Updates test result and message
-
GET_COMPARE_VIEW
Private Instance GET_COMPARE_VIEW
- Parameters
- Returning
RO_VIEWTYPE REF TOZCL_JKRT_COMPARE_VIEW- Output Comparison View
-
LOAD
Private Static LOAD
Load- Parameters
- Importing
IS_TESTTYPEZJKRT_TEST- Test (Regression Testing) - Returning
RO_VALUETYPE REF TOZCL_JKRT_TEST- Test (Regression Testing)
-
LOAD_ACTUAL_OUTPUT
Private Instance LOAD_ACTUAL_OUTPUT
-
LOAD_EXPECTED_OUTPUT
Private Instance LOAD_EXPECTED_OUTPUT
-
SET_CASE
Private Instance SET_CASE
Sets case- Parameters
- Importing
IO_VALUETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing)
-
SET_RUN
Private Instance SET_RUN
Sets run- Parameters
- Importing
IO_VALUETYPE REF TOZCL_JKRT_RUN- Test Run (Regression Testing)
-
ZIF_JK_BG_RUNNABLE~FIND
Public Static ZIF_JK_BG_RUNNABLE~FIND
Deseralizes an object and returns an instance- Parameters
- Importing
I_KEYTYPECLIKE - Returning
R_OBJECTTYPE REF TOZIF_JK_BG_RUNNABLE- Object runnable in background task - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
ZIF_JK_BG_RUNNABLE~GET_KEY
Public Instance ZIF_JK_BG_RUNNABLE~GET_KEY
Get object serialization key- Parameters
- Returning
R_VALUETYPESTRING
-
ZIF_JK_BG_RUNNABLE~GET_TIMEOUT
Public Instance ZIF_JK_BG_RUNNABLE~GET_TIMEOUT
Returns timeout value (seconds)- Parameters
- Returning
R_VALUETYPEZJK_DT_TIMEOUT- Timeout (sec)
-
ZIF_JK_BG_RUNNABLE~ON_ERROR
Public Instance ZIF_JK_BG_RUNNABLE~ON_ERROR
Error occurred- Parameters
- Importing
I_MSGTYPECLIKE
-
ZIF_JK_BG_RUNNABLE~ON_TIMEOUT
Public Instance ZIF_JK_BG_RUNNABLE~ON_TIMEOUT
Timeout occurred- Parameters
- Importing
I_MSGTYPECLIKE
-
ZIF_JK_BG_RUNNABLE~RUN
Public Instance ZIF_JK_BG_RUNNABLE~RUN
Runs the task
-
ZIF_JK_BG_RUNNABLE~SET_RUNTIME
Public Instance ZIF_JK_BG_RUNNABLE~SET_RUNTIME
Sets execution time (ms)- Parameters
- Importing
I_VALUETYPEI
-
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
-
RESULT_ERROR
Public Constant RESULT_ERROR TYPE INT1 VALUE 3
Byte value
-
RESULT_FAILED
Public Constant RESULT_FAILED TYPE INT1 VALUE 2
Byte value
-
RESULT_NOT_TESTED
Public Constant RESULT_NOT_TESTED TYPE INT1 VALUE 0
Byte value
-
RESULT_PASSED
Public Constant RESULT_PASSED TYPE INT1 VALUE 1
Byte value
-
RESULT_TIMEOUT
Public Constant RESULT_TIMEOUT TYPE INT1 VALUE 4
Byte Value
-
AO_ACT_OUTPUT
Private Instance AO_ACT_OUTPUT TYPE REF TO ZCL_JKRT_OUTPUT
Action Output (Regression Testing)
-
AO_CASE
Private Instance AO_CASE TYPE REF TO ZCL_JKRT_CASE
Test Case (Regression Testing)
-
AO_EXP_OUTPUT
Private Instance AO_EXP_OUTPUT TYPE REF TO ZCL_JKRT_OUTPUT
Action Output (Regression Testing)
-
AO_RUN
Private Instance AO_RUN TYPE REF TO ZCL_JKRT_RUN
Test Run (Regression Testing)
-
AS_DATA
Private Instance AS_DATA TYPE ZJKRT_TEST
Test (Regression Testing)