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 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | const {zcl_abapgit_html_action_utils} = await import("./zcl_abapgit_html_action_utils.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_html_action_utils.clas.testclasses.abap
class ltcl_test {
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_HTML_ACTION_UTILS-LTCL_TEST';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"DIR_ENCODE": {"visibility": "I", "parameters": {}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"dir_encode": this.#dir_encode.bind(this),
};
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async #dir_encode() {
let lv_encoded = new abap.types.String({qualifiedName: "STRING"});
lv_encoded.set((await abap.Classes['ZCL_ABAPGIT_HTML_ACTION_UTILS'].dir_encode({iv_path: abap.CharacterFactory.get(12, '/hello.,()[]')})));
await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({act: lv_encoded, exp: abap.CharacterFactory.get(25, 'PATH=%2fhello.%2c()%5b%5d')});
}
}
abap.Classes['CLAS-ZCL_ABAPGIT_HTML_ACTION_UTILS-LTCL_TEST'] = ltcl_test;
export {ltcl_test}; |