From 02c01f50828de42ece6d1d847c693fce9d09c206 Mon Sep 17 00:00:00 2001 From: Giancarlo Panichi Date: Thu, 24 Oct 2013 14:38:04 +0000 Subject: [PATCH] fixed servlet name git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-open-widget@84077 82a268e6-3cf1-43bd-a215-b396298e98cf --- src/main/webapp/WEB-INF/web.xml | 4 ++-- .../portlets/user/td/openwidget/client/GwtTestTDOpen.java | 8 ++++---- .../gcube/portlets/user/td/openwidget/TDOpenJUnit.gwt.xml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml index a2569e1..2def0c5 100644 --- a/src/main/webapp/WEB-INF/web.xml +++ b/src/main/webapp/WEB-INF/web.xml @@ -18,8 +18,8 @@ - TDGXTService - tdgxtservice/TDGWTService + TDGWTService + tdgwtservice/TDGWTService jUnitHostImpl diff --git a/src/test/java/org/gcube/portlets/user/td/openwidget/client/GwtTestTDOpen.java b/src/test/java/org/gcube/portlets/user/td/openwidget/client/GwtTestTDOpen.java index 6530dde..34ad136 100644 --- a/src/test/java/org/gcube/portlets/user/td/openwidget/client/GwtTestTDOpen.java +++ b/src/test/java/org/gcube/portlets/user/td/openwidget/client/GwtTestTDOpen.java @@ -1,4 +1,4 @@ -package org.gcube.portlets.user.td.open.client; +package org.gcube.portlets.user.td.openwidget.client; import java.util.List; @@ -27,7 +27,7 @@ public class GwtTestTDOpen extends GWTTestCase { * Must refer to a valid module that sources this class. */ public String getModuleName() { - return "org.gcube.portlets.user.td.open.TDOpenJUnit"; + return "org.gcube.portlets.user.td.openwidget.TDOpenJUnit"; } /** @@ -37,8 +37,8 @@ public class GwtTestTDOpen extends GWTTestCase { // Create the service that we will test. TDGWTServiceAsync tdGXTService = GWT.create(TDGWTService.class); ServiceDefTarget target = (ServiceDefTarget) tdGXTService; - System.out.println(GWT.getModuleBaseURL() + "TDGXTService"); - target.setServiceEntryPoint(GWT.getModuleBaseURL() + "TDGXTService"); + System.out.println(GWT.getModuleBaseURL() + "TDGWTService"); + target.setServiceEntryPoint(GWT.getModuleBaseURL() + "TDGWTService"); // Since RPC calls are asynchronous, we will need to wait for a response // after this test method returns. This line tells the test runner to wait diff --git a/src/test/resources/org/gcube/portlets/user/td/openwidget/TDOpenJUnit.gwt.xml b/src/test/resources/org/gcube/portlets/user/td/openwidget/TDOpenJUnit.gwt.xml index 71ededf..2eb1e56 100644 --- a/src/test/resources/org/gcube/portlets/user/td/openwidget/TDOpenJUnit.gwt.xml +++ b/src/test/resources/org/gcube/portlets/user/td/openwidget/TDOpenJUnit.gwt.xml @@ -1,11 +1,11 @@ - + - +