站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

ProducerTestCase - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.test.core.state
Class ProducerTestCase

java.lang.Object
  extended byTestCase
      extended byorg.jboss.portal.test.core.state.ProducerTestCase

public class ProducerTestCase
extends TestCase

Version:
$Revision: 5448 $
Author:
Julien Viet
See Also:
Serialized Form

Field Summary
private  DataSourceSupport.Config dsCfg
          .
private  HibernateSupport hibernateSupport
          .
private  PersistentStateStore persistenceManager
          .
private  PortletInvokerSupport portletContainer
          .
private  ProducerPortletInvoker producer
          .
private  TestRuntimeContext runtimeContext
          .
 
Constructor Summary
ProducerTestCase(DataSourceSupport.Config config)
           
 
Method Summary
 HibernateSupport getHibernateSupport()
           
 PersistentStateStore getPersistenceManager()
           
 PortletInvokerSupport getPortletContainer()
           
 ProducerPortletInvoker getProducer()
           
 void setHibernateSupport(HibernateSupport hibernateSupport)
           
 void setPersistenceManager(PersistentStateStore persistenceManager)
           
 void setPortletContainer(PortletInvokerSupport portletContainer)
           
 void setProducer(ProducerPortletInvoker producer)
           
protected  void setUp()
           
protected  void tearDown()
           
 void testCloneExistingPortletWithinTx()
           
 void testCloneNonExistingPortletWithinTx()
           
 void testCloneNullPortletWithinTx()
           
 void testDestroyNonExistingPortletWithinTx()
           
 void testDestroyNullPortletWithinTx()
           
 void testDestroyPortletWithinTx()
           
 void testGetPortlet()
          todo : should check the portlet metadata as well
 void testGetProperties()
           
 void testInvokeCloneBeforeWriteCCPWithinTx()
           
 void testInvokeCloneBeforeWritePOPWithinTx()
           
 void testInvokeCloneBeforeWritePOPWithinTxThrowsException()
           
 void testInvokeReadOnlyCCPWithinTx()
           
 void testInvokeReadOnlyPOPWithinTx()
           
 void testInvokeReadWriteCCPWithinTx()
           
 void testInvokeReadWritePOPWithinTx()
           
 void testSetProperties()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

runtimeContext

private TestRuntimeContext runtimeContext
.


dsCfg

private DataSourceSupport.Config dsCfg
.


hibernateSupport

private HibernateSupport hibernateSupport
.


persistenceManager

private PersistentStateStore persistenceManager
.


producer

private ProducerPortletInvoker producer
.


portletContainer

private PortletInvokerSupport portletContainer
.

Constructor Detail

ProducerTestCase

public ProducerTestCase(DataSourceSupport.Config config)
Method Detail

getHibernateSupport

public HibernateSupport getHibernateSupport()

setHibernateSupport

public void setHibernateSupport(HibernateSupport hibernateSupport)

getPersistenceManager

public PersistentStateStore getPersistenceManager()

setPersistenceManager

public void setPersistenceManager(PersistentStateStore persistenceManager)

getProducer

public ProducerPortletInvoker getProducer()

setProducer

public void setProducer(ProducerPortletInvoker producer)

getPortletContainer

public PortletInvokerSupport getPortletContainer()

setPortletContainer

public void setPortletContainer(PortletInvokerSupport portletContainer)

setUp

protected void setUp()
              throws java.lang.Exception
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Throws:
java.lang.Exception

testCloneNonExistingPortletWithinTx

public void testCloneNonExistingPortletWithinTx()
                                         throws java.lang.Exception
Throws:
java.lang.Exception

testCloneNullPortletWithinTx

public void testCloneNullPortletWithinTx()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testCloneExistingPortletWithinTx

public void testCloneExistingPortletWithinTx()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testDestroyNonExistingPortletWithinTx

public void testDestroyNonExistingPortletWithinTx()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testDestroyNullPortletWithinTx

public void testDestroyNullPortletWithinTx()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testDestroyPortletWithinTx

public void testDestroyPortletWithinTx()
                                throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeCloneBeforeWritePOPWithinTx

public void testInvokeCloneBeforeWritePOPWithinTx()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeReadWritePOPWithinTx

public void testInvokeReadWritePOPWithinTx()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeReadOnlyPOPWithinTx

public void testInvokeReadOnlyPOPWithinTx()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeCloneBeforeWriteCCPWithinTx

public void testInvokeCloneBeforeWriteCCPWithinTx()
                                           throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeReadWriteCCPWithinTx

public void testInvokeReadWriteCCPWithinTx()
                                    throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeReadOnlyCCPWithinTx

public void testInvokeReadOnlyCCPWithinTx()
                                   throws java.lang.Exception
Throws:
java.lang.Exception

testInvokeCloneBeforeWritePOPWithinTxThrowsException

public void testInvokeCloneBeforeWritePOPWithinTxThrowsException()
                                                          throws java.lang.Exception
Throws:
java.lang.Exception

testGetProperties

public void testGetProperties()

testSetProperties

public void testSetProperties()

testGetPortlet

public void testGetPortlet()
                    throws java.lang.Exception
todo : should check the portlet metadata as well

Throws:
java.lang.Exception