Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-wizard-widget@86542 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-12-04 13:32:03 +00:00 committed by Giancarlo Panichi
parent f982fd9b17
commit 4fd46c71ab
1 changed files with 4 additions and 5 deletions

View File

@ -1,7 +1,6 @@
package org.gcube.portlets.user.td.wizardwidget.client;
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTService;
import org.gcube.portlets.user.td.gwtservice.client.rpc.TDGWTServiceAsync;
import com.google.gwt.core.client.GWT;
@ -33,8 +32,8 @@ public class GwtTestWizard extends GWTTestCase {
*/
public void testWizard() {
// Create the service that we will test.
TDGWTServiceAsync tdGXTService = TDGWTServiceAsync.INSTANCE;
ServiceDefTarget target = (ServiceDefTarget) tdGXTService;
TDGWTServiceAsync tdGWTService = TDGWTServiceAsync.INSTANCE;
ServiceDefTarget target = (ServiceDefTarget) tdGWTService;
System.out.println(GWT.getModuleBaseURL() + "/TDGWTService");
target.setServiceEntryPoint(GWT.getModuleBaseURL() + "/TDGWTService");
@ -46,7 +45,7 @@ public class GwtTestWizard extends GWTTestCase {
// Send a request to the server.
/*try {
TDGXTServiceAsync.INSTANCE.getTabResource(
TDGWTServiceAsync.INSTANCE.getTabResource(
new AsyncCallback<TabResource>() {
@ -70,7 +69,7 @@ public class GwtTestWizard extends GWTTestCase {
}
});
} catch (TDGXTServiceException e) {
} catch (TDGWTServiceException e) {
System.out.println("Error in comunications: "+e.getLocalizedMessage());
e.printStackTrace();
}