abapGit/test/abap_transpile.json
Lars Hvam cf642470d6
unit testing updates (#5027)
update to eslint 8
run 4 more unit test methods
update abaplint stuff to latest
2021-10-11 14:30:51 +02:00

214 lines
12 KiB
JSON

{
"input_folder": "{test,src,deps}",
"input_filter": [
"vseointerf",
"zcl_abapgit_ajson*",
"zcl_abapgit_auth",
"zcl_abapgit_convert",
"zcl_abapgit_dot_abapgit",
"zcl_abapgit_exit",
"zcl_abapgit_frontend_services",
"zcl_abapgit_git_add_patch",
"zcl_abapgit_git_branch_list",
"zcl_abapgit_git_commit",
"zcl_abapgit_git_pack",
"zcl_abapgit_git_porcelain",
"zcl_abapgit_git_tag",
"zcl_abapgit_git_transport",
"zcl_abapgit_git_url",
"zcl_abapgit_git_utils",
"zcl_abapgit_gui_asset_manager",
"zcl_abapgit_gui_buttons",
"zcl_abapgit_gui_chunk_lib",
"zcl_abapgit_gui_component",
"zcl_abapgit_gui_css_processor",
"zcl_abapgit_gui_event",
"zcl_abapgit_gui_functions",
"zcl_abapgit_gui_html_processor",
"zcl_abapgit_gui_page_hoc",
"zcl_abapgit_gui_page_tutorial",
"zcl_abapgit_gui_page.clas",
"zcl_abapgit_gui_utils",
"zcl_abapgit_gui.clas",
"zcl_abapgit_hash",
"zcl_abapgit_html_action_utils",
"zcl_abapgit_html_parts",
"zcl_abapgit_html_toolbar",
"zcl_abapgit_html.clas",
"zcl_abapgit_http_agent",
"zcl_abapgit_http_client",
"zcl_abapgit_http_digest",
"zcl_abapgit_http",
"zcl_abapgit_log.clas",
"zcl_abapgit_login_manager",
"zcl_abapgit_password_dialog",
"zcl_abapgit_path",
"zcl_abapgit_persist_background",
"zcl_abapgit_persist_factory",
"zcl_abapgit_persist_injector",
"zcl_abapgit_persist_settings",
"zcl_abapgit_persistence_db",
"zcl_abapgit_persistence_user",
"zcl_abapgit_progress",
"zcl_abapgit_proxy_config",
"zcl_abapgit_settings",
"zcl_abapgit_string_map",
"zcl_abapgit_syntax_*",
"zcl_abapgit_time",
"zcl_abapgit_ui_factory",
"zcl_abapgit_url",
"zcl_abapgit_utils",
"zcl_abapgit_version",
"zcl_abapgit_xml_input",
"zcl_abapgit_xml_output",
"zcl_abapgit_xml_pretty",
"zcl_abapgit_xml.clas",
"zcl_abapgit_zlib_convert",
"zcl_abapgit_zlib_huffman",
"zcl_abapgit_zlib_stream",
"zcl_abapgit_zlib",
"zcx_abapgit_ajson_error",
"zcx_abapgit_cancel",
"zcx_abapgit_exception",
"zcx_abapgit_not_found",
"zif_abapgit_ajson*",
"zif_abapgit_apack_definitions",
"zif_abapgit_auth",
"zif_abapgit_branch_overview",
"zif_abapgit_cts_api",
"zif_abapgit_data_config",
"zif_abapgit_definitions",
"zif_abapgit_dot_abapgit",
"zif_abapgit_environment",
"zif_abapgit_exit",
"zif_abapgit_frontend_services",
"zif_abapgit_gui_asset_manager",
"zif_abapgit_gui_error_handler",
"zif_abapgit_gui_event_handler",
"zif_abapgit_gui_event",
"zif_abapgit_gui_functions",
"zif_abapgit_gui_hotkey_ctl",
"zif_abapgit_gui_hotkeys",
"zif_abapgit_gui_html_processor",
"zif_abapgit_gui_renderable",
"zif_abapgit_gui_services",
"zif_abapgit_html_viewer",
"zif_abapgit_html",
"zif_abapgit_http_agent",
"zif_abapgit_http_response",
"zif_abapgit_log",
"zif_abapgit_merge",
"zif_abapgit_persist_repo",
"zif_abapgit_persist_settings",
"zif_abapgit_persist_user",
"zif_abapgit_persistence",
"zif_abapgit_popups",
"zif_abapgit_progress",
"zif_abapgit_repo_online",
"zif_abapgit_repo_srv",
"zif_abapgit_sap_package",
"zif_abapgit_stage_logic",
"zif_abapgit_tadir",
"zif_abapgit_tag_popups",
"zif_abapgit_version",
"zif_abapgit_xml_input",
"zif_abapgit_xml_output",
"zif_abapgit_xml"
],
"output_folder": "output",
"lib": "https://github.com/open-abap/open-abap",
"write_unit_tests": true,
"write_source_map": true,
"options": {
"ignoreSyntaxCheck": false,
"addFilenames": true,
"addCommonJS": true,
"unknownTypes": "runtimeError",
"skip": [
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_test", "method": "test_direct_text"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_test", "method": "test_no_text"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_get_t100_longtext", "method": "test01"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_split_text", "method": "test_set_msg_b"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_split_text", "method": "test_set_msg_c"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_split_text", "method": "test_set_msg_d"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_split_text", "method": "test_set_msg_e"},
{"object": "ZCX_ABAPGIT_EXCEPTION", "class": "ltcl_split_text", "method": "test_set_msg_z"},
{"object": "ZCL_ABAPGIT_HTML", "class": "ltcl_html", "method": "style1", "note": "ASSERT failed, ??"},
{"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "pretty1", "note": "ASSERT failed, ??"},
{"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "pretty2"},
{"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "pretty3"},
{"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "malformatted"},
{"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "dont_ignore_error"},
{"object": "ZCL_ABAPGIT_XML_PRETTY", "class": "ltcl_test", "method": "unpretty"},
{"object": "ZCL_ABAPGIT_ZLIB", "class": "ltcl_zlib", "method": "dynamic"},
{"object": "ZCL_ABAPGIT_ZLIB", "class": "ltcl_zlib", "method": "fixed"},
{"object": "ZCL_ABAPGIT_GIT_ADD_PATCH", "class": "ltcl_calculate_patch", "method": "multiple_non_adjacent_delete"},
{"object": "ZCL_ABAPGIT_GIT_ADD_PATCH", "class": "ltcl_calculate_patch", "method": "multiple_partial_delete"},
{"object": "ZCL_ABAPGIT_UTILS", "class": "ltcl_utils_test", "method": "extract_author_data1", "note": "ASSERT failed, ??"},
{"object": "ZCL_ABAPGIT_UTILS", "class": "ltcl_utils_test", "method": "extract_author_data2"},
{"object": "ZCL_ABAPGIT_UTILS", "class": "ltcl_utils_test", "method": "extract_author_data9"},
{"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"},
{"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_settings", "note": "skip, this changes database"},
{"object": "ZCL_ABAPGIT_PERSISTENCE_USER", "class": "ltcl_user", "method": "set_get_repo_login", "note": "skip, this changes database"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_serializer_test", "method": "stringify_condensed", "note": "field sorting is wrong, probably sorted internal tables needed"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_serializer_test", "method": "stringify_indented"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_serializer_test", "method": "array_index", "note": "uses secondary index array_index?"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_serializer_test", "method": "item_order", "note": "uses secondary index item_order?"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_serializer_test", "method": "simple_indented", "note": "??"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_serializer_test", "method": "escape", "note": "ASSERT failed, ??"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_json_to_abap", "method": "find_loc", "note": "assert failed"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_json_to_abap", "method": "to_abap_negative"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_writer_test", "method": "set_obj"},
{"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": "root_assignment"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_parser_test", "method": "parse_error"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_integrated", "method": "reader", "note": "keyword? Path not found @/false"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_integrated", "method": "array_index", "note": "Index not found in table @/10"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_integrated", "method": "array_simple", "note": "Index not found in table @/10"},
{"object": "ZCL_ABAPGIT_AJSON", "class": "ltcl_integrated", "method": "item_order_integrated"},
{"object": "ZCL_ABAPGIT_AJSON_MAPPING", "class": "ltcl_camel_case", "method": "to_abap", "note": "secondary key fields? READ WITH KEY, Path not found @/FieldData"},
{"object": "ZCL_ABAPGIT_GUI_UTILS", "class": "ltcl_gui_utils", "method": "is_renderable", "note": "casting, https://github.com/abaplint/transpiler/issues/465"},
{"object": "ZCL_ABAPGIT_GUI_UTILS", "class": "ltcl_gui_utils", "method": "is_event_handler", "note": "casting, https://github.com/abaplint/transpiler/issues/465"},
{"object": "ZCL_ABAPGIT_GUI_ASSET_MANAGER", "class": "ltcl_abapgit_gui_asset_manager", "method": "get_mime_asset", "note": "failed to load GUI asset: css/common.css"},
{"object": "ZCL_ABAPGIT_GUI_CSS_PROCESSOR", "class": "ltcl_single_file", "method": "test_simple_variables", "note": "Cannot read property 'get' of undefined in CS"},
{"object": "ZCL_ABAPGIT_GUI_CSS_PROCESSOR", "class": "ltcl_single_file", "method": "test_complex_variables"},
{"object": "ZCL_ABAPGIT_GUI_CSS_PROCESSOR", "class": "ltcl_single_file", "method": "test_overwrite", "note": "MODIFY FROM with table unique key not working"},
{"object": "ZCL_ABAPGIT_GUI_CSS_PROCESSOR", "class": "ltcl_multiple_files", "method": "test_overwrite"},
{"object": "ZCL_ABAPGIT_GUI_HTML_PROCESSOR", "class": "ltcl_html_processor_test", "method": "process_typical"},
{"object": "ZCL_ABAPGIT_GUI_HTML_PROCESSOR", "class": "ltcl_html_processor_test", "method": "process_with_preserve"},
{"object": "ZCL_ABAPGIT_GUI_HTML_PROCESSOR", "class": "ltcl_html_processor_test", "method": "process_no_css"},
{"object": "ZCL_ABAPGIT_GUI_HTML_PROCESSOR", "class": "ltcl_html_processor_test", "method": "process_fails"},
{"object": "ZCL_ABAPGIT_GUI_HTML_PROCESSOR", "class": "ltcl_html_processor_test", "method": "find_head_closing_tag"},
{"object": "ZCL_ABAPGIT_XML", "class": "ltcl_xml", "method": "space_leading_trailing"},
{"object": "ZCL_ABAPGIT_XML", "class": "ltcl_xml", "method": "bad_xml_raises_exc"},
{"object": "ZCL_ABAPGIT_XML_OUTPUT", "class": "ltcl_xml_output", "method": "render_xml_string"},
{"object": "ZCL_ABAPGIT_XML_OUTPUT", "class": "ltcl_xml_output", "method": "add_simple_object"},
{"object": "ZCL_ABAPGIT_XML_INPUT", "class": "ltcl_xml", "method": "up"},
{"object": "ZCL_ABAPGIT_XML_INPUT", "class": "ltcl_xml", "method": "empty"},
{"object": "ZCL_ABAPGIT_XML_INPUT", "class": "ltcl_xml", "method": "down"},
{"object": "ZCL_ABAPGIT_GIT_TRANSPORT", "class": "ltcl_git_transport", "method": "flush_error"},
{"object": "ZCL_ABAPGIT_GIT_COMMIT", "class": "ltcl_test", "method": "parse_commits"},
{"object": "ZCL_ABAPGIT_GIT_COMMIT", "class": "ltcl_test", "method": "check_author_regex"},
{"object": "ZCL_ABAPGIT_GIT_URL", "class": "ltcl_repo_online", "method": "test_repo_commit_show_urls"},
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "ignore", "note": "Void type: DLVUNIT"},
{"object": "ZCL_ABAPGIT_DOT_ABAPGIT", "class": "ltcl_dot_abapgit", "method": "identity"}
]
}
}