JSF Test Framework: HtmlUnit 1.1.2

org.jboss.test.faces.htmlunit
Class HtmlUnitEnvironment

java.lang.Object
  extended by org.jboss.test.faces.FacesEnvironment
      extended by org.jboss.test.faces.htmlunit.HtmlUnitEnvironment

public class HtmlUnitEnvironment
extends FacesEnvironment

Author:
asmirnov@exadel.com

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.test.faces.FacesEnvironment
FacesEnvironment.FacesRequest
 
Field Summary
 
Fields inherited from class org.jboss.test.faces.FacesEnvironment
FACES_CONFIG_XML, WEB_XML
 
Constructor Summary
HtmlUnitEnvironment()
           
HtmlUnitEnvironment(ApplicationServer applicationServer)
           
 
Method Summary
<P extends com.gargoylesoftware.htmlunit.Page>
P
getPage(String url)
           
 com.gargoylesoftware.htmlunit.WebClient getWebClient()
           
 void release()
           
 FacesEnvironment start()
           
 
Methods inherited from class org.jboss.test.faces.FacesEnvironment
createEnvironment, createEnvironment, createFacesRequest, createFacesRequest, getApplication, getHiddenFields, getInputFields, getLifecycle, getServer, setupFacesListener, setupFacesServlet, setupJsfInitParameters, setupMyFaces, setupSunFaces, setupWebContent, withContent, withFilter, withInitParameter, withResource, withResource, withResourcesFromDirectory, withRichFaces, withSeam, withWebRoot, withWebRoot, withWebRoot
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HtmlUnitEnvironment

public HtmlUnitEnvironment()

HtmlUnitEnvironment

public HtmlUnitEnvironment(ApplicationServer applicationServer)
Method Detail

getWebClient

public com.gargoylesoftware.htmlunit.WebClient getWebClient()

start

public FacesEnvironment start()
Overrides:
start in class FacesEnvironment

getPage

public <P extends com.gargoylesoftware.htmlunit.Page> P getPage(String url)
                                                     throws com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException,
                                                            MalformedURLException,
                                                            IOException
Throws:
com.gargoylesoftware.htmlunit.FailingHttpStatusCodeException
MalformedURLException
IOException

release

public void release()
Overrides:
release in class FacesEnvironment

JSF Test Framework: HtmlUnit 1.1.2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.