Subversion Repositories eFlore/Applications.del

Compare Revisions

Ignore whitespace Rev 958 → Rev 959

/trunk/src/org/tela_botanica/del/test/vues/rechercheimages/MoteurRechercheImagePresenteurTest.java
3,27 → 3,29
import org.junit.Before;
import org.junit.Test;
import org.mockito.Mockito;
import org.tela_botanica.del.client.services.rest.ProtocoleService;
import org.tela_botanica.del.client.vues.rechercheimages.moteur.MoteurRechercheImagePresenteur;
 
import com.google.gwt.user.client.ui.HasWidgets;
 
public class MoteurRechercheImagePresenteurTest {
 
MoteurRechercheImagePresenteur moteurRecherchePresenteur;
MoteurRechercheImagePresenteur.Vue moteurRechercheVue;
HasWidgets container;
 
@Before
public void setUp() {
moteurRechercheVue = Mockito.mock(MoteurRechercheImagePresenteur.Vue.class, Mockito.RETURNS_MOCKS);
moteurRecherchePresenteur = new MoteurRechercheImagePresenteur(moteurRechercheVue);
ProtocoleService protocoleService = Mockito.mock(ProtocoleService.class);
moteurRecherchePresenteur = new MoteurRechercheImagePresenteur(moteurRechercheVue, protocoleService);
 
container = Mockito.mock(HasWidgets.class);
}
@Test
 
@Test
public void testerMoteurRechercheImage() {
//TODO faire un test GWTTestCase
// TODO faire un test GWTTestCase
}
 
}