All files / output zcl_abapgit_gitea.clas.testclasses.mjs

55.55% Statements 15/27
100% Branches 2/2
25% Functions 1/4
55.55% Lines 15/27

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 271x 1x 1x 1x 1x 1x 1x 1x 1x 1x               1x       1x     1x 1x 1x
const {zcl_abapgit_gitea} = await import("./zcl_abapgit_gitea.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_gitea.clas.testclasses.abap
class ltcl_test {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_GITEA-LTCL_TEST';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"CREATE": {"visibility": "I", "parameters": {}}};
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "create": this.#create.bind(this),
    };
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async #create() {
    await abap.Classes['ZCL_ABAPGIT_GITEA'].create_repo({iv_name: abap.operators.concat(abap.CharacterFactory.get(5, 'repo-'),(await abap.Classes['CL_SYSTEM_UUID'].if_system_uuid_static$create_uuid_x16()))});
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_GITEA-LTCL_TEST'] = ltcl_test;
export {ltcl_test};