当前页面: 
在线文档首页 > 
JBoss Seam  1.0.1 API 英文版文档
SeamTest (JBoss Seam API Documentation) - JBoss Seam  1.0.1 API 英文版文档
org.jboss.seam.mock
Class SeamTest
java.lang.Object
   org.jboss.seam.mock.SeamTest
org.jboss.seam.mock.SeamTest
- public class SeamTest 
- extends Object
Superclass for TestNG integration tests for JSF/Seam applications.
- Version:
- $Revision: 1.41 $
- Author:
- Gavin King, Thomas Heute
| Nested Class Summary | 
|  class | SeamTest.ScriptScript is an abstract superclass for usually anonymous  
 inner classes that test JSF interactions.
 | 
 
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
SeamTest
public SeamTest()
getSession
protected javax.servlet.http.HttpSession getSession()
- 
 
isSessionInvalid
protected boolean isSessionInvalid()
- 
 
getFacesContext
protected javax.faces.context.FacesContext getFacesContext()
- 
 
begin
public void begin()
- 
 
end
public void end()
- 
 
createPhaseListener
protected SeamPhaseListener createPhaseListener()
- Create a SeamPhaseListener by default. Override to use 
 one of the other standard Seam phase listeners.
 
- 
 
init
public void init()
          throws Exception
- 
- Throws:
- Exception
 
cleanup
public void cleanup()
             throws Exception
- 
- Throws:
- Exception
 
initServletContext
public void initServletContext(Map initParams)
- Override to set up any servlet context attributes.
 
- 
 
getInitialContext
protected InitialContext getInitialContext()
                                    throws NamingException
- 
- Throws:
- NamingException
 
getUserTransaction
protected UserTransaction getUserTransaction()
                                      throws NamingException
- 
- Throws:
- NamingException
 
getField
protected Object getField(Object object,
                          String fieldName)
- 
 
setField
protected void setField(Object object,
                        String fieldName,
                        Object value)
-