@Test public void showOverviewContentTest() { doReturn(mock(OverviewScreenPresenter.View.class)).when(overviewScreen).getView(); presenter.showOverviewContent(); verify(view).setContent(any(HTMLElement.class)); }
public void showOverviewContent() { this.view.setContent(this.overviewScreen.getView().getElement()); }
ChangeRequestReviewScreenPresenter { public void showOverviewContent() { this.view.setContent(this.overviewScreen.getView().getElement()); } }
ChangeRequestReviewScreenPresenter { public void showOverviewContent() { this.view.setContent(this.overviewScreen.getView().getElement()); } @Inject  ChangeRequestReviewScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final LibraryPlaces libraryPlaces,
                                              final Caller<ChangeRequestService> changeRequestService,
                                              final Caller<RepositoryService> repositoryService,
                                              final BusyIndicatorView busyIndicatorView,
                                              final OverviewScreenPresenter overviewScreen,
                                              final ChangedFilesScreenPresenter changedFilesScreen,
                                              final Promises promises,
                                              final ProjectController projectController,
                                              final Event<NotificationEvent> notificationEvent,
                                              final SessionInfo sessionInfo,
                                              final SquashChangeRequestPopUpPresenter squashChangeRequestPopUpPresenter); }
ChangeRequestReviewScreenPresenter { public void showOverviewContent() { this.view.setContent(this.overviewScreen.getView().getElement()); } @Inject  ChangeRequestReviewScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final LibraryPlaces libraryPlaces,
                                              final Caller<ChangeRequestService> changeRequestService,
                                              final Caller<RepositoryService> repositoryService,
                                              final BusyIndicatorView busyIndicatorView,
                                              final OverviewScreenPresenter overviewScreen,
                                              final ChangedFilesScreenPresenter changedFilesScreen,
                                              final Promises promises,
                                              final ProjectController projectController,
                                              final Event<NotificationEvent> notificationEvent,
                                              final SessionInfo sessionInfo,
                                              final SquashChangeRequestPopUpPresenter squashChangeRequestPopUpPresenter); @PostConstruct void postConstruct(); void refreshOnFocus(@Observes final SelectPlaceEvent selectPlaceEvent); void onChangeRequestUpdated(@Observes final ChangeRequestUpdatedEvent event); void onChangeRequestStatusUpdated(@Observes final ChangeRequestStatusUpdatedEvent event); void onRepositoryFileListUpdated(@Observes final RepositoryFileListUpdatedEvent event); void onRepositoryUpdated(@Observes final RepositoryUpdatedEvent event); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView View getView(); void showOverviewContent(); void showChangedFilesContent(); void cancel(); void reject(); void squash(); void merge(); void revert(); void close(); void reopen(); }
ChangeRequestReviewScreenPresenter { public void showOverviewContent() { this.view.setContent(this.overviewScreen.getView().getElement()); } @Inject  ChangeRequestReviewScreenPresenter(final View view,
                                              final TranslationService ts,
                                              final LibraryPlaces libraryPlaces,
                                              final Caller<ChangeRequestService> changeRequestService,
                                              final Caller<RepositoryService> repositoryService,
                                              final BusyIndicatorView busyIndicatorView,
                                              final OverviewScreenPresenter overviewScreen,
                                              final ChangedFilesScreenPresenter changedFilesScreen,
                                              final Promises promises,
                                              final ProjectController projectController,
                                              final Event<NotificationEvent> notificationEvent,
                                              final SessionInfo sessionInfo,
                                              final SquashChangeRequestPopUpPresenter squashChangeRequestPopUpPresenter); @PostConstruct void postConstruct(); void refreshOnFocus(@Observes final SelectPlaceEvent selectPlaceEvent); void onChangeRequestUpdated(@Observes final ChangeRequestUpdatedEvent event); void onChangeRequestStatusUpdated(@Observes final ChangeRequestStatusUpdatedEvent event); void onRepositoryFileListUpdated(@Observes final RepositoryFileListUpdatedEvent event); void onRepositoryUpdated(@Observes final RepositoryUpdatedEvent event); @WorkbenchPartTitle String getTitle(); @WorkbenchPartView View getView(); void showOverviewContent(); void showChangedFilesContent(); void cancel(); void reject(); void squash(); void merge(); void revert(); void close(); void reopen();  }