SAP ABAP Class CL_TREX_TEST_FIXTURE (Test Fixture)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-TRX-API (Application Component) TREX ABAP + JAVA API
⤷
STREX (Package) TREX ABAP client
⤷
⤷
Properties
| Class | CL_TREX_TEST_FIXTURE | |
| Short Description | Test Fixture | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | STREX | TREX ABAP client |
| Created | 20050915 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_TREX_TEST_FIXTURE has no forward declaration.
Interfaces
Class CL_TREX_TEST_FIXTURE has no interface implemented.
Friends
Class CL_TREX_TEST_FIXTURE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Public | Type reference (TYPE) | TREXD_INDEX_ID | Index Id | 20050915 | |||
| 2 | Constant | Private | Type reference (TYPE) | MEMORYID | 'TREX_TEST_RFCDEST' | Set/Get parameter ID | 20051117 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | TREXD_RFCDEST | RFC destination to TREX engine | 20051117 | |||
| 4 | Constant | Private | Type reference (TYPE) | TREXD_RFCDEST | 'TREX_AUNIT' | RFC destination to TREX engine | 20051117 | ||
| 5 | Static Attribute | Public | Object reference (TYPE REF TO) | CL_TREX_TEST_FACADE | Facade to TREX for Testing | 20051117 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20051021 | |
| 2 | Static method | Public | Method | 20051213 | ||
| 3 | Static method | Public | Method | 20051208 | ||
| 4 | Static method | Public | Method | 20051128 | ||
| 5 | Static method | Public | Method | 20070226 |
Events
Class CL_TREX_TEST_FIXTURE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TEST_STRUCT | Public | See coding | 20050915 | begin of test_struct ,
key1 type i ,
non_key1 type i ,
non_key2 type p length 9 decimals 14 ,
non_key3 type p length 9 decimals 2 ,
non_key4 type p length 16 decimals 3 ,
non_key5(10) type c ,
non_key6(1) type c ,
non_key7(5) type n ,
non_key8(1) type n ,
non_key9 type d ,
non_key10 type t ,
non_key11 type f ,
end of test_struct
|
||
| 2 | TEST_TABLE | Public | See coding | 20050915 | test_table type standard table of test_struct with key key1
|
||
| 3 | T_STRUCT_ALL_TYPES | Public | See coding | 20051121 | begin of t_struct_all_types ,
key type i ,
f_i type i ,
f_p type p length 4 decimals 2 ,
f_c(1) type c ,
f_c10(10) type c ,
f_n(1) type n ,
f_n5(5) type n ,
f_d type d ,
f_t type t ,
f_f type f ,
f_string type string ,
f_string2 type string , "for e.g. attribute type TEXT
f_string3 type string ,
f_string4 type string ,
f_x(1) type x ,
f_x32(32) type x ,
f_xstring type xstring ,
end of t_struct_all_types
|
||
| 4 | T_STRUCT_KEY_VALUE | Public | See coding | 20070226 | begin of t_struct_key_value ,
key type i ,
value type string ,
end of t_struct_key_value
|
||
| 5 | T_TABLE_ALL_TYPES | Public | See coding | 20051122 | t_table_all_types type standard table of t_struct_all_types
with key key
|
||
| 6 | T_TABLE_KEY_VALUE | Public | See coding | 20070226 | t_table_key_value type STANDARD TABLE OF t_struct_key_value with key key
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_TREX_TEST_FIXTURE has no parameter.
Method CLASS_CONSTRUCTOR on class CL_TREX_TEST_FIXTURE has no exception.
Method CREATE_ALL_TYPES_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESCRIPTION | Call by reference | Type reference (TYPE) | TREX_RFC-DESCRIPTION | Description | 20081028 | |||
| 2 | RVAL | Value transfer | Object reference (TYPE REF TO) | CL_TREX_TEST_INDEX | Index | 20051213 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20051213 | |||
| 2 | 20051213 |
Method CREATE_ALL_TYPES_TABLE_META Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RVAL | Value transfer | Object reference (TYPE REF TO) | IF_TREX_TABLE_META | Metadata Interface to Table | 20051208 |
Method CREATE_ALL_TYPES_TABLE_META on class CL_TREX_TEST_FIXTURE has no exception.
Method CREATE_INDEX_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RVAL | Value transfer | Type reference (TYPE) | TREXD_INDEX_ID | Index Id | 20051128 |
Method CREATE_INDEX_ID on class CL_TREX_TEST_FIXTURE has no exception.
Method CREATE_KEY_VALUE_INDEX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DESCRIPTION | Call by reference | Type reference (TYPE) | TREX_RFC-DESCRIPTION | Description | 20081028 | |||
| 2 | RVAL | Value transfer | Object reference (TYPE REF TO) | CL_TREX_TEST_INDEX | Index | 20070226 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Remote Communication Exception | 20070226 | ||
| 2 | Error returned from Server | 20070226 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |