SAP ABAP Class CL_SAUNIT_LEGACY_CI_CHECK_CONV (Checks conventions of module tests)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷ BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷ SABP_UNIT_LEGACY_CI (Package) - Internal - Adapter to Code Inspector
⤷ BC-DWB-TOO-UT (Application Component) ABAP Unit
⤷ SABP_UNIT_LEGACY_CI (Package) - Internal - Adapter to Code Inspector
Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_CI_TEST_SCAN | Code Inspector: Test Based on SCAN | 20041008 |
Properties
Class | CL_SAUNIT_LEGACY_CI_CHECK_CONV | |
Short Description | Checks conventions of module tests | |
Super Class | CL_CI_TEST_SCAN | Code Inspector: Test Based on SCAN |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | SAUNIT_LEGACY_CI | |
Program status | ||
Category | 0 | |
Package | SABP_UNIT_LEGACY_CI | - Internal - Adapter to Code Inspector |
Created | 20041008 | 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 | SANA | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no interface implemented.
Friends
Class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | C_CODE_BAD_FLOW | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'BadFlow' | Anweisung zur unerwünschten Veränderung des Programmflußes | 20041008 | |
2 | C_CODE_EMPTY_METHOD | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'MethEmpty' | Keine Anweisung in der Testmethode | 20041008 | |
3 | C_CODE_INTERACTIVE | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'Dialog' | Anweisung mit möglicher Interaktion | 20041008 | |
4 | C_CODE_LIST_COMMAND | Constant | Private | Type reference (TYPE) | SCI_ERRC | 'ListCmd' | Anweisung zur Listenverarbeitung | 20041008 | |
5 | C_MY_NAME | Constant | Private | Type reference (TYPE) | SEOCLSNAME | 'CL_SAUNIT_LEGACY_CI_CHECK_CONV' | Name dieser Klasse, CI Konvention | 20041008 | |
6 | F_NAME_OF_CURRENT_TEST_CLASS | Instance attribute | Private | Type reference (TYPE) | STRING | 20100507 | |||
7 | F_NAME_OF_CURRENT_TEST_METHOD | Instance attribute | Private | Type reference (TYPE) | STRING | 20100507 | |||
8 | F_QUALIFIED_TOKENS | Instance attribute | Private | Type reference (TYPE) | STOKESX_TAB | 20100507 | |||
9 | F_SETTINGS | Instance attribute | Private | Type reference (TYPE) | SAUNIT_S_LEGACY_CI_CONV_SETUP | 20041008 | |||
10 | F_STATEMENT_FROM | Instance attribute | Private | Type reference (TYPE) | I | 20100507 | |||
11 | F_STATEMENT_INDEX | Instance attribute | Private | Type reference (TYPE) | I | 20100507 | |||
12 | F_STATEMENT_TO | Instance attribute | Private | Type reference (TYPE) | I | 20100507 | |||
13 | F_TEST_CLASSES | Instance attribute | Private | Type reference (TYPE) | TY_T_TEST_CLASSES | Katalog der lokalen Testklassen | 20041008 | ||
14 | F_TEST_METHODS | Instance attribute | Private | Type reference (TYPE) | TY_T_TEST_METHODS | Katalog der Testmethoden | 20041008 | ||
15 | F_TEST_METHOD_STATEMENT_COUNT | Instance attribute | Private | Type reference (TYPE) | I | Zähler für Anweisungen in der aktuellen Testmethode | 20041008 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | CONSTRUCTOR | Instance method | Public | Constructor | be creative | 20041008 |
2 | HANDLE_CALL | Instance method | Private | Method | handles call to ... | 20041008 |
3 | HANDLE_CLASS | Instance method | Private | Method | handles statement to define / implement a class | 20041008 |
4 | HANDLE_ENDMETHOD | Instance method | Private | Method | handles end of method implementation | 20041008 |
5 | HANDLE_LEAVE | Instance method | Private | Method | handles statements to modify control flow | 20041008 |
6 | HANDLE_METHOD_DEFINITION | Instance method | Private | Method | handles a method definition | 20041008 |
7 | HANDLE_METHOD_IMPLEMENTATION | Instance method | Private | Method | handles start of method implementation | 20041008 |
8 | HANDLE_WRITE | Instance method | Private | Method | handles write statements | 20041008 |
9 | INFORM_CURRENT_LINE | Instance method | Private | Method | message | 20041008 |
10 | INFORM_METHOD | Instance method | Private | Method | message on method | 20041008 |
11 | INIT_STATE | Instance method | Private | Method | init state of check per internal mode | 20041008 |
12 | QUALIFY_STATEMENT | Instance method | Private | Method | analyse one statement | 20041008 |
Events
Class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | TY_S_TEST_CLASS | Private | See coding | 20041008 | begin of ty_S_Test_Class,
class_Name type string,
def_Token type stokesx,
include_Name type tadir-obj_Name,
end of ty_S_Test_Class
|
||
2 | TY_S_TEST_METHOD | Private | See coding | 20041008 | begin of ty_S_Test_Method,
class_Name type string,
method_Name type string,
def_Token type stokesx,
include_Name type tadir-obj_Name,
end of ty_S_Test_Method
|
||
3 | TY_T_TEST_CLASSES | Private | See coding | 20041008 | ty_T_Test_Classes type hashed table of ty_S_Test_Class with unique key class_Name
|
||
4 | TY_T_TEST_METHODS | Private | See coding | 20041008 | ty_T_Test_Methods type hashed table of ty_S_Test_Method with unique key class_Name method_Name
|
Method Signatures
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method CONSTRUCTOR on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_CALL Signature
Method HANDLE_CALL on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_CALL on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_CLASS Signature
Method HANDLE_CLASS on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_CLASS on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_ENDMETHOD Signature
Method HANDLE_ENDMETHOD on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_ENDMETHOD on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_LEAVE Signature
Method HANDLE_LEAVE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_LEAVE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_METHOD_DEFINITION Signature
Method HANDLE_METHOD_DEFINITION on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_METHOD_DEFINITION on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_METHOD_IMPLEMENTATION Signature
Method HANDLE_METHOD_IMPLEMENTATION on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_METHOD_IMPLEMENTATION on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method HANDLE_WRITE Signature
Method HANDLE_WRITE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method HANDLE_WRITE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method INFORM_CURRENT_LINE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_CODE | Call by reference | Type reference (TYPE) | SCI_ERRC | CHAR04 | 20041008 | ||
2 | Importing | P_KIND | Call by reference | Type reference (TYPE) | SYCHAR01 | C_ERROR | CHAR01-Datenelement fuer SYST | 20041008 |
Method INFORM_CURRENT_LINE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method INFORM_METHOD Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | P_CODE | Call by reference | Type reference (TYPE) | SCI_ERRC | CHAR04 | 20041008 | ||
2 | Importing | P_KIND | Call by reference | Type reference (TYPE) | SYCHAR01 | C_ERROR | CHAR01-Datenelement fuer SYST | 20041008 | |
3 | Importing | P_METHOD | Call by reference | Type reference (TYPE) | TY_S_TEST_METHOD | Parameter_3 | 20041008 |
Method INFORM_METHOD on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method INIT_STATE Signature
Method INIT_STATE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no parameter.
Method INIT_STATE on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
Method QUALIFY_STATEMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | P_RESULT | Value transfer | Type reference (TYPE) | SYCHAR01 | CHAR01-Datenelement fuer SYST | 20041008 |
Method QUALIFY_STATEMENT on class CL_SAUNIT_LEGACY_CI_CHECK_CONV has no exception.
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 700 |