Package | Description |
---|---|
org.apache.sling.testing.tools.http | |
org.apache.sling.testing.tools.sling |
Modifier and Type | Method and Description |
---|---|
RequestExecutor |
RequestExecutor.assertContentContains(String... expected)
For each supplied string, fail unless content contains it
|
RequestExecutor |
RequestExecutor.assertContentRegexp(String... regexp)
For each supplied regexp, fail unless content contains at
least one line that matches.
|
RequestExecutor |
RequestExecutor.assertContentType(String expected)
Verify that response matches supplied content type
|
RequestExecutor |
RequestExecutor.assertStatus(int expected)
Verify that response matches supplied status
|
RequestExecutor |
RequestExecutor.execute(Request r) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
RetryingContentChecker.assertMore(RequestExecutor executor)
Optionally perform additional tests in retry condition
|
protected void |
RequestDocumentor.documentRequest(PrintWriter pw,
RequestExecutor executor,
String[] metadataArray) |
Constructor and Description |
---|
RetryingContentChecker(RequestExecutor executor,
RequestBuilder builder) |
RetryingContentChecker(RequestExecutor executor,
RequestBuilder builder,
String username,
String password) |
Modifier and Type | Method and Description |
---|---|
RequestExecutor |
SlingTestBase.getRequestExecutor() |
RequestExecutor |
SlingInstance.getRequestExecutor()
Returns a RequestExecutor for this server
|
Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.