- accepts(String) - Method in class org.wisdom.test.parents.FakeRequest
-
Checks if this request accepts a given media type.
- Action - Class in org.wisdom.test.parents
-
Allow configuring an invocation of an action.
- Action(Invocation) - Constructor for class org.wisdom.test.parents.Action
-
Creates an invocation.
- action(Invocation) - Static method in class org.wisdom.test.parents.Action
-
Gets a new action using the given invocation.
- Action.ActionResult - Class in org.wisdom.test.parents
-
Action's result.
- ActionResult(Result, Context) - Constructor for class org.wisdom.test.parents.Action.ActionResult
-
Creates a new action result.
- ActionResultAssert - Class in org.wisdom.test.assertions
-
- ActionResultAssert(Action.ActionResult) - Constructor for class org.wisdom.test.assertions.ActionResultAssert
-
- Activator - Class in org.wisdom.test.probe
-
The probe activator.
- Activator() - Constructor for class org.wisdom.test.probe.Activator
-
- add(String, String) - Method in class org.wisdom.test.parents.FakeCookies
-
Adds a cookie.
- add(Cookie) - Method in class org.wisdom.test.parents.FakeCookies
-
Adds a cookie.
- addToFlash(String, String) - Method in class org.wisdom.test.parents.FakeContext
-
Adds data to the (incoming) flash scope.
- addToSession(String, String) - Method in class org.wisdom.test.parents.FakeContext
-
Adds data to the session.
- APPLICATION_BUNDLE - Static variable in class org.wisdom.test.internals.ChameleonExecutor
-
- asBinary() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as binary.
- asBinaryAsync() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as binary.
- asBinaryAsync(Callback<InputStream>) - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as binary.
- asHtml() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as HTML.
- asJson() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as JSON.
- asJsonAsync() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as JSON.
- asJsonAsync(Callback<JsonNode>) - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as String.
- asMap() - Method in class org.wisdom.test.parents.FakeConfiguration
-
- asProperties() - Method in class org.wisdom.test.parents.FakeConfiguration
-
- assertj(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
-
Adds the AssertJ packages.
- assertStatus(Integer) - Static method in class org.wisdom.test.assertions.WisdomAssertions
-
Give access to Status assertion.
- assertThat(Action.ActionResult) - Static method in class org.wisdom.test.assertions.ActionResultAssert
-
- assertThat(Context) - Static method in class org.wisdom.test.assertions.ContextAssert
-
- assertThat(HttpResponse<T>) - Static method in class org.wisdom.test.assertions.HttpResponseAssert
-
- assertThat(SessionCookie) - Static method in class org.wisdom.test.assertions.SessionAssert
-
- assertThat(Integer) - Static method in class org.wisdom.test.assertions.StatusAssert
-
- assertThat(Action.ActionResult) - Static method in class org.wisdom.test.assertions.WisdomAssertions
-
- assertThat(Context) - Static method in class org.wisdom.test.assertions.WisdomAssertions
-
Give access to Context assertion.
- assertThat(SessionCookie) - Static method in class org.wisdom.test.assertions.WisdomAssertions
-
Give access to SessionCookie assertion.
- assertThat(HttpResponse<T>) - Static method in class org.wisdom.test.assertions.WisdomAssertions
-
- asString() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as String.
- asStringAsync() - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as String.
- asStringAsync(Callback<String>) - Method in class org.wisdom.test.http.BaseRequest
-
Gets the request results as String.
- attribute(String, String) - Method in class org.wisdom.test.parents.Action
-
Sets a parameter.
- attributes() - Method in class org.wisdom.test.parents.FakeContext
-
Deprecated.
- BaseRequest - Class in org.wisdom.test.http
-
The default code for all requests.
- BaseRequest(HttpRequest) - Constructor for class org.wisdom.test.http.BaseRequest
-
Creates a base request form the given HTTP Request.
- BaseRequest() - Constructor for class org.wisdom.test.http.BaseRequest
-
Creates a base request.
- basicAuth(String, String) - Method in class org.wisdom.test.http.GetRequest
-
Configures the basic authentication.
- basicAuth(String, String) - Method in class org.wisdom.test.http.HttpRequest
-
Configures the authentication credentials.
- basicAuth(String, String) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Configures the authentication credentials.
- basicAuth(String, String) - Method in class org.wisdom.test.http.MultipartBody
-
Sets the basic authentication.
- Body - Interface in org.wisdom.test.http
-
Represents the content of a HTTP Request.
- body - Variable in class org.wisdom.test.http.HttpRequest
-
The payload of the request.
- body(JsonNode) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Sets the content of the HTTP request to the given JSON body.
- body(String) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Sets the content of the HTTP request to the given String body.
- body - Variable in class org.wisdom.test.http.HttpResponse
-
- body() - Method in class org.wisdom.test.http.HttpResponse
-
- body - Variable in class org.wisdom.test.http.RequestBodyEntity
-
- body(String) - Method in class org.wisdom.test.http.RequestBodyEntity
-
Sets the actual body content.
- body(JsonNode) - Method in class org.wisdom.test.http.RequestBodyEntity
-
Sets the actual body content.
- body(Object) - Method in class org.wisdom.test.parents.Action
-
Sets the body.
- body - Variable in class org.wisdom.test.parents.FakeContext
-
The payload.
- body(Class<T>) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the body.
- body(Class<T>, Type) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the body.
- body() - Method in class org.wisdom.test.parents.FakeContext
-
- bodyMatches(String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response body matches the given regex.
- build(Jar, ClassPath, Pattern) - Static method in class org.wisdom.test.internals.ClassPathResource
-
Adds all the resources found in the given classpath to the given jar.
- BUNDLE_NAME - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
-
The name of the probe bundle.
- bytes() - Method in class org.wisdom.test.parents.FakeFileItem
-
- Callback<T> - Interface in org.wisdom.test.http
-
- cancelled() - Method in interface org.wisdom.test.http.Callback
-
Method called when the HTTP Request associated with the current
Callback instance
has been cancelled.
- ChameleonExecutor - Class in org.wisdom.test.internals
-
Handles a Chameleon and manages the singleton instance.
- ChameleonExecutor() - Constructor for class org.wisdom.test.internals.ChameleonExecutor
-
- charset() - Method in class org.wisdom.test.http.HttpResponse
-
- charset() - Method in class org.wisdom.test.parents.FakeRequest
-
Get the charset that is acceptable for the client.
- CHARSET_PATTERN - Static variable in class org.wisdom.test.http.HttpResponse
-
- checkEmpty(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
-
- checkWisdomInstallation() - Static method in class org.wisdom.test.internals.RunnerUtils
-
Checks whether the Wisdom server was correctly unpacked.
- ClassPathResource - Class in org.wisdom.test.internals
-
A bnd resource wrapping a resource from the classpath.
- ClassPathResource(ClassPath.ResourceInfo) - Constructor for class org.wisdom.test.internals.ClassPathResource
-
Creates the Classpath resource from the given resource.
- clear() - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- clearCurrentFlashCookieData() - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- ClientFactory - Class in org.wisdom.test.http
-
The HTTP Client factory.
- ClientFactory() - Constructor for class org.wisdom.test.http.ClientFactory
-
- code - Variable in class org.wisdom.test.http.HttpResponse
-
- code() - Method in class org.wisdom.test.http.HttpResponse
-
- completed(HttpResponse<T>) - Method in interface org.wisdom.test.http.Callback
-
Method called when the HTTP Response is received.
- computeClassPath() - Static method in class org.wisdom.test.internals.ProbeBundleMaker
-
- CONNECTION_TIMEOUT - Static variable in class org.wisdom.test.http.Options
-
Default connection timeout.
- consumedSize - Variable in class org.wisdom.test.http.HttpResponse
-
- contains(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- containsEntry(String, String) - Method in class org.wisdom.test.assertions.SessionAssert
-
Enforces that the session contains the given entry.
- contentType() - Method in class org.wisdom.test.http.HttpResponse
-
- contentType() - Method in class org.wisdom.test.parents.FakeRequest
-
The Content-Type header field indicates the media type of the request
body sent to the recipient.
- contentType(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
-
Helper method retrieving the mime-type of the response to an action.
- context() - Method in class org.wisdom.test.internals.ChameleonExecutor
-
- context - Variable in class org.wisdom.test.parents.Action.ActionResult
-
- context - Variable in class org.wisdom.test.parents.Action
-
The fake context.
- context - Variable in class org.wisdom.test.parents.FakeRequest
-
- context() - Method in class org.wisdom.test.parents.Invocation
-
- context - Variable in class org.wisdom.test.parents.WisdomTest
-
The bundle context.
- context - Variable in class org.wisdom.test.shared.InVivoClassLoader
-
- context - Variable in class org.wisdom.test.shared.InVivoRunnerFactory
-
- ContextAssert - Class in org.wisdom.test.assertions
-
Specific AssertJ Assertion for Context.
- ContextAssert(Context) - Constructor for class org.wisdom.test.assertions.ContextAssert
-
- contextPath() - Method in class org.wisdom.test.parents.FakeContext
-
- ControllerTest - Class in org.wisdom.test.parents
-
Just a parent class for test willing to check controllers.
- ControllerTest() - Constructor for class org.wisdom.test.parents.ControllerTest
-
- cookie(String) - Method in class org.wisdom.test.http.HttpResponse
-
Retrieves a cookie.
- cookie(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets a specific cookie.
- cookies - Variable in class org.wisdom.test.parents.FakeContext
-
The cookies.
- cookies() - Method in class org.wisdom.test.parents.FakeContext
-
- cookies - Variable in class org.wisdom.test.parents.FakeCookies
-
- cookies() - Method in class org.wisdom.test.parents.FakeRequest
-
- cookieValue(String) - Method in class org.wisdom.test.parents.FakeContext
-
A method getting the value stored in a cookie.
- counter - Static variable in class org.wisdom.test.parents.FakeContext
-
The context id.
- create(String) - Method in class org.wisdom.test.shared.InVivoRunnerFactory
-
Creates a runner for the given class.
- createTest() - Method in class org.wisdom.test.shared.InVivoRunner
-
Creates the test object.
- createTest() - Method in class org.wisdom.test.WisdomRunner
-
- failed(Exception) - Method in interface org.wisdom.test.http.Callback
-
Method called when the HTTP Request associated with the current
Callback instance
has failed.
- FakeConfiguration - Class in org.wisdom.test.parents
-
A simple, flat, without conversion support implementation of configuration.
- FakeConfiguration(Map<String, Object>) - Constructor for class org.wisdom.test.parents.FakeConfiguration
-
- FakeContext - Class in org.wisdom.test.parents
-
A fake implementation of the context.
- FakeContext() - Constructor for class org.wisdom.test.parents.FakeContext
-
- FakeCookies - Class in org.wisdom.test.parents
-
A fake implementation of cookies.
- FakeCookies() - Constructor for class org.wisdom.test.parents.FakeCookies
-
- FakeFileItem - Class in org.wisdom.test.parents
-
A fake implementation of File Item used in tests.
- FakeFileItem(File, String) - Constructor for class org.wisdom.test.parents.FakeFileItem
-
Creates a new fake file item.
- FakeFlashCookie - Class in org.wisdom.test.parents
-
A fake implementation of FlashCookie.
- FakeFlashCookie() - Constructor for class org.wisdom.test.parents.FakeFlashCookie
-
- FakeRequest - Class in org.wisdom.test.parents
-
A fake implementation of request.
- FakeRequest(FakeContext) - Constructor for class org.wisdom.test.parents.FakeRequest
-
Creates an instance of fake request.
- FakeSessionCookie - Class in org.wisdom.test.parents
-
A fake implementation of the session cookie.
- FakeSessionCookie() - Constructor for class org.wisdom.test.parents.FakeSessionCookie
-
- field(String, Object) - Method in class org.wisdom.test.http.GetRequest
-
Adds a query parameter.
- field(String, Object) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Adds a form's field to the request.
- field(String, File) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Adds a 'upload' file to the request.
- field(String, String) - Method in class org.wisdom.test.http.MultipartBody
-
Adds a field.
- field(String, File) - Method in class org.wisdom.test.http.MultipartBody
-
Adds an upload file.
- field - Variable in class org.wisdom.test.parents.FakeFileItem
-
The field of the form having sent the file.
- field() - Method in class org.wisdom.test.parents.FakeFileItem
-
- fields(Map<String, Object>) - Method in class org.wisdom.test.http.GetRequest
-
Adds a set of query parameters.
- fields(Map<String, Object>) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Adds form's fields to the request.
- file(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets a file item.
- file - Variable in class org.wisdom.test.parents.FakeFileItem
-
The file.
- files - Variable in class org.wisdom.test.parents.FakeContext
-
The upload files.
- files() - Method in class org.wisdom.test.parents.FakeContext
-
- Filter - Annotation Type in org.wisdom.test.parents
-
Specify an LDAP filter (for template and service injection).
- filter(Filter) - Method in class org.wisdom.test.WisdomBlackBoxRunner
-
- filter(Filter) - Method in class org.wisdom.test.WisdomRunner
-
- findClass(String) - Method in class org.wisdom.test.shared.InVivoRunnerFactory
-
- flash - Variable in class org.wisdom.test.parents.FakeContext
-
The flash cookie.
- flash() - Method in class org.wisdom.test.parents.FakeContext
-
- form - Variable in class org.wisdom.test.parents.FakeContext
-
The form data.
- form() - Method in class org.wisdom.test.parents.FakeContext
-
- from(File) - Static method in class org.wisdom.test.parents.WisdomUnitTest
-
Helper method to build a
FileItem from a
File object.
- from(File, String) - Static method in class org.wisdom.test.parents.WisdomUnitTest
-
Helper method to build a
FileItem from a
File object.
- get(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a String property or null if it is not there.
- get(String, Class<T>) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a custom type property or null if it's not there.
- get(String, Class<T>, T) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a custom type property or the given default value if it's not there.
- get(String, Class<T>, String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a custom type property or the given default value if it's not there.
- get(String) - Method in class org.wisdom.test.parents.FakeCookies
-
- get(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- get(String) - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- get(String) - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
-
Creates a request using the 'GET' verb.
- getApplicationArtifactIfExists(File) - Static method in class org.wisdom.test.internals.RunnerUtils
-
Gets the (Maven) artifact's file if exists.
- getAsyncHttpClient() - Static method in class org.wisdom.test.http.ClientFactory
-
Retrieves the asynchronous HTTP Client instance.
- getBody() - Method in class org.wisdom.test.http.HttpRequest
-
- getBody() - Method in class org.wisdom.test.http.RequestBodyEntity
-
- getBoolean(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a property as Boolean or null if not there or if the property is not an integer.
- getBooleanOrDie(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
The "die" method forces this key to be set.
- getBooleanWithDefault(String, Boolean) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a Boolean property or a default value when property cannot be found
in any configuration file.
- getBundleFileName() - Static method in class org.wisdom.test.internals.RunnerUtils
-
Computes the bundle file name for the current project.
- getBundleSymbolicName(String, String) - Static method in class org.wisdom.test.internals.RunnerUtils
-
Get the symbolic name as groupId + "." + artifactId, with the following exceptions.
- getBytes(InputStream) - Static method in class org.wisdom.test.http.HttpResponse
-
- getBytes(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Gets a property for a size in bytes.
- getBytes(String, long) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Gets a property for a size in bytes.
- getCharsetFromContentType(String) - Static method in class org.wisdom.test.http.HttpResponse
-
Parse out a charset from a content type header.
- getConfiguration(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
- getContext() - Method in class org.wisdom.test.parents.Action.ActionResult
-
Gets the context.
- getCookies() - Static method in class org.wisdom.test.http.ClientFactory
-
Retrieves the set of cookie currently used by the HTTP Client.
- getCurrentFlashCookieData() - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- getData() - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- getDefaultDriver() - Method in class org.wisdom.test.parents.WisdomFluentLeniumTest
-
- getDescription() - Method in class org.wisdom.test.WisdomRunner
-
- getDouble(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a property as Double or null if not there / or if the property is not an integer.
- getDoubleOrDie(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
The "die" method forces this key to be set.
- getDoubleWithDefault(String, Double) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a Double property or a default value when property cannot be found
in any configuration file.
- getDuration(String, TimeUnit) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Gets a property for a duration.
- getDuration(String, TimeUnit, long) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Gets a property for a duration.
- getEntity() - Method in interface org.wisdom.test.http.Body
-
- getEntity() - Method in class org.wisdom.test.http.MultipartBody
-
Computes the request payload.
- getEntity() - Method in class org.wisdom.test.http.RequestBodyEntity
-
- getExtra() - Method in class org.wisdom.test.internals.ClassPathResource
-
- getFactorAsAnInteger(String) - Method in class org.wisdom.test.internals.ChameleonExecutor
-
- getFakeRequest() - Method in class org.wisdom.test.parents.FakeContext
-
Retrieves the fake request.
- getHeaders() - Method in class org.wisdom.test.http.HttpRequest
-
- getHttpClient() - Static method in class org.wisdom.test.http.ClientFactory
-
Retrieves the regular (synchronous) HTTP Client instance.
- getHttpMethod() - Method in class org.wisdom.test.http.HttpRequest
-
- getHttpsURl(String) - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
-
Computes the full url from the given path.
- getHttpURl(String) - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
-
Computes the full url from the given path.
- getHttpURl(String) - Method in class org.wisdom.test.parents.WisdomFluentLeniumTest
-
Computes the full url from the given path.
- getId() - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- getInteger(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a property as Integer or null if not there / or if the property is not an integer.
- getIntegerOrDie(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
The "die" method forces this key to be set.
- getIntegerWithDefault(String, Integer) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a Integer property or a default value when property cannot be found
in any configuration file.
- getInVivoRunnerInstance(Class<?>) - Method in class org.wisdom.test.internals.ChameleonExecutor
-
Retrieves the InVivoRunner Factory and creates an instance.
- getList(Map<String, Object>) - Static method in class org.wisdom.test.http.MultipartBody
-
A helper method to build a list a NameValuePair from a map of parameters.
- getList(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Gets the list of values.
- getLong(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a property as Long or null if not there or if the property is not a long.
- getLongOrDie(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
The "die" method forces this key to be set.
- getLongWithDefault(String, Long) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a Long property or a default value when property cannot be found
in any configuration file.
- getMavenProperties() - Static method in class org.wisdom.test.internals.RunnerUtils
-
We should have generated a target/osgi/osgi.properties file will all the metadata we inherit from Maven.
- getMethod() - Method in class org.wisdom.test.http.HttpDeleteWithBody
-
- getOption(Options.Option) - Static method in class org.wisdom.test.http.Options
-
Gets the value of an option.
- getOrDie(String, Class<T>) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a custom type property.
- getOrDie(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
The "die" method forces this key to be set.
- getOSGiBuilder(Properties, Jar[]) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
-
- getOutgoingFlashCookieData() - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- getProbeInstructions(Properties, Properties) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
-
- GetRequest - Class in org.wisdom.test.http
-
Creates a request using the GET verb.
- GetRequest(HttpMethod, String) - Constructor for class org.wisdom.test.http.GetRequest
-
Creates the request.
- GetRequest(String) - Constructor for class org.wisdom.test.http.GetRequest
-
Creates the request.
- getResult() - Method in class org.wisdom.test.parents.Action.ActionResult
-
Gets the result.
- getStringArray(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Gets the array of values.
- getUrl() - Method in class org.wisdom.test.http.HttpRequest
-
- getWithDefault(String, String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Get a String property or a default value when property cannot be found in
any configuration file.
- goTo(String) - Method in class org.wisdom.test.parents.WisdomFluentLeniumTest
-
- has(String) - Method in class org.wisdom.test.parents.FakeConfiguration
-
Checks whether the configuration object define a value at the given name / path.
- hasBody(String) - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context has the given body.
- hasBody(Class<T>, T) - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context has the given body.
- hasBody(T) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response has the given body.
- hasBody() - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the actual HTTP response has a body (content).
- hasBodyMatch(String) - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context has a body matching the given regex.
- hasCharset(Charset) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasCharset(Charset) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response body has the given charset.
- hasContent(Class<T>, T) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasContent(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasContentMatch(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasContentType(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasContentType(String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response has the given `content-type`.
- hasCookie(String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a cookie named `cookieName`.
- hasCookie(String, String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a cookie named `cookieName` and has the value `value`.
- hasCookie(String) - Method in class org.wisdom.test.parents.FakeContext
-
Checks whether the cookie is set.
- hasFile - Variable in class org.wisdom.test.http.MultipartBody
-
- hasFullContentType(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasHeader(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
Asserts that the result contains the given header.
- hasHeader(String, String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a header named `key` and has the value `value`.
- hasHeader(String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a header named `key`.
- hasHeaders() - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the actual HTTP response has at least one headers.
- hasInBody(String) - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context has the given String in its body (i.e.
- hasInBody(String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains the given String in its body.
- hasInContent(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasInSession(String, String) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasInSession(String, String) - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context has a given entry in its session.
- hasJsonNumericField(String, int) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a numeric value at the given Json Pointer (JavaScript Object Notation
(JSON) Pointer).
- hasJsonNumericField(String, long) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a numeric value at the given Json Pointer (JavaScript Object Notation
(JSON) Pointer).
- hasJsonNumericField(String, double) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a numeric value at the given Json Pointer (JavaScript Object Notation
(JSON) Pointer).
- hasJsonTextField(String, String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a textual value at the given Json Pointer (JavaScript Object Notation
(JSON) Pointer).
- hasJsonTextFieldContaining(String, String...) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response contains a textual value at the given Json Pointer (JavaScript Object Notation
(JSON) Pointer) containing the given values.
- hasLength(int) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response body has the given length.
- hasNotInBody(String) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the Http Response does not contains the given String in its body.
- hasParameter(String, String) - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context has a given parameter.
- hasStatus(Integer) - Method in class org.wisdom.test.assertions.ActionResultAssert
-
- hasStatus(int) - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the actual HTTP response has the given HTTP Status.
- header(String, String) - Method in class org.wisdom.test.http.HttpRequest
-
Adds a header to the request.
- header(String, String) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Adds a header to the request.
- header(String) - Method in class org.wisdom.test.http.HttpResponse
-
Gets the value of the header.
- header(String, String) - Method in class org.wisdom.test.parents.Action
-
Sets a header.
- header(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the header.
- headers - Variable in class org.wisdom.test.http.HttpRequest
-
The headers of the request.
- headers(Map<String, String>) - Method in class org.wisdom.test.http.HttpRequest
-
Adds a set of headers to the headers of the request.
- headers(Map<String, String>) - Method in class org.wisdom.test.http.HttpRequestWithBody
-
Adds a set of headers to the headers of the request.
- headers - Variable in class org.wisdom.test.http.HttpResponse
-
- headers() - Method in class org.wisdom.test.http.HttpResponse
-
- headers - Variable in class org.wisdom.test.parents.FakeContext
-
The headers of the request.
- headers(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets all values of the header.
- headers() - Method in class org.wisdom.test.parents.FakeContext
-
- headers() - Method in class org.wisdom.test.parents.FakeRequest
-
Retrieves all headers.
- helper - Variable in class org.wisdom.test.shared.InVivoRunner
-
- host() - Method in class org.wisdom.test.parents.FakeRequest
-
- hostname - Variable in class org.wisdom.test.parents.WisdomBlackBoxTest
-
- hostname - Variable in class org.wisdom.test.parents.WisdomFluentLeniumTest
-
- HttpClientHelper - Class in org.wisdom.test.http
-
A couple of method easing emitting HTTP requests.
- HttpClientHelper() - Constructor for class org.wisdom.test.http.HttpClientHelper
-
- HttpDeleteWithBody - Class in org.wisdom.test.http
-
HTTP Body for 'DELETE' request.
- HttpDeleteWithBody(String) - Constructor for class org.wisdom.test.http.HttpDeleteWithBody
-
- HttpDeleteWithBody(URI) - Constructor for class org.wisdom.test.http.HttpDeleteWithBody
-
- HttpDeleteWithBody() - Constructor for class org.wisdom.test.http.HttpDeleteWithBody
-
- httpMethod - Variable in class org.wisdom.test.http.HttpRequest
-
The HTTP method of the request.
- httpPort - Variable in class org.wisdom.test.parents.WisdomBlackBoxTest
-
- httpPort - Variable in class org.wisdom.test.parents.WisdomFluentLeniumTest
-
- httpRequest - Variable in class org.wisdom.test.http.BaseRequest
-
The underlying HTTP Request.
- HttpRequest - Class in org.wisdom.test.http
-
A class allowing the instantiation of HTTP Requests.
- HttpRequest(HttpMethod, String) - Constructor for class org.wisdom.test.http.HttpRequest
-
Creates a new request.
- httpRequestObj - Variable in class org.wisdom.test.http.MultipartBody
-
- HttpRequestWithBody - Class in org.wisdom.test.http
-
A class making easy the creation of HTTP Request with a payload (body).
- HttpRequestWithBody(HttpMethod, String) - Constructor for class org.wisdom.test.http.HttpRequestWithBody
-
Creates the request.
- HttpResponse<T> - Class in org.wisdom.test.http
-
The response to a HTTP request.
- HttpResponse(HttpResponse, Class<T>) - Constructor for class org.wisdom.test.http.HttpResponse
-
Creates the response.
- HttpResponseAssert<T> - Class in org.wisdom.test.assertions
-
- HttpResponseAssert(HttpResponse<T>) - Constructor for class org.wisdom.test.assertions.HttpResponseAssert
-
- httpsPort - Variable in class org.wisdom.test.parents.WisdomBlackBoxTest
-
- id - Variable in class org.wisdom.test.parents.FakeContext
-
The context's id.
- id() - Method in class org.wisdom.test.parents.FakeContext
-
- init(Context) - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- init(Context) - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- inject(Object, OSGiHelper) - Static method in class org.wisdom.test.parents.DependencyInjector
-
Injects values in the annotated fields.
- inject(Object, Field, OSGiHelper) - Static method in class org.wisdom.test.parents.DependencyInjector
-
Injects a value in the field 'field' from the object 'object'.
- INJECTION_ERROR - Static variable in class org.wisdom.test.parents.DependencyInjector
-
- installTestBundle() - Static method in class org.wisdom.test.parents.WisdomBlackBoxTest
-
- INSTANCE - Static variable in class org.wisdom.test.internals.ChameleonExecutor
-
- instance(File) - Static method in class org.wisdom.test.internals.ChameleonExecutor
-
Gets the instance of Chameleon, i.e.
- internals - Variable in class org.wisdom.test.parents.FakeConfiguration
-
- InVivoClassLoader - Class in org.wisdom.test.shared
-
A classloader responsible for loading the test classes and finding classes from the application bundles.
- InVivoClassLoader(String, BundleContext) - Constructor for class org.wisdom.test.shared.InVivoClassLoader
-
Creates the classloader.
- InVivoRunner - Class in org.wisdom.test.shared
-
A Junit Runner executed within the OSGi Framework (Wisdom).
- InVivoRunner(BundleContext, Class<?>) - Constructor for class org.wisdom.test.shared.InVivoRunner
-
- InVivoRunnerFactory - Class in org.wisdom.test.shared
-
The in-vivo runner factory.
- InVivoRunnerFactory(BundleContext) - Constructor for class org.wisdom.test.shared.InVivoRunnerFactory
-
- invocation - Variable in class org.wisdom.test.parents.Action
-
The invocation.
- Invocation - Class in org.wisdom.test.parents
-
- Invocation() - Constructor for class org.wisdom.test.parents.Invocation
-
- invoke() - Method in class org.wisdom.test.parents.Action
-
Invokes the configured action.
- invoke() - Method in class org.wisdom.test.parents.Invocation
-
- isAccepted() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isBadGateway() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isBadRequest() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isConflict() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isContinue() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isController(Class<?>) - Static method in class org.wisdom.test.parents.DependencyInjector
-
- isCreated() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isEmpty() - Method in class org.wisdom.test.assertions.SessionAssert
-
Enforces that the session is empty.
- isEmpty() - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- isExpectationFailed() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isForbidden() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isFound() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isGatewayTimeout() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isGone() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isGzipped() - Method in class org.wisdom.test.http.HttpResponse
-
- isHttpVersionNotSupported() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isInMemory() - Method in class org.wisdom.test.parents.FakeFileItem
-
This method is not usable from tests.
- isInternalServerError() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isJson() - Method in class org.wisdom.test.assertions.HttpResponseAssert
-
Checks that the actual HTTP response has returned a content type that is applicaiton/json.
- isLengthRequired() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isMethodNotAllowed() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isMovedPermanently() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isMultipart() - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context is multipart.
- isMultipart() - Method in class org.wisdom.test.parents.FakeContext
-
- isMultipleChoices() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNoContent() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNonAuthoritativeInformation() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNotAcceptable() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNotEmpty() - Method in class org.wisdom.test.assertions.SessionAssert
-
Enforces that the session is not empty.
- isNotFound() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNotImplemented() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNotModified() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isNotMultipart() - Method in class org.wisdom.test.assertions.ContextAssert
-
Checks that the actual context is not multipart.
- isNotNull() - Method in class org.wisdom.test.assertions.ActionResultAssert
-
Asserts that the result is not null.
- isOk() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isPartialContent() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isPaymentRequired() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isPreconditionFailed() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isProxyAuthenticationRequired() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isRequestedRangeNotSatisfiable() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isRequestEntityTooLarge() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isRequestTimeout() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isRequestUriTooLong() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isResetContent() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isSeeOther() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isServiceUnavailable() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isSwitchingProtocol() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isTemporaryRedirect() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isUnauthorized() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isUnsupportedMediaType() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- isUseProxy() - Method in class org.wisdom.test.assertions.StatusAssert
-
Checks that the status is the expected status.
- Packages - Class in org.wisdom.test.internals
-
Sets of methods appending packages to export to the given list.
- Packages() - Constructor for class org.wisdom.test.internals.Packages
-
- PACKAGES_TO_ADD - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
-
The packages to add in the probe bundle.
- parameter(String, String) - Method in class org.wisdom.test.parents.Action
-
Sets a parameter.
- parameter(String, int) - Method in class org.wisdom.test.parents.Action
-
Sets a parameter.
- parameter(String, boolean) - Method in class org.wisdom.test.parents.Action
-
Sets a parameter.
- parameter(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameter(String, String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameter(String) - Method in class org.wisdom.test.parents.FakeRequest
-
Get the parameter with the given key from the request.
- parameter(String, String) - Method in class org.wisdom.test.parents.FakeRequest
-
- parameterAsBoolean(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterAsBoolean(String, boolean) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterAsBoolean(String) - Method in class org.wisdom.test.parents.FakeRequest
-
- parameterAsBoolean(String, boolean) - Method in class org.wisdom.test.parents.FakeRequest
-
- parameterAsInteger(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterAsInteger(String, Integer) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterAsInteger(String) - Method in class org.wisdom.test.parents.FakeRequest
-
- parameterAsInteger(String, Integer) - Method in class org.wisdom.test.parents.FakeRequest
-
- parameterFromPath(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterFromPathAsInteger(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterFromPathEncoded(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets the value of the given parameter.
- parameterMultipleValues(String) - Method in class org.wisdom.test.parents.FakeContext
-
Gets all the values of the given parameter.
- parameterMultipleValues(String) - Method in class org.wisdom.test.parents.FakeRequest
-
Get the parameter with the given key from the request.
- parameters - Variable in class org.wisdom.test.http.MultipartBody
-
- parameters - Variable in class org.wisdom.test.parents.FakeContext
-
The parameters from path and query.
- parameters() - Method in class org.wisdom.test.parents.FakeContext
-
- parameters() - Method in class org.wisdom.test.parents.FakeRequest
-
Get all the parameters from the request.
- parseResponseBody(Class<T>, HttpEntity) - Method in class org.wisdom.test.http.HttpResponse
-
- parseUrl(String) - Method in class org.wisdom.test.http.HttpRequest
-
- path - Variable in class org.wisdom.test.parents.FakeContext
-
The path of the request.
- path() - Method in class org.wisdom.test.parents.FakeContext
-
- path() - Method in class org.wisdom.test.parents.FakeRequest
-
- post(String) - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
-
Creates a 'POST' request.
- prepareCallback(Class<T>, Callback<T>) - Static method in class org.wisdom.test.http.HttpClientHelper
-
- prepareRequest(HttpRequest) - Static method in class org.wisdom.test.http.HttpClientHelper
-
- probe() - Static method in class org.wisdom.test.internals.ProbeBundleMaker
-
Creates the test probe.
- PROBE_FILE - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
-
The path of the probe bundle file.
- ProbeBundleMaker - Class in org.wisdom.test.internals
-
Class responsible for creating the probe bundle.
- ProbeBundleMaker() - Constructor for class org.wisdom.test.internals.ProbeBundleMaker
-
- ProbeBundleMaker.JarFromClassloader - Class in org.wisdom.test.internals
-
Makes the given classpath looks like a Jar.
- put(String, String) - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- put(String, Object) - Method in class org.wisdom.test.parents.FakeFlashCookie
-
- put(String, String) - Method in class org.wisdom.test.parents.FakeSessionCookie
-
- put(String) - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
-
Creates a 'PUT' request.