mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 04:08:27 +08:00

* mark inactive objects in repo list Inactive object are marked in the repo list The sort order for changed files is not changed unchanged inactive files come right after the changed files * move acitve check to object interface * add is_active for objects up to F * add is_active for objects up to P * add is_active for objects up to T * add is_active for objects up to X all core object implement (except SSFO) the standard active check via FM RS_INACTIVE_OBJECTS_WARNING now * add is_active to plugins bridge - always active * finish object interface implementation + objects * add is_active for offline with object interface * rename returning to RV_ * use returning for serialize * cleanup, PP, UT
34 lines
835 B
ABAP
34 lines
835 B
ABAP
CLASS zcl_abapgit_test_serialize DEFINITION
|
|
PUBLIC
|
|
CREATE PUBLIC
|
|
FOR TESTING .
|
|
|
|
PUBLIC SECTION.
|
|
|
|
CLASS-METHODS check
|
|
IMPORTING VALUE(is_item) TYPE zif_abapgit_definitions=>ty_item
|
|
RAISING
|
|
zcx_abapgit_exception .
|
|
PROTECTED SECTION.
|
|
PRIVATE SECTION.
|
|
ENDCLASS.
|
|
|
|
|
|
|
|
CLASS zcl_abapgit_test_serialize IMPLEMENTATION.
|
|
|
|
|
|
METHOD check.
|
|
|
|
DATA: ls_files_item TYPE zcl_abapgit_objects=>ty_serialization.
|
|
|
|
ls_files_item = zcl_abapgit_objects=>serialize( is_item = is_item
|
|
iv_language = zif_abapgit_definitions=>c_english ).
|
|
|
|
cl_abap_unit_assert=>assert_not_initial( ls_files_item-files ).
|
|
cl_abap_unit_assert=>assert_equals( act = ls_files_item-item
|
|
exp = is_item ).
|
|
|
|
ENDMETHOD.
|
|
ENDCLASS.
|