org.jboss.test.faces.htmlunit
Class HtmlUnitRule
java.lang.Object
org.jboss.test.faces.FacesRule
org.jboss.test.faces.htmlunit.HtmlUnitRule
- All Implemented Interfaces:
- EventListener, javax.servlet.ServletRequestListener, org.junit.rules.MethodRule
public class HtmlUnitRule
- extends FacesRule
- Author:
- asmirnov
| Methods inherited from class org.jboss.test.faces.FacesRule |
after, apply, before, createFacesRequest, createFacesRequest, getApplication, getLifecycle, getServer, requestDestroyed, requestInitialized, setContextAttribute, setSessionAttribute, withContent, withFilter, withInitParameter, withListener, withResource, withResource, withWebRoot, withWebRoot, withWebRoot |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HtmlUnitRule
protected HtmlUnitRule(HtmlUnitEnvironment environment)
create
public static HtmlUnitRule create()
create
public static HtmlUnitRule create(ApplicationServer server)
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
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.