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 | 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_string_buffer} = await import("./zcl_abapgit_string_buffer.clas.mjs");
const {cx_root} = await import("./cx_root.clas.mjs");
// zcl_abapgit_string_buffer.clas.testclasses.abap
class ltcl_test_strbuf {
static INTERNAL_TYPE = 'CLAS';
static INTERNAL_NAME = 'CLAS-ZCL_ABAPGIT_STRING_BUFFER-LTCL_TEST_STRBUF';
static IMPLEMENTED_INTERFACES = [];
static ATTRIBUTES = {};
static METHODS = {"JOIN_SPACE": {"visibility": "U", "parameters": {}}};
constructor() {
this.me = new abap.types.ABAPObject();
this.me.set(this);
this.INTERNAL_ID = abap.internalIdCounter++;
this.FRIENDS_ACCESS_INSTANCE = {
"join_space": this.join_space.bind(this),
};
}
async constructor_(INPUT) {
if (super.constructor_) { await super.constructor_(INPUT); }
return this;
}
async join_space() {
await abap.Classes['CL_ABAP_UNIT_ASSERT'].assert_equals({act: (await (await (await (await abap.Classes['ZCL_ABAPGIT_STRING_BUFFER'].new()).get().add({iv_str: abap.CharacterFactory.get(1, 'a')})).get().add({iv_str: abap.CharacterFactory.get(1, 'b')})).get().join_w_space_and_flush()), exp: abap.CharacterFactory.get(3, 'a b')});
}
}
abap.Classes['CLAS-ZCL_ABAPGIT_STRING_BUFFER-LTCL_TEST_STRBUF'] = ltcl_test_strbuf;
export {ltcl_test_strbuf}; |