org.ocpsoft.rewrite.test
Class RewriteTestBase
java.lang.Object
org.ocpsoft.rewrite.test.RewriteTestBase
public class RewriteTestBase
- extends Object
- Author:
- Lincoln Baxter, III
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RewriteTestBase
public RewriteTestBase()
getDeployment
@Deployment(testable=false)
public static org.jboss.shrinkwrap.api.spec.WebArchive getDeployment()
getDeploymentNoWebXml
public static org.jboss.shrinkwrap.api.spec.WebArchive getDeploymentNoWebXml()
getRewriteArchive
protected static org.jboss.shrinkwrap.api.spec.JavaArchive getRewriteArchive()
resolveDependencies
protected static Collection<org.jboss.shrinkwrap.api.GenericArchive> resolveDependencies(String coords)
get
protected HttpAction<org.apache.http.client.methods.HttpGet> get(String path)
- Request a resource from the deployed test-application. The
HttpServletRequest.getContextPath() will be
automatically prepended to the given path.
E.g: A path of '/example' will be sent as '/rewrite-test/example'
head
protected HttpAction<org.apache.http.client.methods.HttpHead> head(String path)
- Request a resource from the deployed test-application. The
HttpServletRequest.getContextPath() will be
automatically prepended to the given path.
E.g: A path of '/example' will be sent as '/rewrite-test/example'
getBaseURL
public String getBaseURL()
getContextPath
protected String getContextPath()
Copyright © 2012 OCPsoft. All Rights Reserved.