A B C D E F G H I J L M N O P Q R S T U V W X
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractPoller - Class in org.apache.sling.testing.clients.util.poller
-
Deprecated.use
Polling
instead. - AbstractPoller(long, long) - Constructor for class org.apache.sling.testing.clients.util.poller.AbstractPoller
-
Deprecated.Convenience method to execute a generic call and do polling until a condition is met The user must implement the
Poller.call()
andPoller.condition()
methods - AbstractSlingClient - Class in org.apache.sling.testing.clients
-
The abstract base client for all implementing integration test clients.
- ACTIVE - org.apache.sling.testing.clients.osgi.Bundle.Status
- ACTIVE - org.apache.sling.testing.clients.osgi.Component.Status
- ACTIVE_STATE - Static variable in class org.apache.sling.testing.clients.osgi.BundlesInstaller
- adaptTo(Class<T>) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Returns an instance of any class extending the AbstractSlingClient.
- add(String, String) - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- add(String, String[]) - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- add(List<NameValuePair>) - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- add(NameValuePair) - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- addAllParameters(List<NameValuePair>) - Method in class org.apache.sling.testing.clients.util.FormEntityBuilder
- addAllParameters(Map<String, String>) - Method in class org.apache.sling.testing.clients.util.FormEntityBuilder
- addHeader(String, String) - Method in class org.apache.sling.testing.clients.email.EmailMessage
-
Adds a new header to this email message
- addHeader(String, String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- addHeader(Header) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- addInterceptorFirst(HttpRequestInterceptor) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Adds this protocol interceptor to the head of the protocol processing list.
- addInterceptorFirst(HttpResponseInterceptor) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- addInterceptorFirst(HttpRequestResponseInterceptor) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Adds this protocol interceptor to the head of the protocol processing list for both requests and responses
- addInterceptorLast(HttpRequestInterceptor) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Adds this protocol interceptor to the tail of the protocol processing list.
- addInterceptorLast(HttpResponseInterceptor) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Adds this protocol interceptor to the tail of the protocol processing list.
- addInterceptorLast(HttpRequestResponseInterceptor) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Adds this protocol interceptor to the tail of the protocol processing list for both requests and responses
- addParameter(String, String) - Method in class org.apache.sling.testing.clients.util.FormEntityBuilder
- addValue(String, String) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Adds the extra
key, value
to the generic values - allocatePort() - Method in class org.apache.sling.testing.clients.util.PortAllocator
- ASYNC_INDEXER_CONFIG - Static variable in class org.apache.sling.testing.clients.indexing.IndexingClient
- authCache - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
AuthCache for preemptive auth
- authCache - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
B
- build() - Method in class org.apache.sling.testing.clients.SlingClient.Builder
- build() - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- build() - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- build() - Method in class org.apache.sling.testing.clients.util.FormEntityBuilder
- buildDefaultErrorMessage(SlingHttpResponse) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
-
Build default error message
- Builder() - Constructor for class org.apache.sling.testing.clients.SlingClientConfig.Builder
- buildHttpClient() - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- buildSlingClientConfig() - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- Bundle - Class in org.apache.sling.testing.clients.osgi
-
Thin Wrapper around a Bundle definition JSON
- Bundle() - Constructor for class org.apache.sling.testing.clients.osgi.Bundle
- Bundle.Status - Enum in org.apache.sling.testing.clients.osgi
- BundleInfo - Class in org.apache.sling.testing.clients.osgi
- BundleInfo(JsonNode) - Constructor for class org.apache.sling.testing.clients.osgi.BundleInfo
- BundlesInfo - Class in org.apache.sling.testing.clients.osgi
-
A simple Wrapper around the returned JSON when requesting the status of /system/console/bundles
- BundlesInfo(JsonNode) - Constructor for class org.apache.sling.testing.clients.osgi.BundlesInfo
-
The only constructor.
- BundlesInstaller - Class in org.apache.sling.testing.clients.osgi
-
Utility for installing and starting additional bundles for testing
- BundlesInstaller(OsgiConsoleClient) - Constructor for class org.apache.sling.testing.clients.osgi.BundlesInstaller
C
- c - Variable in class org.apache.sling.testing.clients.util.poller.Polling
-
Optional object to be used by the default implementation of call()
- call() - Method in class org.apache.sling.testing.clients.util.poller.PathPoller
-
Deprecated.
- call() - Method in interface org.apache.sling.testing.clients.util.poller.Poller
-
Deprecated.
- call() - Method in class org.apache.sling.testing.clients.util.poller.Polling
-
Method to be called by
Polling.poll(long timeout, long delay)
, potentially multiple times, until it returns true or timeout is reached.
Subclasses can override it to change the check accordingly. - callAndWait() - Method in class org.apache.sling.testing.clients.util.poller.AbstractPoller
-
Deprecated.Calls the
Poller.call()
once and then callsPoller.condition()
until it returns true The method waits AbstractPoller#waitInterval milliseconds between calls toPoller.condition()
A maximum of AbstractPoller#waitCount intervals are checked - callAndWait() - Method in interface org.apache.sling.testing.clients.util.poller.Poller
-
Deprecated.
- callUntilCondition() - Method in class org.apache.sling.testing.clients.util.poller.AbstractPoller
-
Deprecated.Calls the @see: Poller#call() and then calls
Poller.condition()
until it returns true The Poller#call() method is called in each wait interval, before the Poller#condition(). - callUntilCondition() - Method in interface org.apache.sling.testing.clients.util.poller.Poller
-
Deprecated.
- CHANGE_LOG - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- CHARSET_UTF8 - Static variable in class org.apache.sling.testing.Constants
- checkBundleInstalled(String, int, int) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Deprecated.does not respect polling practices; use
OsgiConsoleClient.waitBundleInstalled(String, long, long)
instead - checkContentContains(String...) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Assert that all the provided
Strings
are contained in the response - checkContentRegexp(String...) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
For each regular expression, assert that at least one line of the response matches the expression
- checkContentType(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Assert that response matches supplied content type (from Content-Type header)
- checkStatus(int) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Assert that response matches supplied status
- CLIENT_CONNECTION_TIMEOUT_PROP - Static variable in class org.apache.sling.testing.clients.SlingClient
- CLIENT_USERAGENT_NAME - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.getClientUserAgentName()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- CLIENT_USERAGENT_USEVERSION - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.isClientUserAgentUsingVersion()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- ClientException - Exception in org.apache.sling.testing.clients
-
An exception thrown when something went wrong with using the sling testing clients.
- ClientException(String) - Constructor for exception org.apache.sling.testing.clients.ClientException
-
Deprecated.use a constructor of one of the subclasses
- ClientException(String, int) - Constructor for exception org.apache.sling.testing.clients.ClientException
-
Deprecated.use a constructor of one of the subclasses
- ClientException(String, int, Throwable) - Constructor for exception org.apache.sling.testing.clients.ClientException
-
Deprecated.use a constructor of one of the subclasses
- ClientException(String, Throwable) - Constructor for exception org.apache.sling.testing.clients.ClientException
-
Deprecated.use a constructor of one of the subclasses
- ClientException(String, Throwable, HttpUriRequest, SlingHttpResponse) - Constructor for exception org.apache.sling.testing.clients.ClientException
-
Deprecated.use a constructor of one of the subclasses
- close() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- close() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- Component - Class in org.apache.sling.testing.clients.osgi
- Component() - Constructor for class org.apache.sling.testing.clients.osgi.Component
- Component.Status - Enum in org.apache.sling.testing.clients.osgi
- ComponentInfo - Class in org.apache.sling.testing.clients.osgi
- ComponentInfo(JsonNode) - Constructor for class org.apache.sling.testing.clients.osgi.ComponentInfo
- ComponentsInfo - Class in org.apache.sling.testing.clients.osgi
-
Thin wrapper around the list of components
- ComponentsInfo(JsonNode) - Constructor for class org.apache.sling.testing.clients.osgi.ComponentsInfo
-
The only constructor.
- condition() - Method in class org.apache.sling.testing.clients.util.poller.PathPoller
-
Deprecated.
- condition() - Method in interface org.apache.sling.testing.clients.util.poller.Poller
-
Deprecated.
- CONFIG_PROP_PREFIX - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Prefix for IT-specific system properties
- Constants - Class in org.apache.sling.testing
- Constants() - Constructor for class org.apache.sling.testing.Constants
- constructAgent(Class<?>) - Static method in class org.apache.sling.testing.clients.util.UserAgentUtil
-
Create user-agent with simple class name.
- constructAgent(String, Package) - Static method in class org.apache.sling.testing.clients.util.UserAgentUtil
-
Create user-agent from name and determine version through implementation version of the provided package.
- constructAgent(String, String) - Static method in class org.apache.sling.testing.clients.util.UserAgentUtil
-
Create user-agent from name and version-string [name]/[version].
- containsHeader(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- COOKIE_NAME - Static variable in class org.apache.sling.testing.clients.interceptors.StickyCookieHolder
- cookieStore - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- cookieStore - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
The cookie store
- create() - Static method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- create() - Static method in class org.apache.sling.testing.clients.util.FormEntityBuilder
- create() - Static method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- create(URI, String, String) - Static method in class org.apache.sling.testing.clients.SlingClient.Builder
- createFolder(String, String, String, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Creates a new Folder of type sling:OrderedFolder.
- createNode(String, String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Creates the node specified by a given path with the given node type.
If the given node type isnull
, the node will be created with the default type: "sling:OrderedFolder".
If the node already exists, the method will return null, with no errors.
The method ignores trailing slashes so a path like this /a/b/c/// is accepted and will create the c node if the rest of the path exists. - createNodeRecursive(String, String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Recursively creates all the none existing nodes in the given path using the
SlingClient.createNode(String, String)
method. - credsProvider - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- credsProvider - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
The credentials provider
D
- DEFAULT_ADMIN_PASSWORD - Static variable in class org.apache.sling.testing.clients.instance.InstanceConfiguration
- DEFAULT_ADMIN_USER - Static variable in class org.apache.sling.testing.clients.instance.InstanceConfiguration
- DEFAULT_ENCODING - Static variable in class org.apache.sling.testing.clients.util.FormEntityBuilder
- DEFAULT_ENCODING - Static variable in class org.apache.sling.testing.clients.util.URLParameterBuilder
- DEFAULT_NODE_TYPE - Static variable in class org.apache.sling.testing.clients.SlingClient
- DEFAULT_PASSWORD - Static variable in class org.apache.sling.testing.Constants
- DEFAULT_URL - Static variable in class org.apache.sling.testing.Constants
- DEFAULT_USERNAME - Static variable in class org.apache.sling.testing.Constants
- DelayRequestInterceptor - Class in org.apache.sling.testing.clients.interceptors
- DelayRequestInterceptor(long) - Constructor for class org.apache.sling.testing.clients.interceptors.DelayRequestInterceptor
- delete() - Method in class org.apache.sling.testing.clients.util.SlingParameter
- delete(String) - Method in class org.apache.sling.testing.clients.html.MicrodataClient
- deleteConfiguration(String, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Delete the config referenced by the PID
- deleteMessages() - Method in class org.apache.sling.testing.clients.email.SlingEmailClient
-
Deletes all mail messages currently stored
- deletePath(String, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Deletes a sling path (:operation delete)
- disableRedirectHandling() - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Disables automatic redirect handling.
- doCount(String, QueryClient.QueryType) - Method in class org.apache.sling.testing.clients.query.QueryClient
-
Executes a query on the server and returns only the number of rows in the result
- doDelete(String, List<NameValuePair>, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a DELETE request and consumes the entity in the response.
- doGet(String, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a GET request and consumes the entity in the response (so the connection is closed immediately) The content is cached and can be retrieved using
response.getContent()
. - doGet(String, List<NameValuePair>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a GET request and consumes the entity in the response (so the connection is closed immediately) The content is cached and can be retrieved using
response.getContent()
. - doGet(String, List<NameValuePair>, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a GET request and consumes the entity in the response (so the connection is closed immediately) The content is cached and can be retrieved using
response.getContent()
. - doGet(SlingHttpServletRequest, SlingHttpServletResponse) - Method in class org.apache.sling.testing.clients.query.servlet.QueryServlet
- doGetJson(String, int, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Returns the
JsonNode
object corresponding to a content node. - doHead(String, List<NameValuePair>, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a HEAD request
- doPatch(String, HttpEntity, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a PATCH request and consumes the entity in the response.
- doPost(String, HttpEntity, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a POST request and consumes the entity in the response.
- doPost(String, HttpEntity, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a POST request and consumes the entity in the response.
- doPut(String, HttpEntity, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a PUT request and consumes the entity in the response.
- doQuery(String, QueryClient.QueryType) - Method in class org.apache.sling.testing.clients.query.QueryClient
-
Executes a query on the server and returns the results as a json
- doQuery(String, QueryClient.QueryType, boolean, boolean) - Method in class org.apache.sling.testing.clients.query.QueryClient
- doRawRequest(String, String, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a raw HTTP request, WITHOUT consuming the entity in the response.
- doRequest(HttpUriRequest, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Execute an HTTP request and consumes the entity in the response.
- doStreamGet(String, List<NameValuePair>, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a GET request WITHOUT consuming the entity in the response.
- doStreamPost(String, HttpEntity, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes a POST request WITHOUT consuming the entity in the response.
- doStreamRequest(HttpUriRequest, List<Header>, int...) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Executes an HTTP request, WITHOUT consuming the entity in the response.
E
- editConfiguration(String, String, Map<String, Object>, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Sets properties of a config referenced by its PID.
- editConfigurationWithWait(int, String, String, Map<String, Object>, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
- EmailMessage - Class in org.apache.sling.testing.clients.email
-
Holds information retrieved from the mock SMTP server deployed in Sling
- EmailMessage(String) - Constructor for class org.apache.sling.testing.clients.email.EmailMessage
- encodeForHTML(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate new-style (XSSAPI-based) encoding for HTML element content.
- encodeForHTMLAttr(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate new-style (XSSAPI-based) encoding for HTML attribute values.
- encodeForJSString(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate new-style (XSSAPI-based) encoding for JavaScript strings.
- encodeForXML(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate new-style (XSSAPI-based) encoding for XML element content.
- encodeForXMLAttr(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate new-style (XSSAPI-based) encoding for XML attribute values.
- encodeUrl(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to ensure that HTTP query strings are in proper form, by escaping special characters such as spaces.
- endImpersonation() - Method in class org.apache.sling.testing.clients.SlingClient
-
End the impersonation of the current user.
- enter(String) - Method in class org.apache.sling.testing.clients.html.MicrodataClient
- escapeHtml(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate old-style escaping of HTML (using StringEscapeUtils).
- escapeXml(String) - Static method in class org.apache.sling.testing.clients.util.XSSUtils
-
Use to encapsulate old-style escaping of XML (with JSTL encoding rules).
- exceptions - Variable in class org.apache.sling.testing.clients.util.poller.Polling
-
List of all the exceptions thrown by call(), to be used for logging
- execute(HttpUriRequest) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpUriRequest, ResponseHandler<? extends T>) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpUriRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpUriRequest, HttpContext) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpHost, HttpRequest) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpHost, HttpRequest, ResponseHandler<? extends T>, HttpContext) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- execute(HttpHost, HttpRequest, HttpContext) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- exists(String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Checks whether a path exists or not by making a GET request to that path with the
json
extension - EXPECTED_STATUS - Static variable in class org.apache.sling.testing.Constants
-
Http Context Attributes
- extractFromHTMLResponse(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Extract information from response
F
- FAILED_ACTIVATION - org.apache.sling.testing.clients.osgi.Component.Status
- forId(String) - Method in class org.apache.sling.testing.clients.osgi.BundlesInfo
-
Return bundle info for a bundle with persistence identifier
pid
- forId(String) - Method in class org.apache.sling.testing.clients.osgi.ComponentsInfo
- forId(String) - Method in class org.apache.sling.testing.clients.osgi.ServicesInfo
-
Return service info for a service with given id
- formatCookies(List<Cookie>) - Method in class org.apache.sling.testing.clients.interceptors.StickyCookieSpec
- FormBasedAuthInterceptor - Class in org.apache.sling.testing.clients.interceptors
- FormBasedAuthInterceptor(String) - Constructor for class org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor
- FormEntityBuilder - Class in org.apache.sling.testing.clients.util
-
Helper for creating Entity objects for POST requests.
- forName(String) - Method in class org.apache.sling.testing.clients.osgi.BundlesInfo
-
Return bundle info for a bundle with name
name
- forName(String) - Method in class org.apache.sling.testing.clients.osgi.ComponentsInfo
- forPid(String) - Method in class org.apache.sling.testing.clients.osgi.ComponentsInfo
- forSymbolicName(String) - Method in class org.apache.sling.testing.clients.osgi.BundlesInfo
-
Return bundle info for a bundle with symbolic name
name
- forType(String) - Method in class org.apache.sling.testing.clients.osgi.ServicesInfo
-
Return service infos for a bundle with name
name
- FRAGMENT - org.apache.sling.testing.clients.osgi.Bundle.Status
G
- get() - Static method in class org.apache.sling.testing.clients.instance.InstanceSetup
- get() - Static method in class org.apache.sling.testing.clients.interceptors.UserAgentHolder
-
Returns the current user-agent.
- get(Object) - Static method in class org.apache.sling.testing.clients.util.UniquePaths
-
Get a unique ID with no base path
- get(Object, String) - Static method in class org.apache.sling.testing.clients.util.UniquePaths
-
Return a unique path based on basePath
- get(String) - Method in class org.apache.sling.testing.clients.html.MicrodataClient
- getAdminPassword() - Method in class org.apache.sling.testing.clients.instance.InstanceConfiguration
- getAdminUser() - Method in class org.apache.sling.testing.clients.instance.InstanceConfiguration
- getAllHeaders() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getAuthCache() - Method in class org.apache.sling.testing.clients.SlingClientConfig
- getBindPort() - Method in class org.apache.sling.testing.clients.email.SlingEmailClient
-
Retrieves the actual bind port of the SMTP server
- getBundleId() - Method in class org.apache.sling.testing.clients.osgi.ServiceInfo
- getBundleId(String) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Get the id of the bundle
- getBundleInfo(String, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns the wrapper for the bundle info json
- getBundlesInfo(int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns the wrapper for the bundles info json
- getBundleState(String) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Get the state of the bundle
- getBundleSymbolicName() - Method in class org.apache.sling.testing.clients.osgi.ServiceInfo
- getBundleSymbolicName(File) - Static method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Get the symbolic name from a bundle file by looking at the manifest
- getBundleVersion(String) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Get the version of the bundle
- getBundleVersionFromFile(File) - Static method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Get the version form a bundle file by looking at the manifest
- getCategory() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getClassName() - Static method in class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- getClientId() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Returns the unique id for this client, generated automatically during instantiation.
- getClientUserAgentName() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Returns the default user-agent name of the
SlingClient
- getComponentInfo(String, int) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns the wrapper for the component info json
- getComponentsInfo(int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns the wrapper for the components info json
- getConfiguration(String, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns a map of all properties set for the config referenced by the PID, where the map keys are the property names.
- getConfigurations() - Method in class org.apache.sling.testing.clients.instance.InstanceSetup
- getConfigurations(String) - Method in class org.apache.sling.testing.clients.instance.InstanceSetup
-
Get the list of all InstanceConfiguration with a specific
runmode
- getConfigurationWithWait(long, String, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Deprecated.
- getConnectionManager() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Deprecated.
- getContent() - Method in class org.apache.sling.testing.clients.email.EmailMessage
-
Returns the contents of the email
- getContent() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get the
String
content of the response. - getContentLength() - Method in class org.apache.sling.testing.clients.util.InputStreamBodyWithLength
- getCookieStore() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- getCookieStore() - Method in class org.apache.sling.testing.clients.SlingClientConfig
- getCredentialsProvider() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
- getCredsProvider() - Method in class org.apache.sling.testing.clients.SlingClientConfig
- getDefaultUserAgent() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Returns the fully constructed default user-agent from system properties
- getEntity() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getException() - Method in class org.apache.sling.testing.clients.util.poller.PathPoller
-
Deprecated.
- getExceptions() - Method in class org.apache.sling.testing.clients.util.poller.Polling
-
Return the list of all exceptions while polling
- getExpectedStatus(int, int...) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
- getFirstHeader(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getHeader(String) - Method in class org.apache.sling.testing.clients.email.EmailMessage
-
Returns the value of one of the headers of this email
- getHeaders() - Method in class org.apache.sling.testing.clients.email.EmailMessage
-
Returns an unmodifiable view over the email headers
- getHeaders(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getHttpDelay() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Custom delay in milliseconds before an HTTP request goes through.
- getHttpRetries() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Number of http call retries in case of a 5XX response code
- getHttpRetriesDelay() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
The delay in milliseconds between http retries
- getHttpRetriesErrorCodes() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Comma-separated list of http response codes for which to retry the request If empty, all 5XX error codes will be retried
- getHttpStatus(HttpResponse) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
-
Get HTTP Status of the response.
- getHttpStatusCode() - Method in exception org.apache.sling.testing.clients.ClientException
- getId() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getId() - Method in class org.apache.sling.testing.clients.osgi.ComponentInfo
- getId() - Method in class org.apache.sling.testing.clients.osgi.ServiceInfo
- getInstance() - Static method in class org.apache.sling.testing.clients.util.TimeoutsProvider
-
Deprecated.
- getInstance() - Static method in class org.apache.sling.testing.timeouts.TimeoutsProvider
- getJsonNode(String, int) - Method in class org.apache.sling.testing.clients.SlingClient
-
Deprecated.
- getJsonNode(String, int, long, int, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Deprecated.
- getJsonNodeFromString(String) - Static method in class org.apache.sling.testing.clients.util.JsonUtils
-
Get
JsonNode
from a a String containing JSON. - getLaneNames() - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Return the list of indexing lanes configured by
IndexingClient.setLaneNames(java.lang.String...)
, if any. - getLastException() - Method in class org.apache.sling.testing.clients.util.poller.Polling
-
Return the last exception while polling or {null}
- getLastHeader(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getList() - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- getLocale() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getLocationHeader(HttpResponse) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
-
Get the first 'Location' header and verify it's a valid URI.
- getMessage() - Method in exception org.apache.sling.testing.clients.ClientException
- getMessages() - Method in class org.apache.sling.testing.clients.email.SlingEmailClient
-
Retrieves the list of mail messages currently stored
- getMethodName() - Static method in class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- getName() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getName() - Method in class org.apache.sling.testing.clients.osgi.ComponentInfo
- getNodeNameFromPath(String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Extracts the node from path
- getNumberOfInstalledComponents() - Method in class org.apache.sling.testing.clients.osgi.ComponentsInfo
- getNumBundlesByStatus(Bundle.Status) - Method in class org.apache.sling.testing.clients.osgi.BundlesInfo
-
Returns number of bundles that are in specified state
- getOSGiConfiguration(String, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns a map of all properties set for the config referenced by the PID, where the map keys are the property names.
- getParams() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Deprecated.
- getParams() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getParentPath(String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Extracts the parent path from the given String
- getPassword() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Returns the password of the user that will be used to authenticate the requests (by basic auth, if not replaced).
- getPassword() - Method in class org.apache.sling.testing.clients.SlingClientConfig
- getPath(String) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Extracts the relative sling path (to server url) from an url.
- getPath(URI) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Transforms an external
url
into a sling path, by subtracting theserver url
(incl. - getPid() - Method in class org.apache.sling.testing.clients.osgi.ComponentInfo
- getPid() - Method in class org.apache.sling.testing.clients.osgi.ServiceInfo
- getPlan(String, QueryClient.QueryType) - Method in class org.apache.sling.testing.clients.query.QueryClient
-
Retrieves the plan of the query.
- getPrefixedPropertyName(String) - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
- getProperties() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getProperty(String) - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
-
Returns the value of a specific key in the bundle
- getProtocolVersion() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getRequest() - Method in exception org.apache.sling.testing.clients.ClientException
- getResourceAsStream(String) - Static method in class org.apache.sling.testing.clients.util.ResourceUtil
-
We must get the Resource as a stream from the ContextClassLoader and not from the normal classLoader acquired by using getClass.getClassLoader, since we must be able to load resources from different threads e.g.
- getResponse() - Method in exception org.apache.sling.testing.clients.ClientException
- getRetryInterval() - Method in class org.apache.sling.testing.clients.util.ServerErrorRetryStrategy
- getRunmode() - Method in class org.apache.sling.testing.clients.instance.InstanceConfiguration
- getSlingChangeLog() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get change log from Sling Response
- getSlingCopyPaths() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get copy paths from message
- getSlingLocation() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get location from Sling Response
- getSlingMessage() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get message from Sling Response
- getSlingParentLocation() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get parent location from Sling Response
- getSlingPath() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get path from Sling Response
- getSlingReferer() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get referer from Sling Response
- getSlingStatus() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get status from Sling Response
- getSlingStatusAsInt() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
-
Get status from Sling Response as integer
- getStatus() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getStatus() - Method in class org.apache.sling.testing.clients.osgi.ComponentInfo
- getStatusLine() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- getStatusMessage() - Method in class org.apache.sling.testing.clients.osgi.BundlesInfo
- getSymbolicName() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getTestStickySessionCookie() - Static method in class org.apache.sling.testing.clients.interceptors.StickyCookieHolder
- getTimeout(int) - Method in class org.apache.sling.testing.clients.util.TimeoutsProvider
-
Deprecated.
- getTimeout(int) - Method in class org.apache.sling.testing.timeouts.TimeoutsProvider
- getTimeout(long) - Method in class org.apache.sling.testing.clients.util.TimeoutsProvider
-
Deprecated.
- getTimeout(long) - Method in class org.apache.sling.testing.timeouts.TimeoutsProvider
- getTimeout(String, int) - Method in class org.apache.sling.testing.clients.util.TimeoutsProvider
-
Deprecated.Get timeout from a system property, with default value
- getTimeout(String, int) - Method in class org.apache.sling.testing.timeouts.TimeoutsProvider
-
Get timeout from a system property, with default value
- getTotalNumOfBundles() - Method in class org.apache.sling.testing.clients.osgi.BundlesInfo
- getTotalNumOfServices() - Method in class org.apache.sling.testing.clients.osgi.ServicesInfo
- getTypes() - Method in class org.apache.sling.testing.clients.osgi.ServiceInfo
- getUrl() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Base HTTP URI of the server under test.
- getUrl() - Method in class org.apache.sling.testing.clients.instance.InstanceConfiguration
- getUrl() - Method in class org.apache.sling.testing.clients.SlingClientConfig
- getUrl(String) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Gets the full URL for a given path.
- getUrl(String, List<NameValuePair>) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Creates a full URL for a given path with additional parameters.
- getURLParameters() - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
-
Build the URL parameters
- getUser() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Returns the name of the user that will be used to authenticate the requests (by basic auth, if not replaced).
- getUser() - Method in class org.apache.sling.testing.clients.SlingClient
- getUser() - Method in class org.apache.sling.testing.clients.SlingClientConfig
- getUUId(JsonNode) - Method in class org.apache.sling.testing.clients.SlingClient
-
Get the UUID from a node that was already parsed in a
JsonNode
- getUUID(String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Get the UUID of a repository path
- getValue(String) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Gets the value for
key
from the generic values - getValues() - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Returns the extra values map
- getValues() - Method in class org.apache.sling.testing.clients.SlingClientConfig
-
Get the map of extra custom values configured on the client
- getVersion() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
- getWaited() - Method in class org.apache.sling.testing.clients.util.poller.Polling
H
- hasValue(String) - Method in class org.apache.sling.testing.clients.AbstractSlingClient
-
Checks whether the handler has the given generic value
- HEADER_FROM - Static variable in class org.apache.sling.testing.clients.email.EmailMessage
- HEADER_SUBJECT - Static variable in class org.apache.sling.testing.clients.email.EmailMessage
- HEADER_TO - Static variable in class org.apache.sling.testing.clients.email.EmailMessage
- headerIterator() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- headerIterator(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- HTTP_DELAY_PROP - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.getHttpDelay()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- HTTP_LOG_RETRIES_PROP - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.isHttpLogRetries()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- HTTP_RETRIES_DELAY_PROP - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.getHttpRetriesDelay()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- HTTP_RETRIES_ERROR_CODES_PROP - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.getHttpRetriesErrorCodes()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- HTTP_RETRIES_PROP - Static variable in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
System property for
SystemPropertiesConfig.getHttpRetries()
Prefixed bySystemPropertiesConfig.CONFIG_PROP_PREFIX
- httpClientBuilder() - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- HttpRequestResponseInterceptor - Interface in org.apache.sling.testing.clients.interceptors
- HttpUtils - Class in org.apache.sling.testing.clients.util
- HttpUtils() - Constructor for class org.apache.sling.testing.clients.util.HttpUtils
I
- impersonate(String) - Method in class org.apache.sling.testing.clients.SlingClient
-
Impersonate user with the given
userId
- importContent(String, String, File, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Create a tree structure under
parentPath
by providing acontentFile
in one of the supported formats: xml, jcr.xml, json, jar, zip. - importContent(String, String, String, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Create a tree structure under
parentPath
by providing acontent
in one of the supported formats: xml, jcr.xml, json, jar, zip. - importJson(String, JsonNode, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Wrapper method over
SlingClient.importContent(String, String, String, int...)
for directly importing a json node - IndexingClient - Class in org.apache.sling.testing.clients.indexing
-
Interface to the oak indexing mechanism
- IndexingClient(URI, String, String) - Constructor for class org.apache.sling.testing.clients.indexing.IndexingClient
-
Handy constructor easy to use in simple tests.
- IndexingClient(CloseableHttpClient, SlingClientConfig) - Constructor for class org.apache.sling.testing.clients.indexing.IndexingClient
-
Constructor used by Builders and adaptTo().
- InputStreamBodyWithLength - Class in org.apache.sling.testing.clients.util
-
If we want to upload a file that is a resource in a jar file, the http client expects a content length.
- InputStreamBodyWithLength(String, String, String) - Constructor for class org.apache.sling.testing.clients.util.InputStreamBodyWithLength
- install() - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Creates the necessary custom indices in the repository, if not already present.
- installBundle(File, boolean) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Install a bundle using the Felix webconsole HTTP interface
- installBundle(File, boolean, int) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Install a bundle using the Felix webconsole HTTP interface, with a specific start level
- installBundles(List<File>, boolean) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Install a list of bundles supplied as Files
- installBundleWithRetry(File, boolean, int, int, int) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
- INSTALLED - org.apache.sling.testing.clients.osgi.Bundle.Status
- installServlet() - Method in class org.apache.sling.testing.clients.query.QueryClient
-
Installs the servlet to be able to perform queries.
- INSTANCE_CONFIG_ADMINPASSWORD - Static variable in class org.apache.sling.testing.clients.instance.InstanceSetup
- INSTANCE_CONFIG_ADMINUSER - Static variable in class org.apache.sling.testing.clients.instance.InstanceSetup
- INSTANCE_CONFIG_INSTANCES - Static variable in class org.apache.sling.testing.clients.instance.InstanceSetup
- INSTANCE_CONFIG_RUNMODE - Static variable in class org.apache.sling.testing.clients.instance.InstanceSetup
- INSTANCE_CONFIG_URL - Static variable in class org.apache.sling.testing.clients.instance.InstanceSetup
- InstanceConfig - Interface in org.apache.sling.testing.clients.util.config
-
Allows saving and restoring an instance configuration.
- InstanceConfigCache - Interface in org.apache.sling.testing.clients.util.config
-
A cache for different
InstanceConfig
objects - InstanceConfigException - Exception in org.apache.sling.testing.clients.util.config
- InstanceConfigException() - Constructor for exception org.apache.sling.testing.clients.util.config.InstanceConfigException
- InstanceConfigException(Exception) - Constructor for exception org.apache.sling.testing.clients.util.config.InstanceConfigException
- InstanceConfigException(String) - Constructor for exception org.apache.sling.testing.clients.util.config.InstanceConfigException
- InstanceConfigException(String, Throwable) - Constructor for exception org.apache.sling.testing.clients.util.config.InstanceConfigException
- InstanceConfigException(Throwable) - Constructor for exception org.apache.sling.testing.clients.util.config.InstanceConfigException
- InstanceConfiguration - Class in org.apache.sling.testing.clients.instance
-
Configuration of a single instance instance.
- InstanceConfiguration(URI, String) - Constructor for class org.apache.sling.testing.clients.instance.InstanceConfiguration
- InstanceConfiguration(URI, String, String, String) - Constructor for class org.apache.sling.testing.clients.instance.InstanceConfiguration
- InstanceSetup - Class in org.apache.sling.testing.clients.instance
-
Utility class for getting the current instance setup
- InternalBuilder(URI, String, String) - Constructor for class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- isClientUserAgentUsingVersion() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Whether the user-agent of the
SlingClient
should be appended by the current library version - isConsumed() - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- isFragment() - Method in class org.apache.sling.testing.clients.osgi.BundleInfo
-
Returns the indicator if the bundle is a fragment
- isHttpLogRetries() - Static method in class org.apache.sling.testing.clients.SystemPropertiesConfig
-
Whether to log or not http request retries
- isInHttpStatusRange(HttpResponse, int) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
-
Check if expected status is in range
- isInstalled(File) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Checks if a bundle is installed or not.
- isInstalledWithSameVersion(File) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Check if the installed version matches the one of the bundle (file)
J
- JQOM - org.apache.sling.testing.clients.query.QueryClient.QueryType
- JSON_KEY_DATA - Static variable in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
- JSON_KEY_ID - Static variable in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
- JSON_KEY_STATE - Static variable in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
- JSON_KEY_VERSION - Static variable in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
- JsonUtils - Class in org.apache.sling.testing.clients.util
- JsonUtils() - Constructor for class org.apache.sling.testing.clients.util.JsonUtils
L
- lastException - Variable in class org.apache.sling.testing.clients.util.poller.Polling
-
Holder for the last exception thrown by call(), to be used for logging
- LOCATION - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- LOG - Static variable in class org.apache.sling.testing.clients.html.MicrodataClient
M
- message() - Method in class org.apache.sling.testing.clients.util.poller.Polling
-
Returns the string to be used in the
TimeoutException
, if needed. - MESSAGE - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- MicrodataClient - Class in org.apache.sling.testing.clients.html
- MicrodataClient(URI, String, String) - Constructor for class org.apache.sling.testing.clients.html.MicrodataClient
- MicrodataClient(CloseableHttpClient, SlingClientConfig) - Constructor for class org.apache.sling.testing.clients.html.MicrodataClient
- move(String, String, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Moves a sling path to a new location (:operation move)
- multiple() - Method in class org.apache.sling.testing.clients.util.SlingParameter
N
- newDocument(String) - Method in class org.apache.sling.testing.clients.html.MicrodataClient
O
- org.apache.sling.testing - package org.apache.sling.testing
- org.apache.sling.testing.clients - package org.apache.sling.testing.clients
- org.apache.sling.testing.clients.email - package org.apache.sling.testing.clients.email
- org.apache.sling.testing.clients.exceptions - package org.apache.sling.testing.clients.exceptions
- org.apache.sling.testing.clients.html - package org.apache.sling.testing.clients.html
- org.apache.sling.testing.clients.indexing - package org.apache.sling.testing.clients.indexing
- org.apache.sling.testing.clients.instance - package org.apache.sling.testing.clients.instance
- org.apache.sling.testing.clients.interceptors - package org.apache.sling.testing.clients.interceptors
- org.apache.sling.testing.clients.osgi - package org.apache.sling.testing.clients.osgi
-
OSGI testing tools.
- org.apache.sling.testing.clients.query - package org.apache.sling.testing.clients.query
-
Query tools leveraging javax.jcr.query
- org.apache.sling.testing.clients.query.servlet - package org.apache.sling.testing.clients.query.servlet
-
Query tools leveraging javax.jcr.query
- org.apache.sling.testing.clients.util - package org.apache.sling.testing.clients.util
- org.apache.sling.testing.clients.util.config - package org.apache.sling.testing.clients.util.config
- org.apache.sling.testing.clients.util.poller - package org.apache.sling.testing.clients.util.poller
- org.apache.sling.testing.timeouts - package org.apache.sling.testing.timeouts
- OSGI_CONSOLE - Static variable in class org.apache.sling.testing.Constants
-
Handle to OSGI console
- OsgiConsoleClient - Class in org.apache.sling.testing.clients.osgi
-
A client that wraps the Felix OSGi Web Console REST API calls.
- OsgiConsoleClient(URI, String, String) - Constructor for class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Default constructor.
- OsgiConsoleClient(CloseableHttpClient, SlingClientConfig) - Constructor for class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Constructor used by adaptTo() and InternalBuilder classes.
- OsgiInstanceConfig - Class in org.apache.sling.testing.clients.osgi
-
Allows saving and restoring the OSGiConfig to be used before and after altering OSGi configurations for tests
- OsgiInstanceConfig(T, String) - Constructor for class org.apache.sling.testing.clients.osgi.OsgiInstanceConfig
P
- PARAMETER_CHARSET - Static variable in class org.apache.sling.testing.Constants
-
General parameters and values
- PARENT_LOCATION - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- parse(Header, CookieOrigin) - Method in class org.apache.sling.testing.clients.interceptors.StickyCookieSpec
- password - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- password - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
Password of the user that will be used to authenticate the requests.
- PATH - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- PathPoller - Class in org.apache.sling.testing.clients.util.poller
-
Deprecated.
- PathPoller(AbstractSlingClient, String, long, long, int...) - Constructor for class org.apache.sling.testing.clients.util.poller.PathPoller
-
Deprecated.
- poll(long, long) - Method in class org.apache.sling.testing.clients.util.poller.Polling
-
Tries to execute
Polling.call()
until it returns true or untiltimeout
is reached. - Poller - Interface in org.apache.sling.testing.clients.util.poller
-
Deprecated.use
Polling
instead. - Polling - Class in org.apache.sling.testing.clients.util.poller
-
Helper for repeating a call until it returns true, with timeout capabilities.
- Polling() - Constructor for class org.apache.sling.testing.clients.util.poller.Polling
-
Default constructor to be used in subclasses that override the
Polling.call()
method. - Polling(Callable<Boolean>) - Constructor for class org.apache.sling.testing.clients.util.poller.Polling
-
Creates a new instance that uses the
Callable
parameter for polling - PortAllocator - Class in org.apache.sling.testing.clients.util
- PortAllocator() - Constructor for class org.apache.sling.testing.clients.util.PortAllocator
- post(String, HttpEntity) - Method in class org.apache.sling.testing.clients.html.MicrodataClient
- preemptiveAuth - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- process(HttpRequest, HttpContext) - Method in class org.apache.sling.testing.clients.interceptors.DelayRequestInterceptor
- process(HttpRequest, HttpContext) - Method in class org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor
- process(HttpRequest, HttpContext) - Method in class org.apache.sling.testing.clients.interceptors.StickyCookieInterceptor
- process(HttpRequest, HttpContext) - Method in class org.apache.sling.testing.clients.interceptors.TestDescriptionInterceptor
- process(HttpRequest, HttpContext) - Method in class org.apache.sling.testing.clients.interceptors.UserAgentInterceptor
- process(HttpResponse, HttpContext) - Method in class org.apache.sling.testing.clients.interceptors.FormBasedAuthInterceptor
- PROP_TIMEOUT_MULTIPLIER - Static variable in class org.apache.sling.testing.clients.util.TimeoutsProvider
-
Deprecated.
- PROP_TIMEOUT_MULTIPLIER - Static variable in class org.apache.sling.testing.timeouts.TimeoutsProvider
Q
- QueryClient - Class in org.apache.sling.testing.clients.query
-
Sling client for performing oak queries.
- QueryClient(URI, String, String) - Constructor for class org.apache.sling.testing.clients.query.QueryClient
-
Convenience constructor
- QueryClient(CloseableHttpClient, SlingClientConfig) - Constructor for class org.apache.sling.testing.clients.query.QueryClient
-
Constructor used by adaptTo
- QueryClient.QueryType - Enum in org.apache.sling.testing.clients.query
-
Query types, as defined in
org.apache.jackrabbit.oak.query.QueryEngineImpl
- QueryServlet - Class in org.apache.sling.testing.clients.query.servlet
- QueryServlet() - Constructor for class org.apache.sling.testing.clients.query.servlet.QueryServlet
R
- readResourceAsString(String) - Static method in class org.apache.sling.testing.clients.util.ResourceUtil
-
Helper method to read a resource from class using
Class.getResourceAsStream(String)
and convert into a String. - REFERER - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- refreshPackages() - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Calls PackageAdmin.refreshPackages to force re-wiring of all the bundles.
- remove() - Static method in class org.apache.sling.testing.clients.interceptors.StickyCookieHolder
- removeClassName() - Static method in class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- removeHeader(Header) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- removeHeaders(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- removeMethodName() - Static method in class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- reset() - Static method in class org.apache.sling.testing.clients.interceptors.UserAgentHolder
-
Remove value of the user-agent
- RESOLVED - org.apache.sling.testing.clients.osgi.Bundle.Status
- ResourceUtil - Class in org.apache.sling.testing.clients.util
- ResourceUtil() - Constructor for class org.apache.sling.testing.clients.util.ResourceUtil
- restore() - Method in class org.apache.sling.testing.clients.osgi.OsgiInstanceConfig
-
Restore the current OSGi configuration for the PID defined in the constructor
- restore() - Method in interface org.apache.sling.testing.clients.util.config.InstanceConfig
-
Restores the saved status of the configuration
- retryRequest(HttpResponse, int, HttpContext) - Method in class org.apache.sling.testing.clients.util.ServerErrorRetryStrategy
S
- SATISFIED - org.apache.sling.testing.clients.osgi.Component.Status
- save() - Method in class org.apache.sling.testing.clients.osgi.OsgiInstanceConfig
-
Save the current OSGi configuration for the PID defined in the constructor
- save() - Method in interface org.apache.sling.testing.clients.util.config.InstanceConfig
-
Saves the current status of the configuration
- SEP - Static variable in class org.apache.sling.testing.clients.util.UniquePaths
- ServerErrorRetryStrategy - Class in org.apache.sling.testing.clients.util
-
{code ServiceUnavailableRetryStrategy} strategy for retrying request in case of a 5XX response code
- ServerErrorRetryStrategy() - Constructor for class org.apache.sling.testing.clients.util.ServerErrorRetryStrategy
- ServiceInfo - Class in org.apache.sling.testing.clients.osgi
- ServiceInfo(JsonNode) - Constructor for class org.apache.sling.testing.clients.osgi.ServiceInfo
- ServicesInfo - Class in org.apache.sling.testing.clients.osgi
-
A simple Wrapper around the returned JSON when requesting the status of /system/console/services
- ServicesInfo(JsonNode) - Constructor for class org.apache.sling.testing.clients.osgi.ServicesInfo
-
The only constructor.
- SERVLET_NAME - Static variable in class org.apache.sling.testing.clients.query.servlet.QueryServlet
- SERVLET_PATH - Static variable in class org.apache.sling.testing.clients.query.servlet.QueryServlet
- set(String) - Static method in class org.apache.sling.testing.clients.interceptors.UserAgentHolder
-
Override the current user-agent with a completely new one.
- setAuthCache(AuthCache) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setClassName(String) - Static method in class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- setCookieStore(CookieStore) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- setCookieStore(CookieStore) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setCredentialsProvider(CredentialsProvider) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- setCredentialsProvider(CredentialsProvider) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setEncoding(String) - Method in class org.apache.sling.testing.clients.util.FormEntityBuilder
- setEncoding(String) - Method in class org.apache.sling.testing.clients.util.URLParameterBuilder
- setEntity(HttpEntity) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setHeader(String, String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setHeader(Header) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setHeaders(Header[]) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setLaneNames(String...) - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Set provided
laneNames
to config map. - setLocale(Locale) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setMethodName(String) - Static method in class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- setParams(HttpParams) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setPassword(String) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- setPassword(String) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setPreemptiveAuth(boolean) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- setPreemptiveAuth(boolean) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setPropertiesString(String, List<NameValuePair>, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Sets multiple String properties on a node in a single request
- setPropertyString(String, String, String, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Sets String component property on a node.
- setPropertyStringArray(String, String, List<String>, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Sets a String[] component property on a node.
- setReasonPhrase(String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setRedirectStrategy(RedirectStrategy) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
-
Assigns
RedirectStrategy
instance. - setRequest(HttpUriRequest) - Method in exception org.apache.sling.testing.clients.ClientException
-
Set the request associated with this exception
- setResponse(SlingHttpResponse) - Method in exception org.apache.sling.testing.clients.ClientException
-
Set the response associated with this exception or {{null}}
- setStatusCode(int) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setStatusLine(ProtocolVersion, int) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setStatusLine(ProtocolVersion, int, String) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setStatusLine(StatusLine) - Method in class org.apache.sling.testing.clients.SlingHttpResponse
- setTestStickySessionCookie(Cookie) - Static method in class org.apache.sling.testing.clients.interceptors.StickyCookieHolder
- setUrl(String) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setUrl(URI) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- setUrl(URI) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- setUser(String) - Method in class org.apache.sling.testing.clients.SlingClient.InternalBuilder
- setUser(String) - Method in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- SlingClient - Class in org.apache.sling.testing.clients
-
The Base class for all Integration Test Clients.
- SlingClient(URI, String, String) - Constructor for class org.apache.sling.testing.clients.SlingClient
-
Handy constructor easy to use in simple tests.
- SlingClient(CloseableHttpClient, SlingClientConfig) - Constructor for class org.apache.sling.testing.clients.SlingClient
-
Constructor used by Builders and adaptTo().
- SlingClient.Builder - Class in org.apache.sling.testing.clients
- SlingClient.InternalBuilder<T extends SlingClient> - Class in org.apache.sling.testing.clients
-
Extensible InternalBuilder for SlingClient.
- SlingClientConfig - Class in org.apache.sling.testing.clients
- SlingClientConfig(URI, String, String, CookieStore, CredentialsProvider, AuthCache) - Constructor for class org.apache.sling.testing.clients.SlingClientConfig
- SlingClientConfig.Builder - Class in org.apache.sling.testing.clients
- SlingEmailClient - Class in org.apache.sling.testing.clients.email
-
Accesses email stored by a mock SMTP server deployed to Sling
- SlingEmailClient(CloseableHttpClient, SlingClientConfig) - Constructor for class org.apache.sling.testing.clients.email.SlingEmailClient
- SlingHttpResponse - Class in org.apache.sling.testing.clients
- SlingHttpResponse(CloseableHttpResponse) - Constructor for class org.apache.sling.testing.clients.SlingHttpResponse
- SlingParameter - Class in org.apache.sling.testing.clients.util
- SlingParameter(String) - Constructor for class org.apache.sling.testing.clients.util.SlingParameter
- SQL - org.apache.sling.testing.clients.query.QueryClient.QueryType
- SQL2 - org.apache.sling.testing.clients.query.QueryClient.QueryType
- startAllBundles(List<String>, int) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Start all the bundles in a {{List}}
- startBundle(String) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Starts a bundle
- startBundlewithWait(String, int, int) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Deprecated.
- STATUS - Static variable in class org.apache.sling.testing.clients.SlingHttpResponse
- StickyCookieHolder - Class in org.apache.sling.testing.clients.interceptors
- StickyCookieHolder() - Constructor for class org.apache.sling.testing.clients.interceptors.StickyCookieHolder
- StickyCookieInterceptor - Class in org.apache.sling.testing.clients.interceptors
- StickyCookieInterceptor() - Constructor for class org.apache.sling.testing.clients.interceptors.StickyCookieInterceptor
- StickyCookieSpec - Class in org.apache.sling.testing.clients.interceptors
- StickyCookieSpec() - Constructor for class org.apache.sling.testing.clients.interceptors.StickyCookieSpec
- stopBundle(String) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Stop a bundle
- SUDO_COOKIE_NAME - Static variable in class org.apache.sling.testing.clients.SlingClient
- SystemPropertiesConfig - Class in org.apache.sling.testing.clients
- SystemPropertiesConfig() - Constructor for class org.apache.sling.testing.clients.SystemPropertiesConfig
T
- TEST_CLASS_HEADER - Static variable in class org.apache.sling.testing.clients.interceptors.TestDescriptionInterceptor
- TEST_NAME_HEADER - Static variable in class org.apache.sling.testing.clients.interceptors.TestDescriptionInterceptor
- TestDescriptionHolder - Class in org.apache.sling.testing.clients.interceptors
- TestDescriptionHolder() - Constructor for class org.apache.sling.testing.clients.interceptors.TestDescriptionHolder
- TestDescriptionInterceptor - Class in org.apache.sling.testing.clients.interceptors
-
HttpClient interceptor that propagates the current test name as part HTTP request headers.
- TestDescriptionInterceptor() - Constructor for class org.apache.sling.testing.clients.interceptors.TestDescriptionInterceptor
- TestingIOException - Exception in org.apache.sling.testing.clients.exceptions
-
Use this exception to indicate any problems with networking (typically manifested as IOException).
- TestingIOException(String) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingIOException
- TestingIOException(String, int) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingIOException
- TestingIOException(String, int, Throwable) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingIOException
- TestingIOException(String, Throwable) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingIOException
- TestingIOException(String, Throwable, HttpUriRequest, SlingHttpResponse) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingIOException
- TestingSetupException - Exception in org.apache.sling.testing.clients.exceptions
-
Use this exception to signal problems in the test setup, e.g.
- TestingSetupException(String) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingSetupException
- TestingSetupException(String, int) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingSetupException
- TestingSetupException(String, int, Throwable) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingSetupException
- TestingSetupException(String, Throwable) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingSetupException
- TestingSetupException(String, Throwable, HttpUriRequest, SlingHttpResponse) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingSetupException
- TestingValidationException - Exception in org.apache.sling.testing.clients.exceptions
-
Use this exception to indicate any mismatch between expectations and the actual test result.
- TestingValidationException(String) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingValidationException
- TestingValidationException(String, int) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingValidationException
- TestingValidationException(String, int, Throwable) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingValidationException
- TestingValidationException(String, Throwable) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingValidationException
- TestingValidationException(String, Throwable, HttpUriRequest, SlingHttpResponse) - Constructor for exception org.apache.sling.testing.clients.exceptions.TestingValidationException
- TimeoutsProvider - Class in org.apache.sling.testing.clients.util
-
Deprecated.duplicate of
TimeoutsProvider
. This will be removed in the future, so switch to the other one instead - TimeoutsProvider - Class in org.apache.sling.testing.timeouts
-
Return timeout values that can be multiplied by a configurable factor.
- toNameValuePairs() - Method in class org.apache.sling.testing.clients.util.SlingParameter
- toString() - Method in exception org.apache.sling.testing.clients.ClientException
- toString() - Method in enum org.apache.sling.testing.clients.osgi.Bundle.Status
- toString() - Method in enum org.apache.sling.testing.clients.osgi.Component.Status
- toString() - Method in enum org.apache.sling.testing.clients.query.QueryClient.QueryType
- typeHint(String) - Method in class org.apache.sling.testing.clients.util.SlingParameter
U
- U_PATTERN - Static variable in class org.apache.sling.testing.clients.util.UniquePaths
- uninstall() - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Deprecated.Use #uninstallWithRetry
- uninstallBundle(String) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Uninstall a bundle
- uninstallBundles(List<File>) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Uninstall a list of bundles supplied as Files
- uninstallServlet() - Method in class org.apache.sling.testing.clients.query.QueryClient
-
Deletes all the resources created by
QueryClient.installServlet()
- uninstallWithRetry() - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Retries cleaning all the data generated by
IndexingClient.install()
andIndexingClient.waitForAsyncIndexing(long, long)
. - UniquePaths - Class in org.apache.sling.testing.clients.util
-
Generate unique paths, for tests isolation
- UniquePaths() - Constructor for class org.apache.sling.testing.clients.util.UniquePaths
- UNKNOWN - org.apache.sling.testing.clients.osgi.Component.Status
- UNSATISFIED_CONFIGURATION - org.apache.sling.testing.clients.osgi.Component.Status
- UNSATISFIED_REFERENCE - org.apache.sling.testing.clients.osgi.Component.Status
- upload(File, String, String, boolean, int...) - Method in class org.apache.sling.testing.clients.SlingClient
-
Uploads a file to the repository.
- url - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- url - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
Base URI of the server under test.
- URLParameterBuilder - Class in org.apache.sling.testing.clients.util
- user - Variable in class org.apache.sling.testing.clients.SlingClientConfig.Builder
- user - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
Name of the user that will be used to authenticate the requests.
- USER_AGENT_HEADER - Static variable in class org.apache.sling.testing.clients.interceptors.UserAgentInterceptor
- UserAgentHolder - Class in org.apache.sling.testing.clients.interceptors
- UserAgentInterceptor - Class in org.apache.sling.testing.clients.interceptors
- UserAgentInterceptor() - Constructor for class org.apache.sling.testing.clients.interceptors.UserAgentInterceptor
- UserAgentUtil - Class in org.apache.sling.testing.clients.util
V
- value(String) - Static method in enum org.apache.sling.testing.clients.osgi.Bundle.Status
- value(String) - Static method in enum org.apache.sling.testing.clients.osgi.Component.Status
- value(String) - Method in class org.apache.sling.testing.clients.util.SlingParameter
- valueOf(String) - Static method in enum org.apache.sling.testing.clients.osgi.Bundle.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.testing.clients.osgi.Component.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.sling.testing.clients.query.QueryClient.QueryType
-
Returns the enum constant of this type with the specified name.
- values - Variable in class org.apache.sling.testing.clients.SlingClientConfig
-
Extra values to be used in interceptors, custom auth mechanisms, etc.
- values() - Static method in enum org.apache.sling.testing.clients.osgi.Bundle.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.testing.clients.osgi.Component.Status
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.sling.testing.clients.query.QueryClient.QueryType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values(String[]) - Method in class org.apache.sling.testing.clients.util.SlingParameter
- verifyHttpStatus(HttpResponse, String, int...) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
-
Verify expected status and show error message in case expected status is not returned.
- verifyHttpStatus(SlingHttpResponse, int...) - Static method in class org.apache.sling.testing.clients.util.HttpUtils
-
Verify expected status and dump response in case expected status is not returned.
W
- waitBundleInstalled(String, long, long) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Wait until the bundle is installed.
- waitBundlesInstalled(List<String>, long) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Wait for multiple bundles to be installed in the OSGi web console.
- waitBundleStarted(String, long, long) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Wait until the bundle is started
- waitComponentRegistered(String, long, long) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Wait until the component with the given name is registered.
- waitCount - Variable in class org.apache.sling.testing.clients.osgi.OsgiInstanceConfig
-
Deprecated.
- waited - Variable in class org.apache.sling.testing.clients.util.poller.Polling
-
Counter for total waiting time
- waitEditConfiguration(long, String, String, Map<String, Object>, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Sets properties of a config referenced by its PID.
- waitExists(String, long, long) - Method in class org.apache.sling.testing.clients.SlingClient
-
Waits until a path exists by making successive GET requests to that path with the
json extension
- waitForAsyncIndexing() - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Same as
IndexingClient.waitForAsyncIndexing(long timeout, long delay)
, but with default values fortimeout=1min
anddelay=500ms
. - waitForAsyncIndexing(long, long) - Method in class org.apache.sling.testing.clients.indexing.IndexingClient
-
Blocks until all the async indices are up to date, to guarantee that the susequent queries return all the results.
- waitForBundlesInstalled(List<String>, int) - Method in class org.apache.sling.testing.clients.osgi.BundlesInstaller
-
Deprecated.
- waitGetConfiguration(long, String, int...) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Returns a map of all properties set for the config referenced by the PID, where the map keys are the property names.
- waitInstallBundle(File, boolean, int, long, long) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Install a bundle using the Felix webconsole HTTP interface and wait for it to be installed.
- waitServiceRegistered(String, String, long, long) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Wait until the service with the given name is registered.
- waitStartBundle(String, long, long) - Method in class org.apache.sling.testing.clients.osgi.OsgiConsoleClient
-
Starts a bundle and waits for it to be started
- waitUntilExists(String, long, int) - Method in class org.apache.sling.testing.clients.SlingClient
-
Deprecated.use
SlingClient.waitExists(String, long, long)
instead.
X
- XPATH - org.apache.sling.testing.clients.query.QueryClient.QueryType
- XSSUtils - Class in org.apache.sling.testing.clients.util
-
Basic class for XSS Testing The reliability of these methods are not critical
- XSSUtils() - Constructor for class org.apache.sling.testing.clients.util.XSSUtils
All Classes All Packages