SAP ABAP Class CL_SCV_RESULT_COMPARATOR (Compares results)
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
⤷ BC-DWB-TOO-COV (Application Component) Coverage Analyzer
⤷ SCOV_API_ALL (Package) Coverage API for All Purposes
Properties
Class | CL_SCV_RESULT_COMPARATOR | |
Short Description | Compares results | |
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 | 20100323 | SAP |
Last change | 20130531 | 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 | CX_SCV_RESULT_MISMATCH | Forward declaration class (CLASS c DEFINITION DEFERRED) | Forward declaration class (CLASS c DEFINITION DEFERRED) |
3 | IF_SCV_COVERAGE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
4 | IF_SCV_RESULT_NODE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
5 | IF_T100_MESSAGE | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_SCV_RESULT_COMPARATOR has no interface implemented.
Friends
Class CL_SCV_RESULT_COMPARATOR has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | MISMATCHES | Instance attribute | Private | Type reference (TYPE) | CX_SCV_RESULT_MISMATCH=>TAB | 20100331 | |||
2 | NODE1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Node of a measurement result | 20100325 | ||
3 | NODE2 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Node of a measurement result | 20100325 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ADD_MISMATCH | Instance method | Private | Method | 20100331 | |
2 | CREATE_BY_NODES | Static method | Public | Method | Creates a comparer for results nodes | 20100325 |
3 | CREATE_BY_RESULTS | Static method | Public | Method | Creates a comparer for results | 20100325 |
4 | VERIFY | Instance method | Public | Method | Starts Comparison | 20100331 |
5 | VERIFY_CHILDREN | Instance method | Private | Method | 20100325 | |
6 | VERIFY_COVERAGES | Instance method | Private | Method | 20100331 | |
7 | VERIFY_NODE | Instance method | Private | Method | Checks a node | 20100326 |
8 | VERIFY_TREE | Instance method | Private | Method | Checks a node (and all subnodes (recursively)) | 20100326 |
Events
Class CL_SCV_RESULT_COMPARATOR has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_NODE_PAIR | Public | See coding | 20100325 | begin of TY_NODE_PAIR,
node1 TYPE REF TO if_scv_result_node,
node2 TYPE REF TO if_scv_result_node,
coverage1 TYPE REF TO if_scv_coverage,
coverage2 TYPE REF TO if_scv_coverage,
msg TYPE string,
end of TY_NODE_PAIR
|
||
2 | TY_NODE_PAIRS | Public | See coding | 20100325 | ty_node_pairs TYPE STANDARD TABLE OF TY_NODE_PAIR WITH DEFAULT KEY
|
Method Signatures
Method ADD_MISMATCH Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_COVERAGE1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_COVERAGE | Abdeckungswerte (Gesamt, Ausgeführt, Prozent) | 20100331 | ||
2 | Importing | I_COVERAGE2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_COVERAGE | Abdeckungswerte (Gesamt, Ausgeführt, Prozent) | 20100331 | ||
3 | Importing | I_NODE1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | 20100331 | |||
4 | Importing | I_NODE2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | 20100331 | |||
5 | Importing | I_TEXTID | Call by reference | Attribute reference (LIKE) | IF_T100_MESSAGE=>T100KEY | T100 Schlüssel mit Abbildung der Parameter auf Attributnamen | 20100331 |
Method ADD_MISMATCH on class CL_SCV_RESULT_COMPARATOR has no exception.
Method CREATE_BY_NODES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_NODE1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100325 | ||
2 | Importing | I_NODE2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100325 | ||
3 | Returning | R_COMPARATOR | Value transfer | Object reference (TYPE REF TO) | CL_SCV_RESULT_COMPARATOR | Vergleicht Ergebnisse | 20100325 |
Method CREATE_BY_NODES on class CL_SCV_RESULT_COMPARATOR has no exception.
Method CREATE_BY_RESULTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_RESULT1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT | Ergebnis einer Abdeckungsmessung | 20100325 | ||
2 | Importing | I_RESULT2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT | Ergebnis einer Abdeckungsmessung | 20100325 | ||
3 | Returning | R_COMPARATOR | Value transfer | Object reference (TYPE REF TO) | CL_SCV_RESULT_COMPARATOR | Vergleicht Ergebnisse | 20100325 |
Method CREATE_BY_RESULTS on class CL_SCV_RESULT_COMPARATOR has no exception.
Method VERIFY Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | R_FIRST_MISMATCH | Value transfer | Object reference (TYPE REF TO) | CX_SCV_RESULT_MISMATCH | Unterschied eines Ergebnisvergleichs | 20100331 |
Method VERIFY on class CL_SCV_RESULT_COMPARATOR has no exception.
Method VERIFY_CHILDREN Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_CHILDREN | Call by reference | Type reference (TYPE) | IF_SCV_RESULT_NODE=>TAB | TAB | 20100325 | ||
2 | Importing | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100325 |
Method VERIFY_CHILDREN on class CL_SCV_RESULT_COMPARATOR has no exception.
Method VERIFY_COVERAGES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_COMPARE | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20100331 | ||
2 | Importing | I_NODE1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100331 | ||
3 | Importing | I_NODE2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100331 |
Method VERIFY_COVERAGES on class CL_SCV_RESULT_COMPARATOR has no exception.
Method VERIFY_NODE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_NODE1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100326 | ||
2 | Importing | I_NODE2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100326 |
Method VERIFY_NODE on class CL_SCV_RESULT_COMPARATOR has no exception.
Method VERIFY_TREE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | I_NODE1 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100326 | ||
2 | Importing | I_NODE2 | Call by reference | Object reference (TYPE REF TO) | IF_SCV_RESULT_NODE | Knoten eines Messergebnisses | 20100326 |
Method VERIFY_TREE on class CL_SCV_RESULT_COMPARATOR has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 800 |