unit testing updates (#5354)

This commit is contained in:
Lars Hvam 2022-02-19 09:02:13 +01:00 committed by GitHub
parent 2ba6151355
commit 4ac0183df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 15 additions and 17 deletions

View File

@ -25,9 +25,9 @@
]
},
"devDependencies": {
"@abaplint/cli": "^2.85.17",
"@abaplint/runtime": "^1.8.6",
"@abaplint/transpiler-cli": "^1.8.6",
"@abaplint/cli": "^2.85.19",
"@abaplint/runtime": "^1.8.9",
"@abaplint/transpiler-cli": "^1.8.9",
"abapmerge": "^0.14.3",
"c8": "^7.11.0",
"eslint": "^8.9.0"

View File

@ -48,7 +48,7 @@ CLASS zcl_abapgit_apack_reader DEFINITION
TYPES:
BEGIN OF ty_s_manifest_declaration,
clsname TYPE seometarel-clsname,
clsname TYPE seoclsname,
devclass TYPE devclass,
END OF ty_s_manifest_declaration .

View File

@ -38,18 +38,19 @@ INTERFACE zif_abapgit_popups
VALUE(rs_branch) TYPE zif_abapgit_definitions=>ty_git_branch
RAISING
zcx_abapgit_exception .
TYPES ty_char1 TYPE c LENGTH 1.
METHODS popup_to_confirm
IMPORTING
!iv_titlebar TYPE clike
!iv_text_question TYPE clike
!iv_text_button_1 TYPE clike DEFAULT 'Yes'
!iv_icon_button_1 TYPE icon-name DEFAULT space
!iv_icon_button_1 TYPE clike DEFAULT space
!iv_text_button_2 TYPE clike DEFAULT 'No'
!iv_icon_button_2 TYPE icon-name DEFAULT space
!iv_default_button TYPE char1 DEFAULT '1'
!iv_display_cancel_button TYPE char1 DEFAULT abap_true
!iv_icon_button_2 TYPE clike DEFAULT space
!iv_default_button TYPE ty_char1 DEFAULT '1'
!iv_display_cancel_button TYPE ty_char1 DEFAULT abap_true
RETURNING
VALUE(rv_answer) TYPE char1
VALUE(rv_answer) TYPE ty_char1
RAISING
zcx_abapgit_exception .
METHODS popup_to_create_package

View File

@ -16,6 +16,7 @@
"zcl_abapgit_diff",
"zcl_abapgit_dot_abapgit",
"zcl_abapgit_exit",
"zcl_abapgit_apack_reader",
"zcl_abapgit_factory",
"zcl_abapgit_file_deserialize",
"zcl_abapgit_frontend_services",
@ -205,9 +206,6 @@
{"object": "ZCL_ABAPGIT_HTML_FORM_UTILS", "class": "ltcl_test_form", "method": "validate3", "note": "assert failed"},
{"object": "ZCL_ABAPGIT_HTML_FORM_UTILS", "class": "ltcl_test_form", "method": "normalize", "note": "assert failed"},
{"object": "ZCL_ABAPGIT_HTML_FORM_UTILS", "class": "ltcl_test_form", "method": "exit_clean", "note": "todo, eq TABLE"},
{"object": "ZCL_ABAPGIT_HTML_FORM_UTILS", "class": "ltcl_test_form", "method": "exit_dirty_confirm", "note": "todo, eq TABLE"},
{"object": "ZCL_ABAPGIT_HTML_FORM_UTILS", "class": "ltcl_test_form", "method": "exit_dirty_cancel", "note": "todo, eq TABLE"},
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "clas_before_pinf", "note": "hmm, something with promises?"},
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "ddls_before_dcls", "note": "hmm, something with promises?"},
@ -226,11 +224,10 @@
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "xslt_before_clas", "note": "hmm, something with promises?"},
{"object": "ZCL_ABAPGIT_FILE_DESERIALIZE", "class": "ltcl_prio_deserialization", "method": "xslt_before_prog", "note": "hmm, something with promises?"},
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "ignore", "note": "Void type: SAPRELEASE"},
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "identity", "note": "Void type: SAPRELEASE"},
{"object": "ZCL_ABAPGIT_REPO", "class": "ltcl_find_remote_dot_abapgit", "method": "positive", "note": "Void type: SAPRELEASE"},
{"object": "ZCL_ABAPGIT_REPO", "class": "ltcl_find_remote_dot_abapgit", "method": "new_repo_needs_no_dot_abapgit", "note": "Void type: SAPRELEASE"},
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "ignore", "note": "expect 'X', actual ''"},
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "identity", "note": "cx_xslt_runtime_error"},
{"object": "ZCL_ABAPGIT_REPO", "class": "ltcl_find_remote_dot_abapgit", "method": "positive", "note": "ASSERT failed"},
{"object": "ZCL_ABAPGIT_REPO", "class": "ltcl_find_remote_dot_abapgit", "method": "new_repo_needs_no_dot_abapgit", "note": "ASSERT failed"},
{"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_git_user", "note": "skip, this changes database"},
{"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_repo_show", "note": "skip, this changes database"},