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
This commit is contained in:
Giancarlo Panichi 2013-10-24 14:38:04 +00:00 committed by Giancarlo Panichi
parent dbdbc8d658
commit 02c01f5082
3 changed files with 9 additions and 9 deletions

View File

@ -18,8 +18,8 @@
<!-- Servlets Mapping -->
<servlet-mapping>
<servlet-name>TDGXTService</servlet-name>
<url-pattern>tdgxtservice/TDGWTService</url-pattern>
<servlet-name>TDGWTService</servlet-name>
<url-pattern>tdgwtservice/TDGWTService</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>jUnitHostImpl</servlet-name>

View File

@ -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

View File

@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<module rename-to="TDOpenJUnit">
<!-- Inherit our applications main module. -->
<inherits name='org.gcube.portlets.user.td.gxtservice.GXTService' />
<inherits name='org.gcube.portlets.user.td.gwtservice.GWTService' />
<!-- Specify the path to any remote services. -->
<servlet path="/TDGXTService"
class="org.gcube.portlets.user.td.gxtservice.server.TDGXTServiceImpl" />
<servlet path="/TDGWTService"
class="org.gcube.portlets.user.td.gwtservice.server.TDGWTServiceImpl" />
<!-- Specify the paths for translatable code -->