All files / output zcl_abapgit_web_environment.clas.mjs

27.77% Statements 25/90
100% Branches 2/2
6.66% Functions 1/15
27.77% Lines 25/90

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 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 901x 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 {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_web_environment.clas.abap
class zcl_abapgit_web_environment {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'ZCL_ABAPGIT_WEB_ENVIRONMENT';
  static IMPLEMENTED_INTERFACES = ["ZIF_ABAPGIT_ENVIRONMENT"];
  static ATTRIBUTES = {};
  static METHODS = {};
  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 zif_abapgit_environment$compare_with_inactive() {
    let rv_result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rv_result;
  }
  async zif_abapgit_environment$init_parallel_processing(INPUT) {
    let rv_free_work_processes = new abap.types.Integer({qualifiedName: "I"});
    let iv_group = INPUT?.iv_group;
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rv_free_work_processes;
  }
  async zif_abapgit_environment$check_parallel_processing(INPUT) {
    let rv_checked = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    let iv_group = INPUT?.iv_group;
    rv_checked.set(abap.builtin.abap_false);
    return rv_checked;
  }
  async zif_abapgit_environment$get_available_user_sessions() {
    let rv_sessions = new abap.types.Integer({qualifiedName: "I"});
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rv_sessions;
  }
  async zif_abapgit_environment$get_basis_release() {
    let rs_result = new abap.types.Structure({
    "release": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_environment=>ty_release_sp-release"}),
    "sp": new abap.types.Character(10, {"qualifiedName":"zif_abapgit_environment=>ty_release_sp-sp"})}, "zif_abapgit_environment=>ty_release_sp", undefined, {}, {});
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rs_result;
  }
  async zif_abapgit_environment$is_merged() {
    let rv_result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    rv_result.set(abap.builtin.abap_false);
    return rv_result;
  }
  async zif_abapgit_environment$is_repo_object_changes_allowed() {
    let rv_result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    rv_result.set(abap.builtin.abap_true);
    return rv_result;
  }
  async zif_abapgit_environment$is_restart_required() {
    let rv_result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rv_result;
  }
  async zif_abapgit_environment$is_sap_cloud_platform() {
    let rv_result = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    rv_result.set(abap.builtin.abap_false);
    return rv_result;
  }
  async zif_abapgit_environment$is_sap_object_allowed() {
    let rv_allowed = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    rv_allowed.set(abap.builtin.abap_false);
    return rv_allowed;
  }
  async zif_abapgit_environment$get_system_language_filter() {
    let rt_system_language_filter = abap.types.TableFactory.construct(new abap.types.Structure({
    "sign": new abap.types.Character(1, undefined),
    "option": new abap.types.Character(2, undefined),
    "low": new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"}),
    "high": new abap.types.Character(1, {"qualifiedName":"SPRAS","ddicName":"SPRAS","description":"SPRAS"})}, undefined, undefined, {}, {}), {"withHeader":false,"keyType":"USER","primaryKey":{"name":"primary_key","type":"STANDARD","isUnique":false,"keyFields":[]},"secondary":[]}, "zif_abapgit_environment=>ty_system_language_filter");
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rt_system_language_filter;
  }
  async zif_abapgit_environment$is_variant_maintenance() {
    let rv_is_variant_maintenance = new abap.types.Character(1, {"qualifiedName":"ABAP_BOOL","ddicName":"ABAP_BOOL"});
    abap.statements.assert(abap.compare.eq(abap.IntegerFactory.get(1), abap.CharacterFactory.get(9, 'decoupled')));
    return rv_is_variant_maintenance;
  }
}
abap.Classes['ZCL_ABAPGIT_WEB_ENVIRONMENT'] = zcl_abapgit_web_environment;
export {zcl_abapgit_web_environment};