Subversion Repositories eFlore/Applications.del

Rev

Rev 882 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 882 Rev 959
Line 10... Line 10...
10
import org.mockito.invocation.InvocationOnMock;
10
import org.mockito.invocation.InvocationOnMock;
11
import org.mockito.stubbing.Answer;
11
import org.mockito.stubbing.Answer;
12
import org.tela_botanica.del.client.services.rest.ImageService;
12
import org.tela_botanica.del.client.services.rest.ImageService;
13
import org.tela_botanica.del.client.services.rest.VoteProtocoleService;
13
import org.tela_botanica.del.client.services.rest.VoteProtocoleService;
14
import org.tela_botanica.del.client.services.rest.async.ImagesParTaxonCallback;
14
import org.tela_botanica.del.client.services.rest.async.ImagesParTaxonCallback;
15
import org.tela_botanica.del.client.utils.MockDatasource;
-
 
16
import org.tela_botanica.del.client.vues.comparaisoneflore.ComparaisonEflorePresenteur;
15
import org.tela_botanica.del.client.vues.comparaisoneflore.ComparaisonEflorePresenteur;
17
import org.tela_botanica.del.client.vues.comparaisoneflore.ComparaisonEflorePresenteur.Vue;
16
import org.tela_botanica.del.client.vues.comparaisoneflore.ComparaisonEflorePresenteur.Vue;
-
 
17
import org.tela_botanica.del.test.MockDatasource;
Line 18... Line 18...
18
 
18
 
Line 19... Line 19...
19
public class ComparaisonEflorePresenteurTest {
19
public class ComparaisonEflorePresenteurTest {
Line 20... Line 20...
20
 
20
 
21
	private ComparaisonEflorePresenteur comparaisonEflorePresenteur;
21
	private ComparaisonEflorePresenteur comparaisonEflorePresenteur;
22
 
22
 
23
	@Before
23
	@Before
24
	public void setUp() {
-
 
Line 25... Line 24...
25
		Vue vue = mock(Vue.class);
24
	public void setUp() {
26
		ImageService imageService = Mockito.mock(ImageService.class);
25
		Vue vue = mock(Vue.class);
27
		VoteProtocoleService voteProtocoleService = mock(VoteProtocoleService.class);
26
		ImageService imageService = Mockito.mock(ImageService.class);
28
 
27