Hierarchy

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_AUNIT_ASSERT | ABAP Unit: Assertions (see Longtext) | 20070629 |
Meta Relationship - Used By
Properties
Class | CL_FDT_UNITTEST_HELPERS | |
Short Description | Toolset for global unit tests | |
Super Class | CL_AUNIT_ASSERT | ABAP Unit: Assertions (see Longtext) |
Instantiability of a Class | 2 | Public |
Final |
General Data
Message Class | ||
Program status | ||
Category | 5 | |
Package | SFDT_TEST | BRFplus: Global Test Classes |
Created | 20070629 | SAP |
Last change | 20130531 | SAP |
Shared Memory-enabled | ||
Fixed point arithmetic | ||
Unicode checks active |
Forward declarations
# | Type group / Object type | Type | Type Description |
---|---|---|---|
1 | ![]() |
Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | ![]() |
Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_FDT_UNITTEST_HELPERS has no interface implemented.
Friends
Class CL_FDT_UNITTEST_HELPERS has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'C' | Character Field Length 1 | 20081106 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | CHAR01 | 'T' | Character Field Length 1 | 20081106 | |
3 | ![]() |
Static Attribute | Protected | Object reference (TYPE REF TO) | CL_FDT_VIRTUAL_SYSTEM | ID of the Virtual Target System for Transport Tests | 20080220 | ||
4 | ![]() |
Static Attribute | Protected | Object reference (TYPE REF TO) | CL_FDT_VIRTUAL_SYSTEM | ID of the Virtual System | 20080220 | ||
5 | ![]() |
Static Attribute | Public | Type reference (TYPE) | T_OBJECTS | 20081126 | |||
6 | ![]() |
Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080516 | ||
7 | ![]() |
Static Attribute | Protected | Type reference (TYPE) | ABAP_BOOL | Test is in memory, no database saves => UT purpose not poss | 20101126 | ||
8 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081112 | ||
9 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081030 | ||
10 | ![]() |
Instance attribute | Protected | Type reference (TYPE) | IF_FDT_TYPES=>ID | Universal Unique Identifier | 20081031 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Static method | Public | Method | 20090209 | |
2 | ![]() |
Static method | Public | Method | Checks a table of type T_MESSAGE and fails in case of errors | 20070629 |
3 | ![]() |
Static method | Public | Method | Checks a T_MESSAGE table and fails if NO error occurs | 20070629 |
4 | ![]() |
Static method | Public | Method | Check RBAM access for a particular BO instance and action | 20071008 |
5 | ![]() |
Static method | Public | Constructor | 20091027 | |
6 | ![]() |
Static method | Private | Method | 20070629 | |
7 | ![]() |
Static method | Private | Method | 20070629 | |
8 | ![]() |
Instance method | Protected | Method | Clear references to FDT objects (Preparation for DB Switch) | 20090511 |
9 | ![]() |
Static method | Public | Method | Compare two FDT objects regarding their content | 20070629 |
10 | ![]() |
Static method | Private | Method | Compare two FDT objects regarding their content | 20081105 |
11 | ![]() |
Static method | Private | Method | Compare two FDT objects regarding their content | 20081105 |
12 | ![]() |
Static method | Private | Method | Compare two FDT objects regarding their content | 20081106 |
13 | ![]() |
Instance method | Protected | Method | 20071113 | |
14 | ![]() |
Static method | Protected | Method | Delete all objects created with UTL_ADMN_NEW_OBJECT_INSTANCE | 20070629 |
15 | ![]() |
Static method | Private | Method | 20070629 | |
16 | ![]() |
Static method | Public | Method | Get all BRFplus object test classes | 20080826 |
17 | ![]() |
Static method | Public | Method | Converts FDT object to a comparable string | 20070629 |
18 | ![]() |
Instance method | Private | Method | 20070824 | |
19 | ![]() |
Instance method | Private | Method | 20070629 | |
20 | ![]() |
Static method | Protected | Method | Create an FDT object and record the insance for clean-up | 20070629 |
21 | ![]() |
Static method | Protected | Method | Set values for custom attributes defined in the application | 20130830 |
22 | ![]() |
Static method | Protected | Method | Change custom attributes | 20130905 |
Events
Class CL_FDT_UNITTEST_HELPERS has no event.
Types
# | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
---|---|---|---|---|---|---|---|
1 | MT_S_RECTBL | Public | See coding | 20070629 | BEGIN OF mt_s_rectbl,
id1 TYPE if_fdt_types=>id,
id2 TYPE if_fdt_types=>id,
END OF mt_s_rectbl
|
||
2 | MT_TS_RECUTBL | Public | See coding | 20070629 | mt_ts_recutbl TYPE SORTED TABLE OF mt_s_rectbl WITH UNIQUE KEY id1 id2
|
||
3 | S_COPY_MAPPING | Public | See coding | 20081106 | BEGIN OF s_copy_mapping,
source_id TYPE if_fdt_types=>id,
target_id TYPE if_fdt_types=>id,
END OF s_copy_mapping
|
||
4 | S_OBJECTS | Public | See coding | 20081126 | BEGIN OF s_objects,
id TYPE if_fdt_types=>id,
object_type TYPE if_fdt_types=>object_type,
expression_type TYPE if_fdt_types=>id,
data_object_type TYPE if_fdt_types=>data_object_type,
application_id TYPE if_fdt_types=>id,
ut_purpose TYPE if_fdt_types=>text,
oref TYPE REF TO if_fdt_admin_data,
source TYPE string, "MA20091217
used TYPE abap_bool,
END OF s_objects
|
||
5 | TS_COPY_MAPPING | Public | See coding | 20081106 | ts_copy_mapping TYPE SORTED TABLE OF s_copy_mapping WITH UNIQUE KEY source_id
|
||
6 | TS_MSGNO | Public | See coding | 20090209 | ts_msgno TYPE SORTED TABLE OF if_fdt_types=>s_message-msgno WITH UNIQUE KEY table_line
|
||
7 | TY_GT_OBJECT_REF | Protected | See coding | 20070629 | TY_GT_OBJECT_REF type TABLE OF REF TO cl_abap_weak_reference
|
||
8 | T_OBJECTS | Public | See coding | 20081126 | t_objects TYPE STANDARD TABLE OF s_objects WITH UNIQUE SORTED KEY id COMPONENTS id
|
Method Signatures
Method ASSERT_MESSAGE_IN_STACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ITS_CHECK_MSGNO | Call by reference | Type reference (TYPE) | TS_MSGNO | 20090209 | |||
2 | ![]() |
IT_MESSAGE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | Messages | 20090209 | ||
3 | ![]() |
IV_CHECK_ERROR | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090209 | |||
4 | ![]() |
IV_CHECK_MSGID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>S_MESSAGE-MSGID | 20090209 | |||
5 | ![]() |
IV_CHECK_MSGNO | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>S_MESSAGE-MSGNO | 20090209 | |||
6 | ![]() |
IV_CHECK_MSGTY | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>S_MESSAGE-MSGTY | 'E' | 20090209 | ||
7 | ![]() |
IV_LEVEL | Call by reference | Type reference (TYPE) | AUNIT_LEVEL | CRITICAL | ABAP Unit: Severity of Check Error | 20090209 | |
8 | ![]() |
IV_MSG | Call by reference | Type reference (TYPE) | CSEQUENCE | 20090209 | |||
9 | ![]() |
IV_QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | NO | ABAP Unit: Flow Control in Case of Error | 20090209 | |
10 | ![]() |
RV_ASSERTION_FAILED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090209 |
Method ASSERT_MESSAGE_IN_STACK on class CL_FDT_UNITTEST_HELPERS has no exception.
Method ASSERT_MESSAGE_STACK Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_MESSAGES | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | 20070629 | |||
2 | ![]() |
IV_FAILED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20070629 | |||
3 | ![]() |
IV_MSG_PREFIX | Call by reference | Type reference (TYPE) | STRING | 'Unexpected error message' | 20070629 | ||
4 | ![]() |
IV_QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | METHOD | ABAP Unit: Flow Control in Case of Error | 20070629 |
Method ASSERT_MESSAGE_STACK on class CL_FDT_UNITTEST_HELPERS has no exception.
Method ASSERT_MESSAGE_STACK_FAILS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IT_MESSAGES | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>T_MESSAGE | 20070629 | |||
2 | ![]() |
IV_FAILED | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20070629 | |||
3 | ![]() |
IV_MSG_PREFIX | Call by reference | Type reference (TYPE) | STRING | 'Expected error message is missing' | 20070629 | ||
4 | ![]() |
IV_QUIT | Call by reference | Type reference (TYPE) | AUNIT_FLOWCTRL | METHOD | ABAP Unit: Flow Control in Case of Error | 20070629 |
Method ASSERT_MESSAGE_STACK_FAILS on class CL_FDT_UNITTEST_HELPERS has no exception.
Method CHECK_RBAM_ACCESS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_ACTION_TYPE | Call by reference | Type reference (TYPE) | STRING | 20071008 | |||
2 | ![]() |
IV_BO_NAME | Call by reference | Type reference (TYPE) | STRING | BO ESF name | 20071008 | ||
3 | ![]() |
IV_BO_NAMESPACE | Call by reference | Type reference (TYPE) | STRING | BO ESF Namespace | 20071008 | ||
4 | ![]() |
IV_BO_NODE_NAME | Call by reference | Type reference (TYPE) | STRING | BO Node Name | 20071008 | ||
5 | ![]() |
IV_BO_PRX_NAME | Call by reference | Type reference (TYPE) | STRING | BO proxy name | 20071008 | ||
6 | ![]() |
IV_NODE_ID | Call by reference | Type reference (TYPE) | SESF_BO_NODE_ID | Node Instance | 20071008 | ||
7 | ![]() |
RV_RBAM_ACCESS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20071008 |
Method CHECK_RBAM_ACCESS on class CL_FDT_UNITTEST_HELPERS has no exception.
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FDT_UNITTEST_HELPERS has no exception.
Method CLASS_SETUP Signature
Method CLASS_SETUP on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method CLASS_SETUP on class CL_FDT_UNITTEST_HELPERS has no exception.
Method CLASS_TEARDOWN Signature
Method CLASS_TEARDOWN on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method CLASS_TEARDOWN on class CL_FDT_UNITTEST_HELPERS has no exception.
Method CLEAR_REFERENCES Signature
Method CLEAR_REFERENCES on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method CLEAR_REFERENCES on class CL_FDT_UNITTEST_HELPERS has no exception.
Method COMPARE_OBJECTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_REF1 | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20070629 | ||
2 | ![]() |
IO_REF2 | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20070629 | ||
3 | ![]() |
IO_VIRTUAL_SYSTEM | Call by reference | Object reference (TYPE REF TO) | CL_FDT_VIRTUAL_SYSTEM | FDT: Virtual Target System Administration | 20081106 | ||
4 | ![]() |
ITS_RECU | Call by reference | Type reference (TYPE) | MT_TS_RECUTBL | 20081105 | |||
5 | ![]() |
IV_CALL_TYPE | Call by reference | Type reference (TYPE) | CHAR01 | Virtual Transport / Copy | 20081106 | ||
6 | ![]() |
RV_EQUALS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20070629 |
Method COMPARE_OBJECTS on class CL_FDT_UNITTEST_HELPERS has no exception.
Method COMPARE_OBJECTS_BY_ID Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_RECU | Call by reference | Type reference (TYPE) | MT_TS_RECUTBL | 20081105 | |||
2 | ![]() |
EV_EQUALS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081106 | |||
3 | ![]() |
IO_VIRTUAL_SYSTEM | Call by reference | Object reference (TYPE REF TO) | CL_FDT_VIRTUAL_SYSTEM | FDT: Virtual Target System Administration | 20081106 | ||
4 | ![]() |
IV_CALL_TYPE | Call by reference | Type reference (TYPE) | CHAR01 | Virtual Transport / Copy | 20081106 | ||
5 | ![]() |
IV_ID1 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | FDT: Administrative Data | 20081105 | ||
6 | ![]() |
IV_ID2 | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | FDT: Administrative Data | 20081105 |
Method COMPARE_OBJECTS_BY_ID on class CL_FDT_UNITTEST_HELPERS has no exception.
Method COMPARE_OBJECTS_DEEP Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_RECU | Call by reference | Type reference (TYPE) | MT_TS_RECUTBL | 20081106 | |||
2 | ![]() |
EV_EQUALS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081106 | |||
3 | ![]() |
IO_REF1 | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20081105 | ||
4 | ![]() |
IO_REF2 | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20081105 | ||
5 | ![]() |
IO_VIRTUAL_SYSTEM | Call by reference | Object reference (TYPE REF TO) | CL_FDT_VIRTUAL_SYSTEM | FDT: Virtual Target System Administration | 20081106 | ||
6 | ![]() |
IV_CALL_TYPE | Call by reference | Type reference (TYPE) | CHAR01 | Virtual Transport / Copy | 20081106 |
Method COMPARE_OBJECTS_DEEP on class CL_FDT_UNITTEST_HELPERS has no exception.
Method COMPARE_OBJECTS_FLAT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_REF1 | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20081106 | ||
2 | ![]() |
IO_REF2 | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20081106 | ||
3 | ![]() |
RV_EQUALS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081106 |
Method COMPARE_OBJECTS_FLAT on class CL_FDT_UNITTEST_HELPERS has no exception.
Method CREATE_SEPERATE_APPLICATIONS Signature
Method CREATE_SEPERATE_APPLICATIONS on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method CREATE_SEPERATE_APPLICATIONS on class CL_FDT_UNITTEST_HELPERS has no exception.
Method DELETE_ALL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EXCEPT_APPLICATIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20070629 |
Method DELETE_ALL on class CL_FDT_UNITTEST_HELPERS has no exception.
Method FILTER Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE_LIST | 20070629 | ||
2 | ![]() |
RV_VAL | Value transfer | Type reference (TYPE) | STRING | 20070629 |
Method FILTER on class CL_FDT_UNITTEST_HELPERS has no exception.
Method GET_ALL_OBJECT_TEST_CLASSES Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
ET_FDT_OBJECT_TEST_CLASS | Call by reference | Type reference (TYPE) | SEO_CLSKEYS | Table with Class Keys | 20080826 |
Method GET_ALL_OBJECT_TEST_CLASSES on class CL_FDT_UNITTEST_HELPERS has no exception.
Method OBJECT_TO_STRING Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_INSTANCE | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20070629 | ||
2 | ![]() |
RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20070629 |
Method OBJECT_TO_STRING on class CL_FDT_UNITTEST_HELPERS has no exception.
Method SETUP Signature
Method SETUP on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method SETUP on class CL_FDT_UNITTEST_HELPERS has no exception.
Method TEARDOWN Signature
Method TEARDOWN on class CL_FDT_UNITTEST_HELPERS has no parameter.
Method TEARDOWN on class CL_FDT_UNITTEST_HELPERS has no exception.
Method UTL_ADMN_NEW_OBJECT_INSTANCE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_APPLICATION_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070629 | |||
2 | ![]() |
IV_DATA_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>DATA_OBJECT_TYPE | 20070629 | |||
3 | ![]() |
IV_DDIC_TYOE | Call by reference | Type reference (TYPE) | CSEQUENCE | 20070629 | |||
4 | ![]() |
IV_EXPRESSION_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>ID | 20070629 | |||
5 | ![]() |
IV_NAMED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | 20070629 | ||
6 | ![]() |
IV_OBJECT_TYPE | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>OBJECT_TYPE | 20070629 | |||
7 | ![]() |
IV_UT_PURPOSE | Call by reference | Type reference (TYPE) | CLIKE | Text | 20081126 | ||
8 | ![]() |
RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20070629 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Invalid Input | 20070629 |
Method UTL_ADMN_SET_CUSTOM_ATTR_VAL Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IO_INSTANCE | Call by reference | Object reference (TYPE REF TO) | IF_FDT_ADMIN_DATA | FDT: Administrative Data | 20130830 | ||
2 | ![]() |
IV_MANDATORY_ONLY | Call by reference | Type reference (TYPE) | ABAP_BOOL | Set only values for mandatory attributes | 20130905 | ||
3 | ![]() |
IV_VALUE_TEMPLATE | Call by reference | Type reference (TYPE) | STRING | 'Attribute Value &1' | 20130830 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
FDT: Abstract Exception Class | 20130830 |
Method UTL_APPL_CHG_CUSTOM_ATTR Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
CTS_OBJECT_ID | Call by reference | Type reference (TYPE) | IF_FDT_TYPES=>TS_OBJECT_ID | Object IDs as sorted table | 20130905 | ||
2 | ![]() |
IO_APPLICATION | Call by reference | Object reference (TYPE REF TO) | IF_FDT_APPLICATION | FDT: Application | 20130905 |
Method UTL_APPL_CHG_CUSTOM_ATTR on class CL_FDT_UNITTEST_HELPERS has no exception.
Meta Relationship - Used By (full list)
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 710 |