All files / output zcl_abapgit_properties_file.clas.testclasses.mjs

100% Statements 31/31
83.33% Branches 5/6
100% Functions 4/4
100% Lines 31/31

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 311x 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 1x
const {zcl_abapgit_properties_file} = await import("./zcl_abapgit_properties_file.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_properties_file.clas.testclasses.abap
class ltcl_test {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_PROPERTIES_FILE-LTCL_TEST';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"ASSERT_LANG": {"visibility": "I", "parameters": {}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "assert_lang": this.#assert_lang.bind(this),
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async #assert_lang() {
    let lo_cut = new abap.types.ABAPObject({qualifiedName: "ZCL_ABAPGIT_PROPERTIES_FILE", RTTIName: "\\CLASS=ZCL_ABAPGIT_PROPERTIES_FILE"});
    let lv_act = new abap.types.Character(2, {"qualifiedName":"LAISO","ddicName":"LAISO","description":"LAISO"});
    lo_cut.set(await (new abap.Classes['ZCL_ABAPGIT_PROPERTIES_FILE']()).constructor_({iv_lang: abap.CharacterFactory.get(2, 'DE')}));
    lv_act.set((await lo_cut.get().zif_abapgit_i18n_file$lang()));
    await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({exp: abap.CharacterFactory.get(2, 'DE'), act: lv_act});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_PROPERTIES_FILE-LTCL_TEST'] = ltcl_test;
export {ltcl_test};