mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00

* additional classes are transpiled * additional unit tests run under node.js * `abap_transpile.json` moved to folder `/test/` from root * new `npm run integration` target, doesnt really do anything yet * new `/test/Readme.md` with [notes and stuff](https://github.com/abapGit/abapGit/pull/4875/files#diff-5de36acd90308dc62abf7855a686ee7052ffb6e762c756fd735fb0c9fbd9595d)
23 lines
363 B
ABAP
23 lines
363 B
ABAP
CLASS ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL.
|
|
|
|
PRIVATE SECTION.
|
|
METHODS test01 FOR TESTING RAISING cx_static_check.
|
|
|
|
ENDCLASS.
|
|
|
|
|
|
CLASS ltcl_test IMPLEMENTATION.
|
|
|
|
METHOD test01.
|
|
|
|
DATA lv_bar TYPE i.
|
|
|
|
lv_bar = 2.
|
|
|
|
cl_abap_unit_assert=>assert_equals(
|
|
act = lv_bar
|
|
exp = 2 ).
|
|
|
|
ENDMETHOD.
|
|
|
|
ENDCLASS. |