mirror of
https://github.com/abapGit/abapGit.git
synced 2025-04-30 20:03:20 +08:00
unit testing test (#4326)
* unit testing test * update deps * update deps * update deps * update deps * update deps * update deps * upd * remove empty keyword * update deps * update deps * whitespace * update deps
This commit is contained in:
parent
158d1e27b7
commit
e6ef63a489
|
@ -14,6 +14,7 @@
|
|||
"zif_abapgit_environment",
|
||||
"zif_abapgit_cts_api",
|
||||
"zif_abapgit_http_response",
|
||||
"zcl_abapgit_syntax_*",
|
||||
"zif_abapgit_stage_logic"
|
||||
],
|
||||
"output_folder": "output",
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
"url": "git+https://github.com/abapGit/abapGit.git"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@abaplint/cli": "^2.63.0",
|
||||
"@abaplint/transpiler-cli": "^1.0.11",
|
||||
"@abaplint/runtime": "^1.0.11",
|
||||
"@abaplint/cli": "^2.63.2",
|
||||
"@abaplint/transpiler-cli": "^1.0.23",
|
||||
"@abaplint/runtime": "^1.0.22",
|
||||
"abapmerge": "^0.14.2",
|
||||
"eslint": "^7.15.0"
|
||||
}
|
||||
|
|
|
@ -43,7 +43,7 @@ ENDCLASS.
|
|||
|
||||
|
||||
|
||||
CLASS zcl_abapgit_syntax_abap IMPLEMENTATION.
|
||||
CLASS ZCL_ABAPGIT_SYNTAX_ABAP IMPLEMENTATION.
|
||||
|
||||
|
||||
METHOD class_constructor.
|
||||
|
@ -104,7 +104,7 @@ CLASS zcl_abapgit_syntax_abap IMPLEMENTATION.
|
|||
'|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING' &&
|
||||
'|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY' &&
|
||||
'|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING' &&
|
||||
'|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|' &&
|
||||
'|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO' &&
|
||||
'|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|ENDAT|ENDCASE' &&
|
||||
'|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|END-ENHANCEMENT-SECTION' &&
|
||||
'|ENDEXEC|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE' &&
|
||||
|
|
|
@ -23,9 +23,13 @@ CLASS ltcl_abapgit_syntax_abap IMPLEMENTATION.
|
|||
|
||||
METHOD report_header.
|
||||
|
||||
DATA lv_act TYPE string.
|
||||
|
||||
lv_act = mo_cut->process_line( |REPORT zfoo.| ).
|
||||
|
||||
cl_abap_unit_assert=>assert_equals(
|
||||
exp = |<span class="keyword">REPORT</span> zfoo.|
|
||||
act = mo_cut->process_line( |REPORT zfoo.| ) ).
|
||||
act = lv_act ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
@ -82,7 +86,7 @@ CLASS ltcl_syntax_basic_logic IMPLEMENTATION.
|
|||
|
||||
cl_abap_unit_assert=>assert_equals( exp = lv_line_exp
|
||||
act = lv_line_act
|
||||
msg = | Error during formating: { lv_line }| ).
|
||||
msg = |Error during formating: { lv_line }| ).
|
||||
|
||||
ENDMETHOD.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user