ajson, Automatic Update (#5620)

This commit is contained in:
github-actions[bot] 2022-06-06 15:30:14 +02:00 committed by GitHub
parent 3349b6a42d
commit 3131fc6cf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 4 deletions

View File

@ -1871,7 +1871,9 @@ CLASS ltcl_writer_test DEFINITION FINAL
METHODS arrays FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS arrays_negative FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS root_assignment FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_bool FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_bool_abap_bool FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_bool_int FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_bool_tab FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_str FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_int FOR TESTING RAISING zcx_abapgit_ajson_error.
METHODS set_date FOR TESTING RAISING zcx_abapgit_ajson_error.
@ -2569,12 +2571,11 @@ CLASS ltcl_writer_test IMPLEMENTATION.
ENDMETHOD.
METHOD set_bool.
METHOD set_bool_abap_bool.
DATA lo_cut TYPE REF TO zcl_abapgit_ajson.
DATA lo_nodes_exp TYPE REF TO lcl_nodes_helper.
DATA li_writer TYPE REF TO zif_abapgit_ajson.
DATA lt_tab TYPE string_table.
" abap_bool
lo_cut = zcl_abapgit_ajson=>create_empty( ).
@ -2595,6 +2596,14 @@ CLASS ltcl_writer_test IMPLEMENTATION.
act = lo_cut->mt_json_tree
exp = lo_nodes_exp->sorted( ) ).
ENDMETHOD.
METHOD set_bool_int.
DATA lo_cut TYPE REF TO zcl_abapgit_ajson.
DATA lo_nodes_exp TYPE REF TO lcl_nodes_helper.
DATA li_writer TYPE REF TO zif_abapgit_ajson.
" int
lo_cut = zcl_abapgit_ajson=>create_empty( ).
li_writer = lo_cut.
@ -2614,6 +2623,15 @@ CLASS ltcl_writer_test IMPLEMENTATION.
act = lo_cut->mt_json_tree
exp = lo_nodes_exp->sorted( ) ).
ENDMETHOD.
METHOD set_bool_tab.
DATA lo_cut TYPE REF TO zcl_abapgit_ajson.
DATA lo_nodes_exp TYPE REF TO lcl_nodes_helper.
DATA li_writer TYPE REF TO zif_abapgit_ajson.
DATA lt_tab TYPE string_table.
" tab
lo_cut = zcl_abapgit_ajson=>create_empty( ).
li_writer = lo_cut.

View File

@ -148,7 +148,9 @@
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_tab"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_tab_hashed", "note": "runtime error, SortByLengthZero"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "arrays"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_bool", "note": "https://github.com/sbcgua/ajson/pull/104"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_bool_abap_bool"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_bool_int"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_bool_tab"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_obj_w_date_time"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "root_assignment"},