forked from abap-openapi/abap-openapi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from OberstVonGatow/Bugfix-Returning-Typenames
Bugfix returning typenames
- Loading branch information
Showing
10 changed files
with
241 additions
and
201 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
CLASS ltcl_abap_name DEFINITION FOR TESTING | ||
DURATION SHORT | ||
RISK LEVEL HARMLESS. | ||
|
||
PRIVATE SECTION. | ||
METHODS max_abap_name_length FOR TESTING RAISING cx_static_check. | ||
ENDCLASS. | ||
|
||
|
||
CLASS ltcl_abap_name IMPLEMENTATION. | ||
|
||
METHOD max_abap_name_length. | ||
DATA lo_abap_name TYPE REF TO zcl_oapi_abap_name. | ||
DATA lv_abap_name TYPE string. | ||
|
||
CREATE OBJECT lo_abap_name. | ||
|
||
lv_abap_name = lo_abap_name->to_abap_name( 'a_long_name_longer_then_28_Characters' ). | ||
|
||
cl_abap_unit_assert=>assert_number_between( | ||
lower = 1 | ||
upper = 28 | ||
number = strlen( lv_abap_name ) ). | ||
|
||
ENDMETHOD. | ||
|
||
ENDCLASS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.