Skip navigation links
A B C D E F G H I J K L M N O P R S T U V W 

A

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
Specific AssertJ Assertions for Action.ActionResult.
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
Creates a ContextAssert.
assertThat(HttpResponse<T>) - Static method in class org.wisdom.test.assertions.HttpResponseAssert
Creates an HttpResponseAssert instance.
assertThat(SessionCookie) - Static method in class org.wisdom.test.assertions.SessionAssert
Creates a SessionAssert.
assertThat(Integer) - Static method in class org.wisdom.test.assertions.StatusAssert
Checks that the StatusAssert has the given status.
assertThat(Action.ActionResult) - Static method in class org.wisdom.test.assertions.WisdomAssertions
Give access to Action.ActionResult assertion.
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
Give access to HttpResponse assertion.
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. 

B

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
 

C

Callback<T> - Interface in org.wisdom.test.http
Callback structured used for async HTTP invocation such as BaseRequest.asJsonAsync(Callback) or .BaseRequest#asStringAsync(Callback).
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
 

D

data - Variable in class org.wisdom.test.parents.FakeFlashCookie
 
data - Variable in class org.wisdom.test.parents.FakeRequest
 
data() - Method in class org.wisdom.test.parents.FakeRequest
Retrieves the data shared by all the entities participating to the request resolution (i.e.
data - Variable in class org.wisdom.test.parents.FakeSessionCookie
 
delegate - Variable in class org.wisdom.test.WisdomRunner
 
delete(String) - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
Creates a 'DELETE' request.
DependencyInjector - Class in org.wisdom.test.parents
Injects all @Inject fields found in the given object's class.
DependencyInjector() - Constructor for class org.wisdom.test.parents.DependencyInjector
 
deployApplication() - Static method in class org.wisdom.test.internals.ChameleonExecutor
Builds and deploy the application bundle.
deployProbe() - Static method in class org.wisdom.test.internals.ChameleonExecutor
Deploys the `probe` bundle, i.e.
detectApplicationBundleIfExist(File) - Static method in class org.wisdom.test.internals.RunnerUtils
Checks if a file having somewhat the current tested application name is contained in the given directory.
discard(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 
discard() - Method in class org.wisdom.test.parents.FakeFlashCookie
 
doesNotContain(String) - Method in class org.wisdom.test.assertions.SessionAssert
Enforces that the session does not contain the given entry.
doesNotHaveInSession(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult doest not have the given key in its session.

E

encoding() - Method in class org.wisdom.test.parents.FakeRequest
Get the encoding that is acceptable for the client.
ensureBundleContextInjection() - Method in class org.wisdom.test.parents.WisdomTest
A method executed before the execution of each test method checking that the bundle context is correctly injected and that the framework is in a stable state.
error(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 
extra - Variable in class org.wisdom.test.internals.ClassPathResource
 

F

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
Creates a new instance of 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.

G

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
Gets a sub-configuration (instance of FakeConfiguration) stored at the key 'prefix'
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
 

H

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
Asserts that the Action.ActionResult has the given charset.
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
Asserts that the Action.ActionResult has the given content.
hasContent(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult has the given content.
hasContentMatch(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult has a content matching the given regex.
hasContentType(String) - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult has the given content type.
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
Asserts that the Action.ActionResult has the given content type and charset.
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
Asserts that the Action.ActionResult has the given String in its body.
hasInSession(String, String) - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult has the given key-value in its session.
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
Asserts that the Action.ActionResult has the given HTTP status.
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
Specific AssertJ Assertion for HttpResponse.
HttpResponseAssert(HttpResponse<T>) - Constructor for class org.wisdom.test.assertions.HttpResponseAssert
 
httpsPort - Variable in class org.wisdom.test.parents.WisdomBlackBoxTest
 

I

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
Creates a new InVivoRunner.
InVivoRunnerFactory - Class in org.wisdom.test.shared
The in-vivo runner factory.
InVivoRunnerFactory(BundleContext) - Constructor for class org.wisdom.test.shared.InVivoRunnerFactory
Creates a new instance of 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.

J

JarFromClassloader(ClassPath) - Constructor for class org.wisdom.test.internals.ProbeBundleMaker.JarFromClassloader
javaxinject(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
Adds the javax.inject package.
json(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method to get the content of the response as Object Node.
JSON_ERROR - Static variable in class org.wisdom.test.parents.WisdomUnitTest
 
jsonarray(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method to get the content of the response as Array Node.
junit(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
Adds the junit packages.

K

keep(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 
keep() - Method in class org.wisdom.test.parents.FakeFlashCookie
 

L

language() - Method in class org.wisdom.test.parents.FakeRequest
Get the language that is acceptable for the client.
lastModified() - Method in class org.wisdom.test.internals.ClassPathResource
 
length() - Method in class org.wisdom.test.http.HttpResponse
 
loadBytecode(String) - Method in class org.wisdom.test.shared.InVivoClassLoader
Loads the byte code of the given class.
loadClass(String) - Method in class org.wisdom.test.shared.InVivoClassLoader
Attempts to load the class with the given name.
LOGGER - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
 
LOGGER - Static variable in class org.wisdom.test.parents.WisdomBlackBoxTest
 
LOGGER - Static variable in class org.wisdom.test.parents.WisdomFluentLeniumTest
 
LOGGER - Static variable in class org.wisdom.test.WisdomBlackBoxRunner
 
LOGGER - Static variable in class org.wisdom.test.WisdomRunner
 

M

MAPPER - Static variable in class org.wisdom.test.parents.WisdomUnitTest
The object mapper used for JSON.
mediaType() - Method in class org.wisdom.test.parents.FakeRequest
 
mediaTypes() - Method in class org.wisdom.test.parents.FakeRequest
 
method - Variable in class org.wisdom.test.parents.FakeRequest
 
method() - Method in class org.wisdom.test.parents.FakeRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
method(HttpMethod) - Method in class org.wisdom.test.parents.FakeRequest
Sets the HTTP method.
mimetype() - Method in class org.wisdom.test.parents.FakeFileItem
Tries to guess the mime-type of the file by analyzing its extension.
modified - Variable in class org.wisdom.test.internals.ClassPathResource
 
MultipartBody - Class in org.wisdom.test.http
An implementation of HTTP Request used to send the results from a form.
MultipartBody(HttpRequest) - Constructor for class org.wisdom.test.http.MultipartBody
Creates the Multipart body from the given request.

N

name() - Method in class org.wisdom.test.parents.FakeFileItem
 
Name - Annotation Type in org.wisdom.test.parents
Specify the template name (for template injection).
noEncoding() - Method in class org.wisdom.test.http.GetRequest
Disable the encoding of the response.

O

openInputStream() - Method in class org.wisdom.test.internals.ClassPathResource
Gets an stream on the wrapped resource.
Option() - Constructor for enum org.wisdom.test.http.Options.Option
 
Options - Class in org.wisdom.test.http
Stores HTTP Client options.
Options() - Constructor for class org.wisdom.test.http.Options
 
options - Static variable in class org.wisdom.test.http.Options
The stored options.
Options.Option - Enum in org.wisdom.test.http
The set of options.
org.wisdom.test - package org.wisdom.test
 
org.wisdom.test.assertions - package org.wisdom.test.assertions
 
org.wisdom.test.http - package org.wisdom.test.http
Provides the classes used to simplify the test of HTTP Requests in blackbox test.
org.wisdom.test.internals - package org.wisdom.test.internals
 
org.wisdom.test.parents - package org.wisdom.test.parents
 
org.wisdom.test.probe - package org.wisdom.test.probe
 
org.wisdom.test.shared - package org.wisdom.test.shared
 

P

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
Same like FakeRequest.parameter(String), but returns given defaultValue instead of null in case parameter cannot be found.
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
Same like FakeRequest.parameter(String), but converts the parameter to Boolean if found.
parameterAsBoolean(String, boolean) - Method in class org.wisdom.test.parents.FakeRequest
Same like FakeRequest.parameter(String), but converts the parameter to Boolean if found.
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
Same like FakeRequest.parameter(String), but converts the parameter to Integer if found.
parameterAsInteger(String, Integer) - Method in class org.wisdom.test.parents.FakeRequest
Same like FakeRequest.parameter(String, String), but converts the parameter to Integer if found.
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.

R

raw() - Method in class org.wisdom.test.http.HttpResponse
 
raw() - Method in class org.wisdom.test.parents.FakeContext
Returns the byte array of the String form of the body object, null if none.
rawBody - Variable in class org.wisdom.test.http.HttpResponse
 
reader() - Method in class org.wisdom.test.parents.FakeContext
 
readFilterAnnotation(Field) - Static method in class org.wisdom.test.parents.DependencyInjector
 
readNameAnnotation(Field) - Static method in class org.wisdom.test.parents.DependencyInjector
 
refresh() - Static method in class org.wisdom.test.http.Options
Refreshes the options, and restores defaults.
registration - Variable in class org.wisdom.test.probe.Activator
 
remoteAddress() - Method in class org.wisdom.test.parents.FakeRequest
The client IP address.
remove(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 
remove(String) - Method in class org.wisdom.test.parents.FakeSessionCookie
 
removeTestBundle() - Static method in class org.wisdom.test.parents.WisdomBlackBoxTest
 
reportErrors(String, List<String>, List<String>) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
 
request(HttpRequest, Class<T>) - Static method in class org.wisdom.test.http.HttpClientHelper
Executes the request.
request - Variable in class org.wisdom.test.parents.FakeContext
The fake request.
request() - Method in class org.wisdom.test.parents.FakeContext
 
requestAsync(HttpRequest, Class<T>, Callback<T>) - Static method in class org.wisdom.test.http.HttpClientHelper
Emits an asynchronous request.
RequestBodyEntity - Class in org.wisdom.test.http
Represents the body contained in a HTTP Request (HttpRequest).
RequestBodyEntity(HttpRequest) - Constructor for class org.wisdom.test.http.RequestBodyEntity
Creates the body.
resource - Variable in class org.wisdom.test.internals.ClassPathResource
 
result - Variable in class org.wisdom.test.parents.Action.ActionResult
 
retrieveServerMetadata() - Method in class org.wisdom.test.parents.WisdomBlackBoxTest
Methods call by the test framework to discover the server name and port.
retrieveServerMetadata() - Method in class org.wisdom.test.parents.WisdomFluentLeniumTest
Methods call by the test framework to discover the server name and port.
root - Variable in class org.wisdom.test.internals.ChameleonExecutor
 
route - Variable in class org.wisdom.test.parents.FakeContext
The route.
route() - Method in class org.wisdom.test.parents.FakeContext
Not supported in tests.
route(Route) - Method in class org.wisdom.test.parents.FakeContext
Not supported in tests.
run(RunNotifier) - Method in class org.wisdom.test.shared.InVivoRunner
Runs the test.
run(RunNotifier) - Method in class org.wisdom.test.WisdomRunner
 
RunnerUtils - Class in org.wisdom.test.internals
A couple of methods used by Runners to detect the wisdom runtime and the current application bundle.
RunnerUtils() - Constructor for class org.wisdom.test.internals.RunnerUtils
 

S

sanitize(Properties) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
 
sanitize(Object) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
 
save(Context, Result) - Method in class org.wisdom.test.parents.FakeFlashCookie
 
save(Context, Result) - Method in class org.wisdom.test.parents.FakeSessionCookie
 
session - Variable in class org.wisdom.test.parents.FakeContext
The session cookie.
session() - Method in class org.wisdom.test.parents.FakeContext
 
SessionAssert - Class in org.wisdom.test.assertions
Specific AssertJ assertion for SessionCookie.
SessionAssert(SessionCookie) - Constructor for class org.wisdom.test.assertions.SessionAssert
Creates a SessionAssert.
sessionIsEmpty() - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult has an empty session.
sessionIsNotEmpty() - Method in class org.wisdom.test.assertions.ActionResultAssert
Asserts that the Action.ActionResult's session is not empty.
set(Object, Field, Object) - Static method in class org.wisdom.test.parents.DependencyInjector
 
setAttribute(String, String) - Method in class org.wisdom.test.parents.FakeContext
setAttribute(String, File) - Method in class org.wisdom.test.parents.FakeContext
setBody(Object) - Method in class org.wisdom.test.parents.FakeContext
Sets the body.
setCookie(String, String) - Method in class org.wisdom.test.parents.FakeContext
Adds a cookie.
setCookie(Cookie) - Method in class org.wisdom.test.parents.FakeContext
Adds a cookie.
setExtra(String) - Method in class org.wisdom.test.internals.ClassPathResource
Sets the extra parameter of information about this resource.
setFormField(String, String) - Method in class org.wisdom.test.parents.FakeContext
Sets the value of a form field.
setFormField(String, String...) - Method in class org.wisdom.test.parents.FakeContext
Sets the value of a form field.
setFormField(String, File) - Method in class org.wisdom.test.parents.FakeContext
Adds an uploaded files.
setHeader(String, String) - Method in class org.wisdom.test.parents.FakeContext
Sets a header.
setHeader(String, String...) - Method in class org.wisdom.test.parents.FakeContext
Sets a header.
setOption(Options.Option, Object) - Static method in class org.wisdom.test.http.Options
Sets an option.
setParameter(String, String) - Method in class org.wisdom.test.parents.FakeContext
Sets a parameter.
setParameter(String, List<String>) - Method in class org.wisdom.test.parents.FakeContext
Sets a parameter values.
setPath(String) - Method in class org.wisdom.test.parents.FakeContext
Sets the context's path.
setTimeFactory(int) - Static method in class org.wisdom.test.internals.ChameleonExecutor
 
size() - Method in class org.wisdom.test.internals.ClassPathResource
 
size() - Method in class org.wisdom.test.parents.FakeFileItem
 
SOCKET_TIMEOUT - Static variable in class org.wisdom.test.http.Options
Default socket timeout.
sort(Sorter) - Method in class org.wisdom.test.WisdomBlackBoxRunner
 
sort(Sorter) - Method in class org.wisdom.test.WisdomRunner
 
start(File) - Method in class org.wisdom.test.internals.ChameleonExecutor
Starts the underlying Chameleon instance.
start(BundleContext) - Method in class org.wisdom.test.probe.Activator
Creates and registers the InVivoRunnerFactory as OSGi service.
status() - Method in class org.wisdom.test.assertions.ActionResultAssert
Creates a StatusAssert.
status(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method retrieving the status code of the response to an action.
StatusAssert - Class in org.wisdom.test.assertions
Specific AssertJ assertion for Status.
StatusAssert(Integer) - Constructor for class org.wisdom.test.assertions.StatusAssert
Creates a StatusAssert.
stop() - Method in class org.wisdom.test.internals.ChameleonExecutor
Stops the underlying chameleon instance.
stop(BundleContext) - Method in class org.wisdom.test.probe.Activator
Un-registers the registered service.
stopRunningInstance() - Static method in class org.wisdom.test.internals.ChameleonExecutor
Stops the running Chameleon.
stream() - Method in class org.wisdom.test.parents.FakeFileItem
 
streamToString(Result) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method to get the content of the response as String.
success(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 

T

TEST_CLASSES - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
The test classes path.
testClass - Variable in class org.wisdom.test.shared.InVivoClassLoader
 
testRunFinished(Result) - Method in class org.wisdom.test.WisdomRunListener
Notifies the ChameleonExecutor to stop the running Chameleon instance.
toBytes(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method to get the content of the response as byte array.
toClause(List<String>) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
 
toFile() - Method in class org.wisdom.test.parents.FakeFileItem
Gets a File object for this uploaded file.
toString() - Method in class org.wisdom.test.internals.ClassPathResource
 
toString(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method to get the content of the response as String.
toString(Result) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method to get the content of the response as String.
traverseHierarchy(Class<?>) - Static method in class org.wisdom.test.parents.DependencyInjector
 

U

uri - Variable in class org.wisdom.test.parents.FakeRequest
 
uri(String) - Method in class org.wisdom.test.parents.FakeRequest
Sets the complete uri (including the query part)
uri() - Method in class org.wisdom.test.parents.FakeRequest
 
url - Variable in class org.wisdom.test.http.HttpRequest
The url os the request.
USER_AGENT - Static variable in class org.wisdom.test.http.HttpClientHelper
A fake user agent.
UTF_8 - Static variable in class org.wisdom.test.http.BaseRequest
The UTF-8 charset.

V

VALUE - Static variable in class org.wisdom.test.parents.DependencyInjector
 
valueOf(String) - Static method in enum org.wisdom.test.http.Options.Option
Returns the enum constant of this type with the specified name.
values() - Static method in enum org.wisdom.test.http.Options.Option
Returns an array containing the constants of this enum type, in the order they are declared.

W

waitForService(OSGiHelper, Class<?>, String) - Static method in class org.wisdom.test.parents.DependencyInjector
This method is used until the new OSGi helper are released.
waitForStability() - Method in class org.wisdom.test.internals.ChameleonExecutor
Waits for stability of the underlying frameworks.
WisdomAssertions - Class in org.wisdom.test.assertions
Wisdom specific AssertJ assertions.
WisdomAssertions() - Constructor for class org.wisdom.test.assertions.WisdomAssertions
 
WisdomBlackBoxRunner - Class in org.wisdom.test
The Wisdom Test Runner that executes test from outside the Wisdom runtime.
WisdomBlackBoxRunner(Class<?>) - Constructor for class org.wisdom.test.WisdomBlackBoxRunner
Creates an instance of runner.
WisdomBlackBoxTest - Class in org.wisdom.test.parents
When testing a Wisdom Application in 'black box' mode (i.e.
WisdomBlackBoxTest() - Constructor for class org.wisdom.test.parents.WisdomBlackBoxTest
 
WisdomFluentLeniumTest - Class in org.wisdom.test.parents
When testing a Wisdom Application in 'black box' mode (i.e.
WisdomFluentLeniumTest() - Constructor for class org.wisdom.test.parents.WisdomFluentLeniumTest
 
WisdomRunListener - Class in org.wisdom.test
A run listener to stop chameleon after tests.
WisdomRunListener() - Constructor for class org.wisdom.test.WisdomRunListener
 
WisdomRunner - Class in org.wisdom.test
The Wisdom Test Runner.
WisdomRunner(Class<?>) - Constructor for class org.wisdom.test.WisdomRunner
 
wisdomtest(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
Adds the wisdom test packages.
WisdomTest - Class in org.wisdom.test.parents
A class easing the implementation of tests.
WisdomTest() - Constructor for class org.wisdom.test.parents.WisdomTest
 
WisdomUnitTest - Class in org.wisdom.test.parents
A class easing the implementation of tests.
WisdomUnitTest() - Constructor for class org.wisdom.test.parents.WisdomUnitTest
 
with() - Method in class org.wisdom.test.parents.Action
Just there for cosmetic reason.
with(FakeContext) - Method in class org.wisdom.test.parents.Action
Sets the context of the action to the given context.
write(OutputStream) - Method in class org.wisdom.test.internals.ClassPathResource
Writes the content of the current resource to the given output stream.
A B C D E F G H I J K L M N O P R S T U V W 
Skip navigation links

Copyright © 2013–2015 Wisdom Framework. All rights reserved.