All files / output kernel_authority_check.clas.mjs

53.57% Statements 15/28
100% Branches 2/2
20% Functions 1/5
53.57% Lines 15/28

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 281x 1x 1x 1x 1x 1x 1x 1x 1x             1x       1x     1x     1x 1x 1x
const {cx_root} = await import("./cx_root.clas.mjs");
// kernel_authority_check.clas.abap
class kernel_authority_check {
  static INTERNAL_TYPE = 'CLAS';
  static INTERNAL_NAME = 'KERNEL_AUTHORITY_CHECK';
  static IMPLEMENTED_INTERFACES = [];
  static ATTRIBUTES = {};
  static METHODS = {"CALL": {"visibility": "U", "parameters": {}}};
  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 call() {
    return kernel_authority_check.call();
  }
  static async call() {
    abap.builtin.sy.get().subrc.set(abap.IntegerFactory.get(0));
  }
}
abap.Classes['KERNEL_AUTHORITY_CHECK'] = kernel_authority_check;
export {kernel_authority_check};