Author: julien_viet
Date: 2011-06-24 18:31:03 -0400 (Fri, 24 Jun 2011)
New Revision: 6745
Modified:
components/pc/trunk/controller/pom.xml
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/EventControllerContextFailureTestCase.java
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestConstructorTestCase.java
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestTestCase.java
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerTestCase.java
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/WiringEventControllerContext.java
components/pc/trunk/portlet/pom.xml
components/pc/trunk/portlet/src/test/java/org/gatein/pc/portlet/support/PortletSupport.java
Log:
use junit for controller module
Modified: components/pc/trunk/controller/pom.xml
===================================================================
--- components/pc/trunk/controller/pom.xml 2011-06-24 22:04:40 UTC (rev 6744)
+++ components/pc/trunk/controller/pom.xml 2011-06-24 22:31:03 UTC (rev 6745)
@@ -20,29 +20,11 @@
<!-- Dependencies for tests -->
<dependency>
- <groupId>org.jboss.unit</groupId>
- <artifactId>jboss-unit-remote</artifactId>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>3.8.2</version>
<scope>test</scope>
- <exclusions>
- <exclusion>
- <groupId>hibernate</groupId>
- <artifactId>hibernate3</artifactId>
- </exclusion>
- <exclusion>
- <groupId>apache-log4j</groupId>
- <artifactId>log4j</artifactId>
- </exclusion>
- <exclusion>
- <groupId>apache-slide</groupId>
- <artifactId>webdavlib</artifactId>
- </exclusion>
- <exclusion>
- <groupId>apache-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- </exclusion>
- </exclusions>
</dependency>
-
<dependency>
<groupId>org.gatein.pc</groupId>
<artifactId>pc-portlet</artifactId>
@@ -58,45 +40,15 @@
<scope>test</scope>
</dependency>
- <dependency>
- <groupId>apache-xerces</groupId>
- <artifactId>resolver</artifactId>
- </dependency>
- <dependency>
- <groupId>apache-xerces</groupId>
- <artifactId>xercesImpl</artifactId>
- </dependency>
- <dependency>
- <groupId>apache-xerces</groupId>
- <artifactId>xml-apis</artifactId>
- </dependency>
-
</dependencies>
<build>
<plugins>
<plugin>
- <groupId>org.jboss.unit</groupId>
- <artifactId>jboss-unit-tooling-maven2</artifactId>
- <executions>
- <execution>
- <phase>test</phase>
- <goals>
- <goal>execute</goal>
- </goals>
- </execution>
- </executions>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <failOnError>true</failOnError>
- <testsuites>
- <testsuite>
- <config>local-jboss-unit.xml</config>
- </testsuite>
- </testsuites>
- <reports>
- <xml>target/tests/reports/xml</xml>
- <html>target/tests/reports/html</html>
- </reports>
+ <skip>false</skip>
</configuration>
</plugin>
</plugins>
Modified:
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/EventControllerContextFailureTestCase.java
===================================================================
---
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/EventControllerContextFailureTestCase.java 2011-06-24
22:04:40 UTC (rev 6744)
+++
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/EventControllerContextFailureTestCase.java 2011-06-24
22:31:03 UTC (rev 6745)
@@ -36,23 +36,14 @@
import org.gatein.pc.controller.handlers.NoOpEventHandler;
import org.gatein.pc.api.PortletInvokerException;
import org.gatein.pc.api.invocation.response.PortletInvocationResponse;
-import org.jboss.unit.api.pojo.annotations.Test;
-import org.jboss.unit.api.pojo.annotations.Create;
-import static org.jboss.unit.api.Assert.assertInstanceOf;
-import static org.jboss.unit.api.Assert.assertEquals;
-import static org.jboss.unit.api.Assert.assertTrue;
-import static org.jboss.unit.api.Assert.fail;
-import static org.jboss.unit.api.Assert.assertSame;
-
import javax.xml.namespace.QName;
/**
* @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
* @version $Revision: 630 $
*/
-@Test
-public class EventControllerContextFailureTestCase
+public class EventControllerContextFailureTestCase extends junit.framework.TestCase
{
public static final String DST_WINDOW_ID = "/webappdst.dst";
@@ -84,8 +75,8 @@
/** . */
private boolean called;
- @Create
- public void create()
+ @Override
+ protected void setUp() throws Exception
{
request = context.createActionRequest(PortletInvokerSupport.FOO_PORTLET_ID);
srcName = new QName("ns1", "src");
@@ -95,7 +86,6 @@
called = false;
}
- @Test
public void testEventControllerContextFailsDuringEventConsumedCallback() throws
PortletInvokerException
{
WiringEventControllerContext ecc = new WiringEventControllerContext()
@@ -113,7 +103,7 @@
fooPortlet.addHandler(new EventProducerActionHandler(srcName));
barPortlet.addHandler(new NoOpEventHandler());
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse updateResponse = assertInstanceOf(response,
PageUpdateResponse.class);
+ PageUpdateResponse updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.DISTRIBUTION_DONE,
updateResponse.getEventDistributionStatus());
assertTrue(called);
@@ -146,7 +136,6 @@
}
}
- @Test
public void testEventControllerContextFailsDuringEventProducedCallback() throws
PortletInvokerException
{
AbstractEventControllerContext ecc = new AbstractEventControllerContext()
@@ -162,7 +151,7 @@
context.setEventControllerContext(ecc);
fooPortlet.addHandler(new EventProducerActionHandler(srcName));
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse updateResponse = assertInstanceOf(response,
PageUpdateResponse.class);
+ PageUpdateResponse updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.DISTRIBUTION_DONE,
updateResponse.getEventDistributionStatus());
assertTrue(called);
@@ -193,7 +182,6 @@
}
}
- @Test
public void testEventControllerContextFailsDuringEventFailedCallback() throws
PortletInvokerException
{
WiringEventControllerContext ecc = new WiringEventControllerContext()
@@ -211,7 +199,7 @@
fooPortlet.addHandler(new EventProducerActionHandler(srcName));
barPortlet.addHandler(new FailingEventHandler(new RuntimeException()));
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse updateResponse = assertInstanceOf(response,
PageUpdateResponse.class);
+ PageUpdateResponse updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.DISTRIBUTION_DONE,
updateResponse.getEventDistributionStatus());
assertTrue(called);
@@ -244,7 +232,6 @@
}
}
- @Test
public void testEventControllerContextFailsDuringEventDiscardedCallback() throws
PortletInvokerException
{
WiringEventControllerContext ecc = new WiringEventControllerContext()
@@ -262,7 +249,7 @@
context.setEventControllerContext(ecc);
fooPortlet.addHandler(new EventProducerActionHandler(srcName));
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse updateResponse = assertInstanceOf(response,
PageUpdateResponse.class);
+ PageUpdateResponse updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.DISTRIBUTION_DONE,
updateResponse.getEventDistributionStatus());
assertTrue(called);
Modified:
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestConstructorTestCase.java
===================================================================
---
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestConstructorTestCase.java 2011-06-24
22:04:40 UTC (rev 6744)
+++
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestConstructorTestCase.java 2011-06-24
22:31:03 UTC (rev 6745)
@@ -31,8 +31,6 @@
import org.gatein.pc.api.StateString;
import org.gatein.pc.api.OpaqueStateString;
import org.gatein.common.util.ParameterMap;
-import static org.jboss.unit.api.Assert.*;
-import org.jboss.unit.api.pojo.annotations.Test;
import java.util.Map;
import java.util.Collections;
@@ -41,8 +39,7 @@
* @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
* @version $Revision: 630 $
*/
-@Test
-public class PortletControllerRequestConstructorTestCase
+public class PortletControllerRequestConstructorTestCase extends
junit.framework.TestCase
{
private String windowId = "foo";
@@ -53,7 +50,6 @@
private PortletPageNavigationalState pageNS = new StateControllerContextImpl(new
PortletControllerContextSupport()).createPortletPageNavigationalState(false);
private Map<String, String[]> pageNSChanges = Collections.emptyMap();
- @Test
public void testWithNonNullArgs()
{
new PortletActionRequest(windowId, interactionState, body, windowNS, pageNS);
@@ -63,7 +59,6 @@
new PortletResourceRequest(windowId, "foo", resourceState, body, new
PortletResourceRequest.PageScope(windowNS, pageNS));
}
- @Test
public void testWithNullWindowNavigationalState()
{
new PortletActionRequest(windowId, interactionState, body, null, pageNS);
@@ -71,7 +66,6 @@
new PortletResourceRequest(windowId, "foo", resourceState, body, new
PortletResourceRequest.PageScope(null, pageNS));
}
- @Test
public void testNullPageNavigationalState()
{
new PortletActionRequest(windowId, interactionState, body, windowNS, null);
@@ -79,7 +73,6 @@
new PortletResourceRequest(windowId, "foo", resourceState, body, new
PortletResourceRequest.PageScope(windowNS, null));
}
- @Test
public void testWithNullBody()
{
new PortletActionRequest(windowId, interactionState, null, windowNS, pageNS);
@@ -88,7 +81,6 @@
new PortletResourceRequest(windowId, "foo", resourceState, null, new
PortletResourceRequest.PageScope(windowNS, pageNS));
}
- @Test
public void testWithNullResourceId()
{
new PortletResourceRequest(windowId, null, resourceState, body, new
PortletResourceRequest.FullScope());
@@ -96,7 +88,6 @@
new PortletResourceRequest(windowId, null, resourceState, body, new
PortletResourceRequest.PageScope(windowNS, pageNS));
}
- @Test
public void testNullWindowId()
{
try
@@ -141,7 +132,6 @@
}
}
- @Test
public void testNullInteractionState()
{
try
@@ -154,7 +144,6 @@
}
}
- @Test
public void testNullResourceState()
{
try
@@ -183,7 +172,6 @@
}
}
- @Test
public void testNullScope()
{
try
Modified:
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestTestCase.java
===================================================================
---
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestTestCase.java 2011-06-24
22:04:40 UTC (rev 6744)
+++
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerRequestTestCase.java 2011-06-24
22:31:03 UTC (rev 6745)
@@ -22,9 +22,7 @@
*/
package org.gatein.pc.controller;
-import static org.jboss.unit.api.Assert.*;
-
-import org.jboss.unit.api.pojo.annotations.Test;
+import junit.framework.TestCase;
import org.gatein.pc.portlet.support.PortletInvokerSupport;
import org.gatein.pc.portlet.support.PortletSupport;
import org.gatein.pc.api.invocation.response.PortletInvocationResponse;
@@ -51,8 +49,7 @@
* @author <a href="mailto:julien@jboss-portal.org">Julien
Viet</a>
* @version $Revision: 630 $
*/
-@Test
-public class PortletControllerRequestTestCase
+public class PortletControllerRequestTestCase extends TestCase
{
/** . */
@@ -85,7 +82,6 @@
/** . */
OpaqueStateString rs = new OpaqueStateString("rs");
- @Test
public void testPortletControllerActionRequest() throws PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -112,7 +108,6 @@
controller.process(context, action);
}
- @Test
public void testPortletControllerRenderRequest() throws PortletInvokerException
{
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -120,7 +115,6 @@
controller.process(context, render);
}
- @Test
public void testPortletControllerResourceRequestFullScope() throws
PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -150,7 +144,6 @@
controller.process(context, fullServing3);
}
- @Test
public void testPortletControllerResourceRequestPortletScope() throws
PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -182,7 +175,6 @@
controller.process(context, portletServing3);
}
- @Test
public void testPortletControllerResourceRequestPageScope() throws
PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
Modified:
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerTestCase.java
===================================================================
---
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerTestCase.java 2011-06-24
22:04:40 UTC (rev 6744)
+++
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/PortletControllerTestCase.java 2011-06-24
22:31:03 UTC (rev 6745)
@@ -22,6 +22,7 @@
*/
package org.gatein.pc.controller;
+import junit.framework.TestCase;
import org.gatein.pc.controller.request.ControllerRequest;
import org.gatein.pc.controller.request.PortletRenderRequest;
import org.gatein.pc.controller.state.PortletPageNavigationalState;
@@ -47,11 +48,7 @@
import org.gatein.pc.api.invocation.EventInvocation;
import org.gatein.common.util.Tools;
import org.gatein.pc.api.WindowState;
-import org.jboss.unit.api.pojo.annotations.Test;
-import org.jboss.unit.api.pojo.annotations.Create;
-import static org.jboss.unit.api.Assert.*;
-
import javax.xml.namespace.QName;
import java.util.HashMap;
@@ -59,8 +56,7 @@
* @author <a href="mailto:julien@jboss.org">Julien Viet</a>
* @version $Revision: 630 $
*/
-@Test
-public class PortletControllerTestCase
+public class PortletControllerTestCase extends TestCase
{
/** . */
@@ -78,13 +74,12 @@
public static final QName SRC_NAME = new QName("ns1", "src");
public static final QName DST_NAME = new QName("ns2", "dest");
- @Create
- public void create()
+ @Override
+ protected void setUp() throws Exception
{
context.setEventControllerContext(eventControllerContext);
}
- @Test
public void testPortletControllerRenderRequest() throws PortletInvokerException
{
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -93,8 +88,9 @@
PortletWindowNavigationalState windowNS = new
PortletWindowNavigationalState(portletNS, org.gatein.pc.api.Mode.EDIT,
WindowState.MAXIMIZED);
PortletRenderRequest render = new
PortletRenderRequest(PortletInvokerSupport.FOO_PORTLET_ID, windowNS, new
HashMap<String, String[]>(), pageNS);
ControllerResponse response = controller.process(context, render);
- PageUpdateResponse pageUpdate = assertInstanceOf(response,
PageUpdateResponse.class);
- PortletPageNavigationalState pageNS2 =
assertNotNull(pageUpdate.getPageNavigationalState());
+ PageUpdateResponse pageUpdate = (PageUpdateResponse)response;
+ assertNotNull(pageUpdate.getPageNavigationalState());
+ PortletPageNavigationalState pageNS2 = pageUpdate.getPageNavigationalState();
assertEquals(Tools.toSet(PortletInvokerSupport.FOO_PORTLET_ID),
pageNS2.getPortletWindowIds());
PortletWindowNavigationalState windowNS2 =
pageNS2.getPortletWindowNavigationalState(PortletInvokerSupport.FOO_PORTLET_ID);
assertNotNull(windowNS2);
@@ -103,13 +99,11 @@
assertEquals(WindowState.MAXIMIZED, windowNS2.getWindowState());
}
- @Test
public void testAction() throws PortletInvokerException
{
testAction(false);
}
- @Test
public void testActionPublishesAnEvent() throws PortletInvokerException
{
testAction(true);
@@ -165,11 +159,13 @@
//
ControllerRequest request =
context.createActionRequest(PortletInvokerSupport.FOO_PORTLET_ID);
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse pageUpdate = assertInstanceOf(response,
PageUpdateResponse.class);
- PortletPageNavigationalState pageNS =
assertNotNull(pageUpdate.getPageNavigationalState());
+ PageUpdateResponse pageUpdate = (PageUpdateResponse)response;
+ assertNotNull(pageUpdate.getPageNavigationalState());
+ PortletPageNavigationalState pageNS = pageUpdate.getPageNavigationalState();
//
- PortletWindowNavigationalState fooNS =
assertNotNull(pageNS.getPortletWindowNavigationalState(PortletInvokerSupport.FOO_PORTLET_ID));
+
assertNotNull(pageNS.getPortletWindowNavigationalState(PortletInvokerSupport.FOO_PORTLET_ID));
+ PortletWindowNavigationalState fooNS =
pageNS.getPortletWindowNavigationalState(PortletInvokerSupport.FOO_PORTLET_ID);
assertEquals(WindowState.MAXIMIZED, fooNS.getWindowState());
assertEquals(org.gatein.pc.api.Mode.EDIT, fooNS.getMode());
assertEquals(new OpaqueStateString("abc"),
fooNS.getPortletNavigationalState());
@@ -180,7 +176,8 @@
assertEquals(Tools.toSet(PortletInvokerSupport.FOO_PORTLET_ID,
PortletInvokerSupport.BAR_PORTLET_ID), pageNS.getPortletWindowIds());
//
- PortletWindowNavigationalState barNS =
assertNotNull(pageNS.getPortletWindowNavigationalState(PortletInvokerSupport.BAR_PORTLET_ID));
+
assertNotNull(pageNS.getPortletWindowNavigationalState(PortletInvokerSupport.BAR_PORTLET_ID));
+ PortletWindowNavigationalState barNS =
pageNS.getPortletWindowNavigationalState(PortletInvokerSupport.BAR_PORTLET_ID);
assertEquals(WindowState.MINIMIZED, barNS.getWindowState());
assertEquals(org.gatein.pc.api.Mode.HELP, barNS.getMode());
assertEquals(new OpaqueStateString("def"),
barNS.getPortletNavigationalState());
@@ -191,7 +188,6 @@
}
}
- @Test
public void testActionThrowsPortletInvokerException() throws PortletInvokerException
{
final PortletInvokerException e = new PortletInvokerException();
@@ -218,7 +214,6 @@
}
}
- @Test
public void testProcessActionProducedEventIsDistributed() throws
PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -304,7 +299,6 @@
barPortlet.assertInvocationCountIs(5);
}
- @Test
public void testEventFloodDetection() throws PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -321,7 +315,7 @@
fooPortlet.addHandler(eventProducerActionHandler);
fooPortlet.addHandler(eventProducerEventHandler);
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse updateResponse = assertInstanceOf(response,
PageUpdateResponse.class);
+ PageUpdateResponse updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.PRODUCED_EVENT_FLOODED,
updateResponse.getEventDistributionStatus());
//
@@ -330,11 +324,10 @@
fooPortlet.addHandler(eventProducerActionHandler);
fooPortlet.addHandler(eventProducerEventHandler);
response = controller.process(context, request);
- updateResponse = assertInstanceOf(response, PageUpdateResponse.class);
+ updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.CONSUMED_EVENT_FLOODED,
updateResponse.getEventDistributionStatus());
}
- @Test
public void testEventFloodInterruption() throws PortletInvokerException
{
PortletSupport fooPortlet =
invoker.addPortlet(PortletInvokerSupport.FOO_PORTLET_ID);
@@ -356,7 +349,7 @@
});
fooPortlet.addHandler(eventProducerActionHandler);
ControllerResponse response = controller.process(context, request);
- PageUpdateResponse updateResponse = assertInstanceOf(response,
PageUpdateResponse.class);
+ PageUpdateResponse updateResponse = (PageUpdateResponse)response;
assertEquals(PortletResponse.INTERRUPTED,
updateResponse.getEventDistributionStatus());
}
}
Modified:
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/WiringEventControllerContext.java
===================================================================
---
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/WiringEventControllerContext.java 2011-06-24
22:04:40 UTC (rev 6744)
+++
components/pc/trunk/controller/src/test/java/org/gatein/pc/controller/WiringEventControllerContext.java 2011-06-24
22:31:03 UTC (rev 6745)
@@ -27,8 +27,6 @@
import org.gatein.pc.controller.event.EventPhaseContext;
import org.gatein.pc.api.invocation.response.PortletInvocationResponse;
-import static org.jboss.unit.api.Assert.*;
-
import javax.xml.namespace.QName;
import java.util.List;
import java.util.Map;
@@ -144,19 +142,19 @@
public PortletInvocationResponse assertConsumed()
{
- assertEquals(EVENT_CONSUMED, type);
+ junit.framework.Assert.assertEquals(EVENT_CONSUMED, type);
return (PortletInvocationResponse)data;
}
public Throwable assertFailed()
{
- assertEquals(EVENT_FAILED, type);
+ junit.framework.Assert.assertEquals(EVENT_FAILED, type);
return (Throwable)data;
}
public int assertDiscarded()
{
- assertEquals(EVENT_DISCARDED, type);
+ junit.framework.Assert.assertEquals(EVENT_DISCARDED, type);
return (Integer)data;
}
}
Modified: components/pc/trunk/portlet/pom.xml
===================================================================
--- components/pc/trunk/portlet/pom.xml 2011-06-24 22:04:40 UTC (rev 6744)
+++ components/pc/trunk/portlet/pom.xml 2011-06-24 22:31:03 UTC (rev 6745)
@@ -62,6 +62,17 @@
<skip>false</skip>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
Modified:
components/pc/trunk/portlet/src/test/java/org/gatein/pc/portlet/support/PortletSupport.java
===================================================================
---
components/pc/trunk/portlet/src/test/java/org/gatein/pc/portlet/support/PortletSupport.java 2011-06-24
22:04:40 UTC (rev 6744)
+++
components/pc/trunk/portlet/src/test/java/org/gatein/pc/portlet/support/PortletSupport.java 2011-06-24
22:31:03 UTC (rev 6745)
@@ -111,7 +111,7 @@
public PortletInvocationResponse invoke(PortletInvocation invocation) throws
PortletInvokerException
{
- Assert.assertNotNull(invocation);
+ junit.framework.Assert.assertNotNull(invocation);
//
if (invocationCount == handlers.size())