@Test public void testAddHelpContent() { final Placement p = mock(Placement.class); presenter.addHelpContent("t1", "c1", p); verify(view, times(1)).addHelpContent("t1", "c1", p); verify(view, times(0)).init(presenter); verify(view, times(0)).addIntervalTypeItem(anyString()); verify(view, times(0)).setSelectedIntervalType(anyInt()); verify(view, times(0)).getSelectedIntervalTypeIndex(); verify(view, times(0)).setQuantity(anyDouble()); verify(view, times(0)).getQuantity(); verify(view, times(0)).setEnabled(anyBoolean()); }
public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); }
DataSetDefRefreshIntervalEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshIntervalEditor { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } }
DataSetDefRefreshIntervalEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshIntervalEditor { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } @Inject  DataSetDefRefreshIntervalEditor(final View view,
                                           final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent); }
DataSetDefRefreshIntervalEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshIntervalEditor { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } @Inject  DataSetDefRefreshIntervalEditor(final View view,
                                           final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent); @PostConstruct void init(); @Override Widget asWidget(); void addHelpContent(final String title, final String content, final Placement placement); @Override void setEnabled(final boolean isEnabled); @Override void setValue(final String value); @Override String getValue(); }
DataSetDefRefreshIntervalEditor implements IsWidget, org.dashbuilder.dataset.client.editor.DataSetDefRefreshIntervalEditor { public void addHelpContent(final String title, final String content, final Placement placement) { view.addHelpContent(title, content, placement); } @Inject  DataSetDefRefreshIntervalEditor(final View view,
                                           final Event<org.dashbuilder.common.client.event.ValueChangeEvent<String>> valueChangeEvent); @PostConstruct void init(); @Override Widget asWidget(); void addHelpContent(final String title, final String content, final Placement placement); @Override void setEnabled(final boolean isEnabled); @Override void setValue(final String value); @Override String getValue(); public View view; }