use of com.google.gwt.user.client.ui.AcceptsOneWidget in project che by eclipse.
the class MavenPagePresenterTest method testGo.
@Test
public void testGo() throws Exception {
AcceptsOneWidget container = Mockito.mock(AcceptsOneWidget.class);
presenter.go(container);
verify(container).setWidget(eq(view));
verify(view).setWorkingDirectory(eq(WORK_DIR));
verify(view).setArguments(eq(ARGUMENTS));
}
use of com.google.gwt.user.client.ui.AcceptsOneWidget in project che by eclipse.
the class SshCategoryPresenterTest method testGo.
@Test
public void testGo() throws Exception {
AcceptsOneWidget container = Mockito.mock(AcceptsOneWidget.class);
arbitraryCategoryPresenter.go(container);
verify(container).setWidget(eq(sshView));
}
use of com.google.gwt.user.client.ui.AcceptsOneWidget in project che by eclipse.
the class ProcessesPanelPresenterTest method testGo.
@Test
public void testGo() throws Exception {
AcceptsOneWidget container = mock(AcceptsOneWidget.class);
presenter.go(container);
verify(container).setWidget(eq(view));
}
use of com.google.gwt.user.client.ui.AcceptsOneWidget in project che by eclipse.
the class ZendDbgConfigurationPagePresenterTest method testGo.
@Test
public void testGo() throws Exception {
AcceptsOneWidget container = Mockito.mock(AcceptsOneWidget.class);
pagePresenter.go(container);
verify(container).setWidget(eq(pageView));
verify(configuration, times(3)).getConnectionProperties();
}
use of com.google.gwt.user.client.ui.AcceptsOneWidget in project che by eclipse.
the class JavaDebugConfigurationPagePresenterTest method testGo.
@Test
public void testGo() throws Exception {
AcceptsOneWidget container = Mockito.mock(AcceptsOneWidget.class);
pagePresenter.go(container);
verify(container).setWidget(eq(pageView));
verify(configuration, times(2)).getHost();
verify(configuration, times(2)).getPort();
verify(pageView).setHost(eq(HOST));
verify(pageView).setPort(eq(PORT));
verify(pageView).setDevHost(eq(TRUE));
}
Aggregations