当前页面:
在线文档首页 >
JBOSS Portal 2.4 API 英文版文档
NeedPortletHandleTest - JBOSS Portal 2.4 API 英文版文档
org.jboss.portal.test.wsrp.v1.producer
Class NeedPortletHandleTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.jboss.portal.test.wsrp.WSRPBaseTest
org.jboss.portal.test.wsrp.WSRPProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.V1ProducerBaseTest
org.jboss.portal.test.wsrp.v1.producer.NeedPortletHandleTest
- All Implemented Interfaces:
- junit.framework.Test
- Direct Known Subclasses:
- MarkupTestCase, PortletManagementTestCase
- public abstract class NeedPortletHandleTest
- extends V1ProducerBaseTest
- Since:
- 2.4
Method Summary |
protected void |
deploy(java.lang.String archiveName)
Each time we deploy a new archive, check to see if the service description has changed and add any new portlet
handles found. |
protected java.lang.String |
getDefaultHandle()
|
protected java.lang.String |
getHandleForPortletDeployedIn(java.lang.String archiveName)
|
protected void |
setUp()
|
protected void |
tearDown()
|
protected void |
undeploy(java.lang.String archiveName)
|
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NeedPortletHandleTest
public NeedPortletHandleTest(java.lang.String portletWARFileName)
throws java.lang.Exception
NeedPortletHandleTest
protected NeedPortletHandleTest(java.lang.String name,
java.lang.String portletWARFileName)
throws java.lang.Exception
getHandleForPortletDeployedIn
protected java.lang.String getHandleForPortletDeployedIn(java.lang.String archiveName)
throws org.jboss.portal.wsrp.core.OperationFailedFault,
org.jboss.portal.wsrp.core.InvalidRegistrationFault,
java.rmi.RemoteException
- Throws:
org.jboss.portal.wsrp.core.OperationFailedFault
org.jboss.portal.wsrp.core.InvalidRegistrationFault
java.rmi.RemoteException
getDefaultHandle
protected java.lang.String getDefaultHandle()
throws java.rmi.RemoteException,
InvalidRegistrationFault,
OperationFailedFault
- Throws:
java.rmi.RemoteException
InvalidRegistrationFault
OperationFailedFault
deploy
protected void deploy(java.lang.String archiveName)
throws java.lang.Exception
- Each time we deploy a new archive, check to see if the service description has changed and add any new portlet
handles found.
- Overrides:
deploy
in class WSRPBaseTest
- Parameters:
archiveName
-
- Throws:
java.lang.Exception
undeploy
protected void undeploy(java.lang.String archiveName)
throws java.lang.Exception
- Overrides:
undeploy
in class WSRPBaseTest
- Throws:
java.lang.Exception
setUp
protected void setUp()
throws java.lang.Exception
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class V1ProducerBaseTest
- Throws:
java.lang.Exception