SAP ABAP Class CL_SCV_TESTGROUP (Test Group for Coverage Measurements)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-DWB-TOO-COV (Application Component) Coverage Analyzer
     SCOV_API_ALL (Package) Coverage API for All Purposes
Meta Relationship - Using
# Relationship type Using Short Description Created on
1 Interface implementation (CLASS c. INTERFACES i_ref)  IF_SCV_TESTGROUP Test Group 20090918
Properties
Class CL_SCV_TESTGROUP  
Short Description Test Group for Coverage Measurements    
Super Class    
Instantiability of a Class 0  Private 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SCOV_API_ALL   Coverage API for All Purposes 
Created 20090918   SAP 
Last change 20140121   SAP 
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 IF_SCV_MEASUREMENT Forward declaration interface (INTERFACE i DEFINITION DEF...  Forward declaration interface (INTERFACE i DEFINITION DEF...
Interfaces
# Interface Abstract Final Description Created on
1 IF_SCV_TESTGROUP Test Group 20090918
Friends
Class CL_SCV_TESTGROUP has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 ACTIVE_USERS Instance attribute Private Attribute reference (LIKE) USERS_TO_ADD User of Test Group 20090918
2 ADMISSIBLE_CHARACTERS Constant Private See coding '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' 20130711
3 CON_ESCAPE_CHAR Constant Private See coding '#' 20100707
4 CON_PREFIX_TESTKEY_API Constant Public Type reference (TYPE) TY_PREFIX_TESTKEY '%' 20100707
5 CON_PREFIX_TESTKEY_AUNIT Constant Public Type reference (TYPE) TY_PREFIX_TESTKEY '$' 20100707
6 CREATION_TIME Instance attribute Private Type reference (TYPE) TIMESTAMP UTC Time Stamp in Short Form (YYYYMMDDhhmmss) 20091103
7 DYNAMIC_TESTKEYS Static Attribute Public See coding 20100712
8 EXPIRATION Instance attribute Private Object reference (TYPE REF TO) CL_SCV_EXPIRATION Expiry Date 20090930
9 FLAG_IS_ENABLED Instance attribute Private Type reference (TYPE) ABAP_BOOL TRUE, if group is active, otherwise FALSE 20090918
10 KEY Instance attribute Private Type reference (TYPE) CVA_TESTK Test Key 20090918
11 LOCAL_SERVER_ONLY Instance attribute Private Type reference (TYPE) ABAP_BOOL TRUE, if coverage is queried for local server only 20090918
12 NUM_FLUSHES_COMPLETED Static Attribute Private Type reference (TYPE) I Number of Completed Memory Flushes 20090918
13 NUM_FLUSHES_STARTED Static Attribute Private Type reference (TYPE) I Number of Started Memory Flushes 20090918
14 TEXT Instance attribute Private Type reference (TYPE) CVA_TKTEXT Coverage Analyzer: Description 20091102
15 USERS_TO_ADD Instance attribute Private See coding Users to Register 20090918
16 USERS_TO_REMOVE Instance attribute Private Attribute reference (LIKE) USERS_TO_ADD Users to Deregister 20090918
Methods
# Method Level Visibility Method type Description Created on
1 BUILD_PATTERN Static method Private Method Gets pattern for test key selection 20100707
2 CHECK_FOR_BLOCKED_USER Instance method Private Method Raises exception if conflicting user registrations 20091023
3 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20100705
4 CREATE Static method Public Method Creates a new test group 20090918
5 CREATE_TESTKEY Static method Public Method Creates a new test key (entry in COVTKEY) 20090918
6 DELETE Static method Public Method Deletes the test group 20090918
7 FIND_FREE_TESTKEY Static method Private Method Returns the next test key candidate 20090918
8 GET_MOST_RECENT_TESTKEY Static method Private Method Returns the latest existing test keys 20091005
9 GET_NEXT_TESTKEY Static method Private Method Calculates the next test key candidate 20090918
10 INIT Instance method Private Method Initializes the test group 20090918
11 IS_DYNAMIC_TESTKEY Static method Private Method 20130711
12 MAINTAIN_TESTKEYS Static method Private Method Transfers user registration to available servers 20090922
13 ON_REGISTRATION_COMPLETED Static method Public Method Internal Methods, Required for Internal RFC Logic 20090918
14 RECONSTITUTE Static method Public Method Restores the test group 20090918
15 TRANSFER_STAGING_TO_COVRES Static method Public Method Transfers results from the staging tables 20090922
16 UNREGISTER Static method Public Method Deregisters users assigned to the test keys 20090922
17 UPDATE_DATABASE Instance method Private Method Updates registrations on the database 20090918
18 UPDATE_KERNEL Instance method Private Method Updates registrations on responsible servers 20090918
Events
Class CL_SCV_TESTGROUP has no event.
Types
# Type Visibility Typing Associated Type Description Created on Type Source
1 TY_PATTERN_TESTKEY Public See coding 20100707 ty_pattern_testkey TYPE c LENGTH 5
2 TY_PREFIX_TESTKEY Public See coding 20100707 ty_prefix_testkey TYPE c LENGTH 1
3 TY_SERVERNAMES Private See coding 20090918 ty_servernames TYPE STANDARD TABLE OF msname2 WITH DEFAULT KEY
4 TY_TESTKEYS Public See coding 20090921 ty_testkeys TYPE SORTED TABLE OF cva_testk WITH UNIQUE KEY table_line
Method Signatures

Method BUILD_PATTERN Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PREFIX_TESTKEY Call by reference Type reference (TYPE) TY_PREFIX_TESTKEY 20100707
2 Returning R_PATTERN Value transfer Type reference (TYPE) TY_PATTERN_TESTKEY 20100707

Method BUILD_PATTERN on class CL_SCV_TESTGROUP has no exception.

Method CHECK_FOR_BLOCKED_USER Signature

Method CHECK_FOR_BLOCKED_USER on class CL_SCV_TESTGROUP has no parameter.
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR 20091023

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_SCV_TESTGROUP has no parameter.
Method CLASS_CONSTRUCTOR on class CL_SCV_TESTGROUP has no exception.

Method CREATE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPIRATION Call by reference Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum 20090930
2 Importing I_LOCAL_SERVER_ONLY Call by reference Type reference (TYPE) ABAP_BOOL TRUE, falls Abdeckung nur für lokalen Server gefragt ist 20090918
3 Importing I_TEXT Call by reference Type reference (TYPE) CSEQUENCE Short Text 20090918
4 Returning R_GROUP Value transfer Object reference (TYPE REF TO) CL_SCV_TESTGROUP Resultierende Testgruppe 20090918

Method CREATE on class CL_SCV_TESTGROUP has no exception.

Method CREATE_TESTKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPIRATION Call by reference Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum 20090930
2 Importing I_PREFIX_TESTKEY Call by reference Type reference (TYPE) C CON_PREFIX_TESTKEY_API 20100705
3 Importing I_TEXT Call by reference Type reference (TYPE) CSEQUENCE SPACE Short Text 20090918
4 Returning R_TESTKEY Value transfer Type reference (TYPE) CVA_TESTK Resultierender Testschlüssel 20090918

Method CREATE_TESTKEY on class CL_SCV_TESTGROUP has no exception.

Method DELETE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_REMOVE_REGISTRATIONS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE FALSE, falls Benutzerderegistrierung nicht erwünscht ist 20091005
2 Importing I_TESTKEY Call by reference Type reference (TYPE) CVA_TESTK Test Key 20090918
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR Signalisiert gescheiterte Löschung 20090918

Method FIND_FREE_TESTKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PREFIX_TESTKEY Call by reference Type reference (TYPE) C 20100705
2 Importing I_STARTING_KEY Call by reference Type reference (TYPE) CVA_TESTK Startvorschlag für Schlüsselsuche 20090923
3 Returning R_KEY Value transfer Type reference (TYPE) CVA_TESTK Vorschlag für neuen Testschlüssel 20090918

Method FIND_FREE_TESTKEY on class CL_SCV_TESTGROUP has no exception.

Method GET_MOST_RECENT_TESTKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_PREFIX_TESTKEY Call by reference Type reference (TYPE) C 20100705
2 Returning R_LAST_TESTKEY Value transfer Type reference (TYPE) CVA_TESTK Test Key 20091005

Method GET_MOST_RECENT_TESTKEY on class CL_SCV_TESTGROUP has no exception.

Method GET_NEXT_TESTKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_CURRENT_KEY Call by reference Type reference (TYPE) CVA_TESTK Testschlüssel (typischerweise der aktuellste) 20090918
2 Returning R_NEXT_KEY Value transfer Type reference (TYPE) CVA_TESTK Rechnerischer Nachfolger 20090918

Method GET_NEXT_TESTKEY on class CL_SCV_TESTGROUP has no exception.

Method INIT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_EXPIRATION Call by reference Object reference (TYPE REF TO) CL_SCV_EXPIRATION Haltbarkeitsdatum 20090930
2 Importing I_KEY Call by reference Type reference (TYPE) CVA_TESTK Test Key 20090918
3 Importing I_LOCAL_SERVER_ONLY Call by reference Type reference (TYPE) ABAP_BOOL TRUE, falls Abdeckung nur für lokalen Server gefragt ist 20090918

Method INIT on class CL_SCV_TESTGROUP has no exception.

Method IS_DYNAMIC_TESTKEY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TESTKEY Call by reference Type reference (TYPE) CVA_TESTK 20130711
2 Returning R_IS_DYNAMIC_TESTKEY Value transfer Type reference (TYPE) ABAP_BOOL 20130711

Method IS_DYNAMIC_TESTKEY on class CL_SCV_TESTGROUP has no exception.

Method MAINTAIN_TESTKEYS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCAL_SERVER_ONLY Call by reference Type reference (TYPE) ABAP_BOOL TRUE, falls Abdeckung nur für lokalen Server gefragt ist 20090922
2 Importing I_REGISTRATIONS Call by reference Type reference (TYPE) CVT_REG Liste der erforderlichen Registrierungen/ Deregistrierungen 20090922
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR Signalisiert gescheiterte Übertragung der Registrierungen 20090922

Method ON_REGISTRATION_COMPLETED Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing P_TASK Call by reference Type reference (TYPE) CLIKE Aufgabenidentifikator 20090918

Method ON_REGISTRATION_COMPLETED on class CL_SCV_TESTGROUP has no exception.

Method RECONSTITUTE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCAL_SERVER_ONLY Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE TRUE, falls Abdeckung nur für lokalen Server gefragt ist 20090918
2 Importing I_TESTKEY Call by reference Type reference (TYPE) CVA_TESTK Test Key 20090918
3 Returning R_GROUP Value transfer Object reference (TYPE REF TO) CL_SCV_TESTGROUP Zugehörige Testgruppe 20090918

Method RECONSTITUTE on class CL_SCV_TESTGROUP has no exception.

Method TRANSFER_STAGING_TO_COVRES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_LOCAL_SERVER_ONLY Call by reference Type reference (TYPE) ABAP_BOOL TRUE, falls Abdeckung nur für lokalen Server gefragt ist 20090922
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR Signalisiert gescheiterte Datenübertragung 20090922

Method UNREGISTER Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing I_TESTKEYS Call by reference Type reference (TYPE) TY_TESTKEYS Testschlüssel, für die die Deregistrierung gefragt ist 20090922
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR Signalisiert gescheiterte Deregistrierung 20090922

Method UPDATE_DATABASE Signature

Method UPDATE_DATABASE on class CL_SCV_TESTGROUP has no parameter.
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR Signalisiert gescheiterte Datenbank-Registrierungen 20090918

Method UPDATE_KERNEL Signature

Method UPDATE_KERNEL on class CL_SCV_TESTGROUP has no parameter.
# Exception Resumable Description Created on
1 CX_SCV_EXECUTION_ERROR Signalisiert gescheiterte Server-Registrierungen 20090918
History
Last changed by/on SAP  20140121 
SAP Release Created in 800