org.apache.sling.junit.remote.httpclient
Class RemoteTestHttpClient

java.lang.Object
  extended by org.apache.sling.junit.remote.httpclient.RemoteTestHttpClient

public class RemoteTestHttpClient
extends java.lang.Object

HTTP client that executes tests remotely


Constructor Summary
RemoteTestHttpClient(java.lang.String junitServletUrl, boolean consumeContent)
           
 
Method Summary
 java.lang.String getTestExecutionPath()
          If called after runTests, returns the path used to run tests on the remote JUnit servlet
 org.apache.sling.testing.tools.http.RequestExecutor runTests(java.lang.String testClassesSelector, java.lang.String testMethodSelector, java.lang.String extension)
           
 void setRequestCustomizer(org.apache.sling.testing.tools.http.RequestCustomizer c)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteTestHttpClient

public RemoteTestHttpClient(java.lang.String junitServletUrl,
                            boolean consumeContent)
Method Detail

setRequestCustomizer

public void setRequestCustomizer(org.apache.sling.testing.tools.http.RequestCustomizer c)

runTests

public org.apache.sling.testing.tools.http.RequestExecutor runTests(java.lang.String testClassesSelector,
                                                                    java.lang.String testMethodSelector,
                                                                    java.lang.String extension)
                                                             throws org.apache.http.client.ClientProtocolException,
                                                                    java.io.IOException
Throws:
org.apache.http.client.ClientProtocolException
java.io.IOException

getTestExecutionPath

public java.lang.String getTestExecutionPath()
If called after runTests, returns the path used to run tests on the remote JUnit servlet



Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.