@Test public void init() { presenterSpy.init(); verify(coverageReportDonutPresenterMock, times(1)).init(eq(donutChartMock)); verify(coverageElementPresenterMock, times(1)).initElementList(eq(list)); verify(coverageScenarioListPresenterMock, times(1)).initScenarioList(eq(scenarioList)); verify(presenterSpy, times(1)).resetDownload(); }
@PostConstruct public void init() { coverageReportDonutPresenter.init(view.getDonutChart()); coverageElementPresenter.initElementList(view.getList()); coverageScenarioListPresenter.initScenarioList(view.getScenarioList()); resetDownload(); }
CoverageReportPresenter extends AbstractSubDockPresenter<CoverageReportView> implements CoverageReportView.Presenter { @PostConstruct public void init() { coverageReportDonutPresenter.init(view.getDonutChart()); coverageElementPresenter.initElementList(view.getList()); coverageScenarioListPresenter.initScenarioList(view.getScenarioList()); resetDownload(); } }
CoverageReportPresenter extends AbstractSubDockPresenter<CoverageReportView> implements CoverageReportView.Presenter { @PostConstruct public void init() { coverageReportDonutPresenter.init(view.getDonutChart()); coverageElementPresenter.initElementList(view.getList()); coverageScenarioListPresenter.initScenarioList(view.getScenarioList()); resetDownload(); } CoverageReportPresenter(); @Inject  CoverageReportPresenter(CoverageReportView view,
                                   CoverageReportDonutPresenter coverageReportDonutPresenter,
                                   CoverageElementPresenter coverageElementPresenter,
                                   CoverageScenarioListPresenter coverageScenarioListPresenter); }
CoverageReportPresenter extends AbstractSubDockPresenter<CoverageReportView> implements CoverageReportView.Presenter { @PostConstruct public void init() { coverageReportDonutPresenter.init(view.getDonutChart()); coverageElementPresenter.initElementList(view.getList()); coverageScenarioListPresenter.initScenarioList(view.getScenarioList()); resetDownload(); } CoverageReportPresenter(); @Inject  CoverageReportPresenter(CoverageReportView view,
                                   CoverageReportDonutPresenter coverageReportDonutPresenter,
                                   CoverageElementPresenter coverageElementPresenter,
                                   CoverageScenarioListPresenter coverageScenarioListPresenter); @PostConstruct void init(); @Override void reset(); @Override void populateCoverageReport(Type type, SimulationRunMetadata simulationRunMetadata); @Override void onDownloadReportButtonClicked(); @Override void setDownloadReportCommand(Command downloadReportCommand); }
CoverageReportPresenter extends AbstractSubDockPresenter<CoverageReportView> implements CoverageReportView.Presenter { @PostConstruct public void init() { coverageReportDonutPresenter.init(view.getDonutChart()); coverageElementPresenter.initElementList(view.getList()); coverageScenarioListPresenter.initScenarioList(view.getScenarioList()); resetDownload(); } CoverageReportPresenter(); @Inject  CoverageReportPresenter(CoverageReportView view,
                                   CoverageReportDonutPresenter coverageReportDonutPresenter,
                                   CoverageElementPresenter coverageElementPresenter,
                                   CoverageScenarioListPresenter coverageScenarioListPresenter); @PostConstruct void init(); @Override void reset(); @Override void populateCoverageReport(Type type, SimulationRunMetadata simulationRunMetadata); @Override void onDownloadReportButtonClicked(); @Override void setDownloadReportCommand(Command downloadReportCommand); static final int DEFAULT_PREFERRED_WIDTH; static final String IDENTIFIER; }