test_class.declarator: view
test_class.modifier: @Mock
test_class.original_string: @Mock
      DataSetGroupDateEditor.View view;
test_class.type: DataSetGroupDateEditor.View
test_class.var_name: view
test_class.declarator: changeEvent
test_class.modifier: @Mock
test_class.original_string: @Mock
      Event<DataSetGroupDateChanged> changeEvent;
test_class.type: Event<DataSetGroupDateChanged>
test_class.var_name: changeEvent
test_class.declarator: presenter
test_class.original_string: DataSetGroupDateEditor presenter;
test_class.type: DataSetGroupDateEditor
test_class.var_name: presenter
test_class.file: dashbuilder-client/dashbuilder-displayer-client/src/test/java/org/dashbuilder/displayer/client/widgets/group/DataSetGroupDateEditorTest.java
test_class.identifier: DataSetGroupDateEditorTest
test_case.body: @Test
      public void testFirstMonthDayVisibility() {
          presenter.init(new ColumnGroup("col", "col", FIXED, 15, QUARTER.toString()));
          verify(view).setFirstMonthVisibility(false);
          verify(view).setFirstDayVisibility(false);
          verify(view, never()).setFirstDayVisibility(true);
          verify(view, never()).setFirstMonthVisibility(true);
  
          reset(view);
          presenter.init(new ColumnGroup("col", "col", FIXED, 15, MONTH.toString()));
          verify(view).setFirstMonthVisibility(true);
          verify(view).setFirstDayVisibility(false);
          verify(view, never()).setFirstDayVisibility(true);
  
          reset(view);
          presenter.init(new ColumnGroup("col", "col", FIXED, 15, DAY_OF_WEEK.toString()));
          verify(view).setFirstDayVisibility(true);
          verify(view).setFirstMonthVisibility(false);
          verify(view, never()).setFirstMonthVisibility(true);
  
          reset(view);
          presenter.init(new ColumnGroup("col", "col", FIXED, 15, HOUR.toString()));
          verify(view).setFirstMonthVisibility(false);
          verify(view).setFirstDayVisibility(false);
          verify(view, never()).setFirstDayVisibility(true);
          verify(view, never()).setFirstMonthVisibility(true);
  
          reset(view);
          presenter.init(new ColumnGroup("col", "col", FIXED, 15, MINUTE.toString()));
          verify(view).setFirstMonthVisibility(false);
          verify(view).setFirstDayVisibility(false);
          verify(view, never()).setFirstDayVisibility(true);
          verify(view, never()).setFirstMonthVisibility(true);
  
          reset(view);
          presenter.init(new ColumnGroup("col", "col", FIXED, 15, SECOND.toString()));
          verify(view).setFirstMonthVisibility(false);
          verify(view).setFirstDayVisibility(false);
          verify(view, never()).setFirstDayVisibility(true);
          verify(view, never()).setFirstMonthVisibility(true);
  
      }
test_case.class_method_signature: DataSetGroupDateEditorTest.testFirstMonthDayVisibility()
test_case.full_signature: @Test public void testFirstMonthDayVisibility()
test_case.identifier: testFirstMonthDayVisibility
test_case.invocations: init toString setFirstMonthVisibility verify setFirstDayVisibility verify setFirstDayVisibility verify never setFirstMonthVisibility verify never reset init toString setFirstMonthVisibility verify setFirstDayVisibility verify setFirstDayVisibility verify never reset init toString setFirstDayVisibility verify setFirstMonthVisibility verify setFirstMonthVisibility verify never reset init toString setFirstMonthVisibility verify setFirstDayVisibility verify setFirstDayVisibility verify never setFirstMonthVisibility verify never reset init toString setFirstMonthVisibility verify setFirstDayVisibility verify setFirstDayVisibility verify never setFirstMonthVisibility verify never reset init toString setFirstMonthVisibility verify setFirstDayVisibility verify setFirstDayVisibility verify never setFirstMonthVisibility verify never
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testFirstMonthDayVisibility()
focal_class.declarator: view = null
focal_class.original_string: View view = null;
focal_class.type: View
focal_class.var_name: view
focal_class.declarator: columnGroup = null
focal_class.original_string: ColumnGroup columnGroup = null;
focal_class.type: ColumnGroup
focal_class.var_name: columnGroup
focal_class.declarator: changeEvent = null
focal_class.original_string: Event<DataSetGroupDateChanged> changeEvent = null;
focal_class.type: Event<DataSetGroupDateChanged>
focal_class.var_name: changeEvent
focal_class.file: dashbuilder-client/dashbuilder-displayer-client/src/main/java/org/dashbuilder/displayer/client/widgets/group/DataSetGroupDateEditor.java
focal_class.identifier: DataSetGroupDateEditor
focal_class.interfaces: implements IsWidget
focal_class.class_method_signature: DataSetGroupDateEditor.DataSetGroupDateEditor(View view, Event<DataSetGroupDateChanged> changeEvent)
focal_class.full_signature: @Inject public  DataSetGroupDateEditor(View view, Event<DataSetGroupDateChanged> changeEvent)
focal_class.identifier: DataSetGroupDateEditor
focal_class.modifiers: @Inject public
focal_class.parameters: (View view, Event<DataSetGroupDateChanged> changeEvent)
focal_class.signature:  DataSetGroupDateEditor(View view, Event<DataSetGroupDateChanged> changeEvent)
focal_class.class_method_signature: DataSetGroupDateEditor.asWidget()
focal_class.full_signature: @Override public Widget asWidget()
focal_class.identifier: asWidget
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Widget
focal_class.signature: Widget asWidget()
focal_class.class_method_signature: DataSetGroupDateEditor.getColumnGroup()
focal_class.full_signature: public ColumnGroup getColumnGroup()
focal_class.identifier: getColumnGroup
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: ColumnGroup
focal_class.signature: ColumnGroup getColumnGroup()
focal_class.class_method_signature: DataSetGroupDateEditor.init(ColumnGroup columnGroup)
focal_class.full_signature: public void init(ColumnGroup columnGroup)
focal_class.identifier: init
focal_class.modifiers: public
focal_class.parameters: (ColumnGroup columnGroup)
focal_class.return: void
focal_class.signature: void init(ColumnGroup columnGroup)
focal_class.class_method_signature: DataSetGroupDateEditor.isFixedStrategy()
focal_class.full_signature: public boolean isFixedStrategy()
focal_class.identifier: isFixedStrategy
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isFixedStrategy()
focal_class.class_method_signature: DataSetGroupDateEditor.initIntervalTypeSelector()
focal_class.full_signature: protected void initIntervalTypeSelector()
focal_class.identifier: initIntervalTypeSelector
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initIntervalTypeSelector()
focal_class.class_method_signature: DataSetGroupDateEditor.getListOfIntervalTypes()
focal_class.full_signature: public List<DateIntervalType> getListOfIntervalTypes()
focal_class.identifier: getListOfIntervalTypes
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: List<DateIntervalType>
focal_class.signature: List<DateIntervalType> getListOfIntervalTypes()
focal_class.class_method_signature: DataSetGroupDateEditor.initFirstDayListBox()
focal_class.full_signature: protected void initFirstDayListBox()
focal_class.identifier: initFirstDayListBox
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initFirstDayListBox()
focal_class.class_method_signature: DataSetGroupDateEditor.initFirstMonthListBox()
focal_class.full_signature: protected void initFirstMonthListBox()
focal_class.identifier: initFirstMonthListBox
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initFirstMonthListBox()
focal_class.class_method_signature: DataSetGroupDateEditor.initMaxIntervalsTextBox()
focal_class.full_signature: protected void initMaxIntervalsTextBox()
focal_class.identifier: initMaxIntervalsTextBox
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initMaxIntervalsTextBox()
focal_class.class_method_signature: DataSetGroupDateEditor.initEmptyIntervalsFlag()
focal_class.full_signature: protected void initEmptyIntervalsFlag()
focal_class.identifier: initEmptyIntervalsFlag
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void initEmptyIntervalsFlag()
focal_class.class_method_signature: DataSetGroupDateEditor.resetCommon()
focal_class.full_signature: protected void resetCommon()
focal_class.identifier: resetCommon
focal_class.modifiers: protected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void resetCommon()
focal_class.class_method_signature: DataSetGroupDateEditor.gotoDynamicMode()
focal_class.full_signature: public void gotoDynamicMode()
focal_class.identifier: gotoDynamicMode
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void gotoDynamicMode()
focal_class.class_method_signature: DataSetGroupDateEditor.gotoFixedMode()
focal_class.full_signature: public void gotoFixedMode()
focal_class.identifier: gotoFixedMode
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void gotoFixedMode()
focal_class.class_method_signature: DataSetGroupDateEditor.onFixedStrategyChanged()
focal_class.full_signature: public void onFixedStrategyChanged()
focal_class.identifier: onFixedStrategyChanged
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onFixedStrategyChanged()
focal_class.class_method_signature: DataSetGroupDateEditor.onIntervalTypeSelected()
focal_class.full_signature:  void onIntervalTypeSelected()
focal_class.identifier: onIntervalTypeSelected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onIntervalTypeSelected()
focal_class.class_method_signature: DataSetGroupDateEditor.onEmptyIntervalsChanged()
focal_class.full_signature:  void onEmptyIntervalsChanged()
focal_class.identifier: onEmptyIntervalsChanged
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onEmptyIntervalsChanged()
focal_class.class_method_signature: DataSetGroupDateEditor.onMaxIntervalsChanged()
focal_class.full_signature:  void onMaxIntervalsChanged()
focal_class.identifier: onMaxIntervalsChanged
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onMaxIntervalsChanged()
focal_class.class_method_signature: DataSetGroupDateEditor.onFirstDaySelected()
focal_class.full_signature:  void onFirstDaySelected()
focal_class.identifier: onFirstDaySelected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onFirstDaySelected()
focal_class.class_method_signature: DataSetGroupDateEditor.onFirstMonthSelected()
focal_class.full_signature:  void onFirstMonthSelected()
focal_class.identifier: onFirstMonthSelected
focal_class.parameters: ()
focal_class.return: void
focal_class.signature: void onFirstMonthSelected()
focal_method.body: public void init(ColumnGroup columnGroup) {
          this.columnGroup = columnGroup;
          if (columnGroup != null) {
              if (isFixedStrategy()) {
                  gotoFixedMode();
              } else {
                  gotoDynamicMode();
              }
          }
      }
focal_method.class_method_signature: DataSetGroupDateEditor.init(ColumnGroup columnGroup)
focal_method.full_signature: public void init(ColumnGroup columnGroup)
focal_method.identifier: init
focal_method.invocations: isFixedStrategy gotoFixedMode gotoDynamicMode
focal_method.modifiers: public
focal_method.parameters: (ColumnGroup columnGroup)
focal_method.return: void
focal_method.signature: void init(ColumnGroup columnGroup)