All files / src/exits zcl_abapgit_auth.clas.testclasses.abap

100% Statements 23/23
100% Branches 1/1
100% Functions 1/1
100% Lines 23/23

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 241x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
 
CLASS ltcl_test DEFINITION FOR TESTING DURATION SHORT RISK LEVEL HARMLESS FINAL.
 
  PRIVATE SECTION.
    METHODS default_is_allow FOR TESTING.
ENDCLASS.
 
 
CLASS ltcl_test IMPLEMENTATION.
 
  METHOD default_is_allow.
 
    DATA lv_allowed TYPE abap_bool.
 
    lv_allowed = zcl_abapgit_auth=>is_allowed( 'DUMMY_UNIT_TEST' ).
 
    cl_abap_unit_assert=>assert_equals(
      act = lv_allowed
      exp = abap_true ).
 
  ENDMETHOD.
 
ENDCLASS.