public class RemoteTestHttpClient extends Object
Constructor and Description |
---|
RemoteTestHttpClient(String junitServletUrl,
boolean consumeContent) |
RemoteTestHttpClient(String junitServletUrl,
String username,
String password,
boolean consumeContent) |
Modifier and Type | Method and Description |
---|---|
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(String testClassesSelector,
String testMethodSelector,
String extension) |
org.apache.sling.testing.tools.http.RequestExecutor |
runTests(String testClassesSelector,
String testMethodSelector,
String extension,
Map<String,String> requestOptions) |
void |
setRequestCustomizer(org.apache.sling.testing.tools.http.RequestCustomizer c) |
public RemoteTestHttpClient(String junitServletUrl, boolean consumeContent)
public void setRequestCustomizer(org.apache.sling.testing.tools.http.RequestCustomizer c)
public org.apache.sling.testing.tools.http.RequestExecutor runTests(String testClassesSelector, String testMethodSelector, String extension) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolException
IOException
public org.apache.sling.testing.tools.http.RequestExecutor runTests(String testClassesSelector, String testMethodSelector, String extension, Map<String,String> requestOptions) throws org.apache.http.client.ClientProtocolException, IOException
org.apache.http.client.ClientProtocolException
IOException
public String getTestExecutionPath()
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.