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 | 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_exit} = await import("./zcl_abapgit_exit.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_exit.clas.testclasses.abap
class ltcl_test {
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_EXIT-LTCL_TEST';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"IS_RUNNING_IN_TEST_CONTEXT": {"visibility": "I", "parameters": {}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"is_running_in_test_context": this.#is_running_in_test_context.bind(this),
};
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async #is_running_in_test_context() {
await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({act: (await abap.Classes['ZCL_ABAPGIT_EXIT'].is_running_in_test_context()), exp: abap.builtin.abap_true});
}
}
abap.Classes['CLAS-ZCL_ABAPGIT_EXIT-LTCL_TEST'] = ltcl_test;
export {ltcl_test}; |