All files / src/ui zcl_abapgit_ui_injector.clas.abap

100% Statements 65/65
100% Branches 0/0
100% Functions 0/0
100% Lines 65/65

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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 661x 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 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 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x  
CLASS zcl_abapgit_ui_injector DEFINITION
  PUBLIC
  FOR TESTING
  CREATE PRIVATE .
 
  PUBLIC SECTION.
 
    CLASS-METHODS set_popups
      IMPORTING
        !ii_popups TYPE REF TO zif_abapgit_popups .
    CLASS-METHODS set_frontend_services
      IMPORTING
        !ii_fe_serv TYPE REF TO zif_abapgit_frontend_services .
    CLASS-METHODS set_gui_services
      IMPORTING
        !ii_gui_services TYPE REF TO zif_abapgit_gui_services .
    CLASS-METHODS get_dummy_gui_services
      RETURNING
        VALUE(ri_gui_services) TYPE REF TO zif_abapgit_gui_services .
    CLASS-METHODS set_html_viewer
      IMPORTING
        !ii_html_viewer TYPE REF TO zif_abapgit_html_viewer .
  PROTECTED SECTION.
  PRIVATE SECTION.
ENDCLASS.
 
 
 
CLASS zcl_abapgit_ui_injector IMPLEMENTATION.
 
 
  METHOD get_dummy_gui_services.
 
    ri_gui_services = lcl_gui_services_dummy=>create( ).
 
  ENDMETHOD.
 
 
  METHOD set_frontend_services.
 
    zcl_abapgit_ui_factory=>gi_fe_services = ii_fe_serv.
 
  ENDMETHOD.
 
 
  METHOD set_gui_services.
 
    zcl_abapgit_ui_factory=>gi_gui_services = ii_gui_services.
 
  ENDMETHOD.
 
 
  METHOD set_html_viewer.
 
    zcl_abapgit_ui_factory=>gi_html_viewer = ii_html_viewer.
 
  ENDMETHOD.
 
 
  METHOD set_popups.
 
    zcl_abapgit_ui_factory=>gi_popups = ii_popups.
 
  ENDMETHOD.
ENDCLASS.