diff --git a/src/test/java/org/gcube/portlets/user/workspace/client/GwtTestWorkspacePortlet.java b/src/test/java/org/gcube/portlets/user/workspace/client/GwtTestWorkspacePortlet.java index 4caa50e..cb3d32c 100644 --- a/src/test/java/org/gcube/portlets/user/workspace/client/GwtTestWorkspacePortlet.java +++ b/src/test/java/org/gcube/portlets/user/workspace/client/GwtTestWorkspacePortlet.java @@ -1,46 +1,46 @@ -package org.gcube.portlets.user.workspace.client; - -import org.gcube.portlets.user.workspace.shared.FieldVerifier; - -import com.google.gwt.junit.client.GWTTestCase; - -/** - * GWT JUnit integration tests must extend GWTTestCase. - * Using "GwtTest*" naming pattern exclude them from running with - * surefire during the test phase. - * - * If you run the tests using the Maven command line, you will have to - * navigate with your browser to a specific url given by Maven. - * See http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html - * for details. - */ -public class GwtTestWorkspacePortlet extends GWTTestCase { - - /** - * Must refer to a valid module that sources this class. - */ - public String getModuleName() { - return "org.gcube.portlets.user.workspace.WorkspacePortletJUnit"; - } - - /** - * Tests the FieldVerifier. - */ - public void testFieldVerifier() { - assertFalse(FieldVerifier.isValidName(null)); - assertFalse(FieldVerifier.isValidName("")); - assertFalse(FieldVerifier.isValidName("a")); - assertFalse(FieldVerifier.isValidName("ab")); - assertFalse(FieldVerifier.isValidName("abc")); - assertTrue(FieldVerifier.isValidName("abcd")); - } - - /** - * This test will send a request to the server using the greetServer method in - * GreetingService and verify the response. - */ - public void testGreetingService() { - } - - -} +//package org.gcube.portlets.user.workspace.client; +// +//import org.gcube.portlets.user.workspace.shared.FieldVerifier; +// +//import com.google.gwt.junit.client.GWTTestCase; +// +///** +// * GWT JUnit integration tests must extend GWTTestCase. +// * Using "GwtTest*" naming pattern exclude them from running with +// * surefire during the test phase. +// * +// * If you run the tests using the Maven command line, you will have to +// * navigate with your browser to a specific url given by Maven. +// * See http://mojo.codehaus.org/gwt-maven-plugin/user-guide/testing.html +// * for details. +// */ +//public class GwtTestWorkspacePortlet extends GWTTestCase { +// +// /** +// * Must refer to a valid module that sources this class. +// */ +// public String getModuleName() { +// return "org.gcube.portlets.user.workspace.WorkspacePortletJUnit"; +// } +// +// /** +// * Tests the FieldVerifier. +// */ +// public void testFieldVerifier() { +// assertFalse(FieldVerifier.isValidName(null)); +// assertFalse(FieldVerifier.isValidName("")); +// assertFalse(FieldVerifier.isValidName("a")); +// assertFalse(FieldVerifier.isValidName("ab")); +// assertFalse(FieldVerifier.isValidName("abc")); +// assertTrue(FieldVerifier.isValidName("abcd")); +// } +// +// /** +// * This test will send a request to the server using the greetServer method in +// * GreetingService and verify the response. +// */ +// public void testGreetingService() { +// } +// +// +//}