Class ZCL_JKRT_SUITE
Package
ZJK_REG_TEST
- Inheritance Hierarchy
-
-
ZCL_JKRT_OBJECT-
ZCL_JKRT_SUITE
-
-
- Included interfaces
-
ZIF_JK_AUTHORIZABLE,ZIF_JK_LOCKABLE
Test Suite (Regression Testing)
Methods Summary
| Visibility | Level | Name | Description |
|---|---|---|---|
Public
|
Instance
|
ADD_CASE | Adds a new test case |
Public
|
Instance
|
CONTAINS | Checks if a case is part of the suite |
Public
|
Static
|
CREATE | Create New Test Suite |
Public
|
Static
|
EXISTS | Checks if a test suite exists in the database |
Public
|
Static
|
FIND | Searches for a suite in the registry or the databse |
Public
|
Static
|
FIND_FOR_CASE | Finds all suites using a specified case |
Public
|
Instance
|
GET_AREA | Returns the application area of this suite |
Public
|
Instance
|
GET_CASES | Get Test Cases |
Public
|
Instance
|
GET_DATA | Get Data |
Public
|
Instance
|
GET_ID | Get ID |
Public
|
Instance
|
GET_PENDING_REQUESTS | Gets pending output requests |
Public
|
Instance
|
HAS_CASES | Returns 'X' if the suite has at least one case |
Public
|
Instance
|
REMOVE_CASE | Removes a case from the suite |
Public
|
Instance
|
SET_DESCRIPTION | Set Description |
Private
|
Static
|
LOAD | Load Test Suite from DB |
Private
|
Instance
|
LOAD_CASES | Loads cases |
Private
|
Instance
|
LOCK_CASES | Locks the suite's cases |
Private
|
Instance
|
SAVE_CASES | Saves test cases |
Private
|
Instance
|
SAVE_RELATIONS | Save Suite-Cases Relations |
Private
|
Instance
|
SET_AREA | Sets the application area for this suite |
Private
|
Instance
|
UNLOCK_CASES | Unlocks the suite's cases |
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 Suite (Regression Testing) |
Private
|
Instance
|
AT_CASES | Test Cases Table (Regression Testing) |
Private
|
Instance
|
AV_CASES_LOADED | Data element for domain BOOLE: TRUE (='X') and FALSE (=' ') |
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
-
ADD_CASE
Public Instance ADD_CASE
Adds a new test case- Parameters
- Importing
IO_CASETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing)
-
CONTAINS
Public Instance CONTAINS
Checks if a case is part of the suite- Parameters
- Importing
IO_CASETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing) - Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
CREATE
Public Static CREATE
Create New Test Suite- Parameters
- Importing
IV_IDTYPEZJKRT_DT_SUITE_ID- Test Suite ID (Regression Testing) - Importing
IO_AREATYPE REF TOZCL_JKRT_AREA- Test Case Application Area - Returning
RO_VALUETYPE REF TOZCL_JKRT_SUITE- Test Suite (Regression Testing)
-
EXISTS
Public Static EXISTS
Checks if a test suite exists in the database- Parameters
- Importing
IV_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
Searches for a suite in the registry or the databse- Parameters
- Importing
IV_IDTYPEZJKRT_DT_SUITE_ID- Test Suite ID (Regression Testing) - Returning
RO_VALUETYPE REF TOZCL_JKRT_SUITE- Test Suite (Regression Testing) - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
FIND_FOR_CASE
Public Static FIND_FOR_CASE
Finds all suites using a specified case- Parameters
- Importing
IV_CASE_IDTYPEZJKRT_DT_CASE_ID- Test Case ID (Regression Testing) - Returning
RT_SUITESTYPEZJKRT_TT_SUITE_COL- Table of suites (objects)
-
GET_AREA
Public Instance GET_AREA
Returns the application area of this suite- Parameters
- Returning
RO_AREATYPE REF TOZCL_JKRT_AREA- Test Case Application Area
-
GET_CASES
Public Instance GET_CASES
Get Test Cases- Parameters
- Returning
RT_VALUETYPEZJKRT_TT_CASE_COL- Test Cases Table (Regression Testing)
-
GET_DATA
Public Instance GET_DATA
Get Data- Parameters
- Returning
OS_DATATYPEZJKRT_SUITE- Test Suite (Regression Testing)
-
GET_ID
Public Instance GET_ID
Get ID- Parameters
- Returning
RV_VALUETYPEZJKRT_DT_SUITE_ID- Test Suite ID (Regression Testing)
-
GET_PENDING_REQUESTS
Public Instance GET_PENDING_REQUESTS
Gets pending output requests- Parameters
- Returning
RT_VALUETYPEZJKRT_TT_REQUEST_COL- Table of output requests
-
HAS_CASES
Public Instance HAS_CASES
Returns 'X' if the suite has at least one case- Parameters
- Returning
RV_VALUETYPEBOOLE_D- Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
REMOVE_CASE
Public Instance REMOVE_CASE
Removes a case from the suite- Parameters
- Importing
IO_CASETYPE REF TOZCL_JKRT_CASE- Test Case (Regression Testing)
-
SET_DESCRIPTION
Public Instance SET_DESCRIPTION
Set Description- Parameters
- Importing
IV_VALUETYPECSEQUENCE
-
LOAD
Private Static LOAD
Load Test Suite from DB- Parameters
- Importing
IS_DATATYPEZJKRT_SUITE - Returning
RO_VALUETYPE REF TOZCL_JKRT_SUITE- Test Suite (Regression Testing) - Exceptions
- ZCX_JK_RECORD_NOT_FOUND
-
LOAD_CASES
Private Instance LOAD_CASES
Loads cases
-
LOCK_CASES
Private Instance LOCK_CASES
Locks the suite's cases- Parameters
- Importing
IV_MODETYPEENQMODEDEFAULT 'S' - Lock mode - Exceptions
- ZCX_JK_OBJ_LOCK_FAILURE
-
SAVE_CASES
Private Instance SAVE_CASES
Saves test cases
-
SAVE_RELATIONS
Private Instance SAVE_RELATIONS
Save Suite-Cases Relations- Exceptions
- ZCX_JK_DATA_NOT_SAVED
-
SET_AREA
Private Instance SET_AREA
Sets the application area for this suite- Parameters
- Importing
IO_AREATYPE REF TOZCL_JKRT_AREA- Test Case Application Area
-
UNLOCK_CASES
Private Instance UNLOCK_CASES
Unlocks the suite's cases
-
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_SUITE
Test Suite (Regression Testing)
-
AT_CASES
Private Instance AT_CASES TYPE ZJKRT_TT_CASE_COL
Test Cases Table (Regression Testing)
-
AV_CASES_LOADED
Private Instance AV_CASES_LOADED TYPE BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
-
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