[jboss-cvs] jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info ...
Julien Viet
julien at jboss.com
Mon Jul 31 15:29:56 EDT 2006
User: julien
Date: 06/07/31 15:29:56
Modified: portlet/src/main/org/jboss/portal/test/portlet/info
CapabilitiesInfoTest.java ModeInfoTest.java
SecurityInfoTest.java
Log:
- moved the portal api in the api module in order to have a standalone jar
- JBPORTAL-631 : Try to move org.jboss.portlet package to the api module
- IPC support in 2.4 (only for local portlets)
Revision Changes Path
1.7 +3 -3 jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info/CapabilitiesInfoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: CapabilitiesInfoTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info/CapabilitiesInfoTest.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -b -r1.6 -r1.7
--- CapabilitiesInfoTest.java 9 Jul 2006 12:04:17 -0000 1.6
+++ CapabilitiesInfoTest.java 31 Jul 2006 19:29:56 -0000 1.7
@@ -28,12 +28,12 @@
import org.jboss.portal.portlet.info.PortletInfo;
import org.jboss.portal.portlet.info.WindowStateInfo;
import org.jboss.portal.portlet.info.ModeInfo;
-import org.jboss.portal.portlet.Mode;
+import org.jboss.portal.Mode;
import org.jboss.portal.server.ServerInvocation;
import org.jboss.portal.test.framework.container.result.AssertResult;
import org.jboss.portal.test.framework.container.result.Result;
import org.jboss.portal.test.server.AbstractTest;
-import org.jboss.portal.portlet.WindowState;
+import org.jboss.portal.WindowState;
import java.util.Locale;
import java.util.Set;
@@ -42,7 +42,7 @@
/**
* @author <a href="mailto:chris.laprun at jboss.com">Chris Laprun</a>
- * @version $Revision: 1.6 $
+ * @version $Revision: 1.7 $
*/
public class CapabilitiesInfoTest extends AbstractTest
{
1.3 +2 -2 jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info/ModeInfoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: ModeInfoTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info/ModeInfoTest.java,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- ModeInfoTest.java 9 Jul 2006 12:04:17 -0000 1.2
+++ ModeInfoTest.java 31 Jul 2006 19:29:56 -0000 1.3
@@ -28,7 +28,7 @@
import org.jboss.portal.portlet.container.PortletContainer;
import org.jboss.portal.portlet.info.CapabilitiesInfo;
import org.jboss.portal.portlet.info.ModeInfo;
-import org.jboss.portal.portlet.Mode;
+import org.jboss.portal.Mode;
import org.jboss.portal.server.ServerInvocation;
import java.util.Set;
@@ -37,7 +37,7 @@
/**
* @author <a href="mailto:boleslaw.dawidowicz at jboss.com">Boleslaw Dawidowicz</a>
- * @version $Revision: 1.2 $
+ * @version $Revision: 1.3 $
*/
public class ModeInfoTest extends AbstractTest
{
1.4 +4 -4 jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info/SecurityInfoTest.java
(In the diff below, changes in quantity of whitespace are not shown.)
Index: SecurityInfoTest.java
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/portlet/src/main/org/jboss/portal/test/portlet/info/SecurityInfoTest.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- SecurityInfoTest.java 31 Jul 2006 00:39:31 -0000 1.3
+++ SecurityInfoTest.java 31 Jul 2006 19:29:56 -0000 1.4
@@ -33,7 +33,7 @@
/**
* @author <a href="mailto:boleslaw.dawidowicz at jboss.org">Boleslaw Dawidowicz</a>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
*/
public class SecurityInfoTest extends AbstractTest
{
@@ -60,7 +60,7 @@
{
//This asserts only .isRemotable() as rest is checked in other tests
- PortletContainer container = (PortletContainer)registry.getPortletContainer("/test-info.SecuredPortlet1");
+ PortletContainer container = registry.getPortletContainer("/test-info.SecuredPortlet1");
PortletInfo info = container.getInfo();
SecurityInfo secInfo = info.getSecurity();
@@ -71,7 +71,7 @@
assertTrue(secInfo.containsTransportGuarantee(TransportGuarantee.NONE));
- container = (PortletContainer)registry.getPortletContainer("/test-info.SecuredPortlet2");
+ container = registry.getPortletContainer("/test-info.SecuredPortlet2");
info = container.getInfo();
secInfo = info.getSecurity();
@@ -81,7 +81,7 @@
assertTrue(secInfo.containsTransportGuarantee(TransportGuarantee.NONE));
- container = (PortletContainer)registry.getPortletContainer("/test-info.SecuredPortlet3");
+ container = registry.getPortletContainer("/test-info.SecuredPortlet3");
info = container.getInfo();
secInfo = info.getSecurity();
assertEquals(2, secInfo.getTransportGuarantees().size());
More information about the jboss-cvs-commits
mailing list