All files / output zcl_abapgit_environment.clas.testclasses.mjs

96.55% Statements 56/58
90.9% Branches 10/11
81.81% Functions 9/11
96.55% Lines 56/58

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 51 52 53 54 55 56 57 581x 1x 1x 1x 1x 4x 4x 4x 4x 4x 4x 4x 1x 1x 1x 1x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 4x 1x 1x 4x 1x 1x 4x     4x 1x 1x 4x 1x 1x 4x 1x 1x
const {zcl_abapgit_environment} = await import("./zcl_abapgit_environment.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_environment.clas.testclasses.abap
 
 
class ltcl_test {
  static STATIC_SUPER = undefined;
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_ENVIRONMENT-LTCL_TEST';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {"MI_CUT": {"type": () => {return new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_ENVIRONMENT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_ENVIRONMENT"});}, "visibility": "I", "is_constant": " ", "is_class": " "}};
  static METHODS = {"SETUP": {"visibility": "I", "parameters": {}},
  "IS_SAP_CLOUD_PLATFORM": {"visibility": "I", "parameters": {}},
  "IS_MERGED": {"visibility": "I", "parameters": {}},
  "IS_REPO_OBJECT_CHANGES_ALLOWED": {"visibility": "I", "parameters": {}},
  "COMPARE_WITH_INACTIVE": {"visibility": "I", "parameters": {}},
  "IS_RESTART_REQUIRED": {"visibility": "I", "parameters": {}}};
  #mi_cut;
  constructor() {
    this.me = new abap.types.ABAPObject();
    this.me.set(this);
    this.INTERNAL_ID = abap.internalIdCounter++;
    this.FRIENDS_ACCESS_INSTANCE = {
      "setup": this.#setup.bind(this),
      "is_sap_cloud_platform": this.#is_sap_cloud_platform.bind(this),
      "is_merged": this.#is_merged.bind(this),
      "is_repo_object_changes_allowed": this.#is_repo_object_changes_allowed.bind(this),
      "compare_with_inactive": this.#compare_with_inactive.bind(this),
      "is_restart_required": this.#is_restart_required.bind(this),
    };
    this.#mi_cut = new abap.types.ABAPObject({qualifiedName: "ZIF_ABAPGIT_ENVIRONMENT", RTTIName: "\\INTERFACE=ZIF_ABAPGIT_ENVIRONMENT"});
    this.FRIENDS_ACCESS_INSTANCE["mi_cut"] = this.#mi_cut;
  }
  async constructor_(INPUT) {
    if (super.constructor_) { await super.constructor_(INPUT); }
    return this;
  }
  async #setup() {
    this.#mi_cut.set(await (new abap.Classes['ZCL_ABAPGIT_ENVIRONMENT']()).constructor_());
  }
  async #is_sap_cloud_platform() {
    await this.#mi_cut.get().zif_abapgit_environment$is_sap_cloud_platform();
  }
  async #is_merged() {
    await this.#mi_cut.get().zif_abapgit_environment$is_merged();
  }
  async #is_repo_object_changes_allowed() {
    await this.#mi_cut.get().zif_abapgit_environment$is_repo_object_changes_allowed();
  }
  async #compare_with_inactive() {
    await this.#mi_cut.get().zif_abapgit_environment$compare_with_inactive();
  }
  async #is_restart_required() {
    await this.#mi_cut.get().zif_abapgit_environment$is_restart_required();
  }
}
abap.Classes['CLAS-ZCL_ABAPGIT_ENVIRONMENT-LTCL_TEST'] = ltcl_test;
export {ltcl_test};