Subversion Repositories eFlore/Applications.del

Rev

Rev 534 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 534 Rev 569
Line 116... Line 116...
116
	}
116
	}
Line 117... Line 117...
117
 
117
 
Line 118... Line 118...
118
	private PaginationPresenteur.Vue creerMockVuePaginationPresenteurBasique() {
118
	private PaginationPresenteur.Vue creerMockVuePaginationPresenteurBasique() {
119
 
119
 
120
		PaginationPresenteur.Vue vueMock = Mockito.mock(PaginationPresenteur.Vue.class);
120
		PaginationPresenteur.Vue vueMock = Mockito.mock(PaginationPresenteur.Vue.class);
121
		HasWidgets zoneLiens = Mockito.mock(HasWidgets.class);
121
		HasChangeHandlers saisiePageCourante = Mockito.mock(HasChangeHandlers.class);
122
		HasChangeHandlers selecteurPas = Mockito.mock(HasChangeHandlers.class);
122
		HasChangeHandlers selecteurPas = Mockito.mock(HasChangeHandlers.class);
123
		HasClickHandlers boutonPrecedent = Mockito.mock(HasClickHandlers.class);
123
		HasClickHandlers boutonPrecedent = Mockito.mock(HasClickHandlers.class);
124
		HasClickHandlers boutonSuivant = Mockito.mock(HasClickHandlers.class);
124
		HasClickHandlers boutonSuivant = Mockito.mock(HasClickHandlers.class);
Line 125... Line 125...
125
		HasClickHandlers boutonPremierePage = Mockito.mock(HasClickHandlers.class);
125
		HasClickHandlers boutonPremierePage = Mockito.mock(HasClickHandlers.class);
126
		HasClickHandlers boutonDernierePage = Mockito.mock(HasClickHandlers.class);
126
		HasClickHandlers boutonDernierePage = Mockito.mock(HasClickHandlers.class);
127
 
127
 
128
		when(vueMock.getZoneLiens()).thenReturn(zoneLiens);
128
		when(vueMock.getSaisiePageCourante()).thenReturn(saisiePageCourante);
129
		when(vueMock.getSelecteurPas()).thenReturn(selecteurPas);
129
		when(vueMock.getSelecteurPas()).thenReturn(selecteurPas);
130
		when(vueMock.getBoutonPrecedent()).thenReturn(boutonPrecedent);
130
		when(vueMock.getBoutonPrecedent()).thenReturn(boutonPrecedent);