Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {cx_root} = await import("./cx_root.clas.mjs"); // zcl_abapgit_web_inject_fm.clas.abap class zcl_abapgit_web_inject_fm { static INTERNAL_TYPE = 'CLAS'; static INTERNAL_NAME = 'ZCL_ABAPGIT_WEB_INJECT_FM'; static IMPLEMENTED_INTERFACES = ["IF_FTD_INVOCATION_ANSWER"]; static ATTRIBUTES = {}; static METHODS = {"INJECT": {"visibility": "U", "parameters": {}}}; constructor() { this.me = new abap.types.ABAPObject(); this.me.set(this); this.INTERNAL_ID = abap.internalIdCounter++; this.FRIENDS_ACCESS_INSTANCE = { }; } async constructor_(INPUT) { if (super.constructor_) { await super.constructor_(INPUT); } return this; } async if_ftd_invocation_answer$answer(INPUT) { let $arguments = INPUT?.arguments; if ($arguments?.getQualifiedName === undefined || $arguments.getQualifiedName() !== "IF_FTD_INPUT_ARGUMENTS") { $arguments = undefined; } if ($arguments === undefined) { $arguments = new abap.types.ABAPObject({qualifiedName: "IF_FTD_INPUT_ARGUMENTS", RTTIName: "\\INTERFACE=IF_FTD_INPUT_ARGUMENTS"}).set(INPUT.arguments); } let result = new abap.types.ABAPObject({qualifiedName: "IF_FTD_INVOCATION_RESULT", RTTIName: "\\INTERFACE=IF_FTD_INVOCATION_RESULT"}); if (INPUT && INPUT.result) {result = INPUT.result;} return; } async inject() { return zcl_abapgit_web_inject_fm.inject(); } static async inject() { let lt_deps = abap.types.TableFactory.construct(new abap.types.Character(30, {"qualifiedName":"SXCO_FM_NAME","ddicName":"SXCO_FM_NAME","description":"Function module name"}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":["TABLE_LINE"]},"secondary":[]}, "if_function_test_environment=>tt_function_dependencies"); let lv_dep = new abap.types.Character(30, {"qualifiedName":"SXCO_FM_NAME","ddicName":"SXCO_FM_NAME","description":"Function module name"}); let li_env = new abap.types.ABAPObject({qualifiedName: "IF_FUNCTION_TEST_ENVIRONMENT", RTTIName: "\\INTERFACE=IF_FUNCTION_TEST_ENVIRONMENT"}); let lo_handler = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_WEB_INJECT_FM", RTTIName: "\\CLASS=ZCL_ABAPGIT_WEB_INJECT_FM"}); abap.statements.insertInternal({data: abap.CharacterFactory.get(17, 'ENQUEUE_EZABAPGIT'), table: lt_deps}); abap.statements.insertInternal({data: abap.CharacterFactory.get(17, 'DEQUEUE_EZABAPGIT'), table: lt_deps}); abap.statements.insertInternal({data: abap.CharacterFactory.get(25, 'SAPGUI_PROGRESS_INDICATOR'), table: lt_deps}); abap.statements.insertInternal({data: abap.CharacterFactory.get(15, 'TR_OBJECT_TABLE'), table: lt_deps}); abap.statements.insertInternal({data: abap.CharacterFactory.get(28, 'SEO_INTERFACE_IMPLEM_GET_ALL'), table: lt_deps}); li_env.set((await abap.Classes['CL_FUNCTION_TEST_ENVIRONMENT'].create({function_modules: lt_deps}))); lo_handler.set(await (new abap.Classes['ZCL_ABAPGIT_WEB_INJECT_FM']()).constructor_()); for await (const unique1099 of abap.statements.loop(lt_deps)) { lv_dep.set(unique1099); await (await (await (await li_env.get().if_function_test_environment$get_double({function_name: lv_dep})).get().if_function_testdouble$configure_call()).get().if_ftd_input_config_setter$ignore_all_parameters()).get().if_ftd_output_config_setter$then_answer({answer: lo_handler}); } } } abap.Classes['ZCL_ABAPGIT_WEB_INJECT_FM'] = zcl_abapgit_web_inject_fm; export {zcl_abapgit_web_inject_fm}; |