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.
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
 
areAllQueuesEmpty(List<Object>) - Static method in class org.wisdom.test.parents.Stability
Checks whether or not all the iPOJO processing queue are empty or not.
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.
assertj(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
Adds the AssertJ packages.
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 - Variable in class org.wisdom.test.parents.FakeContext
The attributes.
attributes() - Method in class org.wisdom.test.parents.FakeContext
 

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
 
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() - Method in class org.wisdom.test.parents.FakeContext
 
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
 
bytes() - Method in class org.wisdom.test.parents.FakeFileItem
 

C

Callback<T> - Interface in org.wisdom.test.http
 
cancelled() - Method in interface org.wisdom.test.http.Callback
 
chameleon - Variable in class org.wisdom.test.internals.ChameleonExecutor
 
ChameleonExecutor - Class in org.wisdom.test.internals
Handles a Chameleon and manage 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.
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
 
computeClassPath() - Static method in class org.wisdom.test.internals.ProbeBundleMaker
 
CONNECTION_TIMEOUT - Static variable in class org.wisdom.test.http.Options
Default connection timeout.
contains(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 
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.InVivoRunner
 
context - Variable in class org.wisdom.test.shared.InVivoRunnerFactory
 
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
 
createTest() - Method in class org.wisdom.test.shared.InVivoRunner
 
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() - Method in class org.wisdom.test.internals.ChameleonExecutor
Builds and deploy the application bundle.
deployProbe() - 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
 

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

factory - Variable in class org.wisdom.test.probe.Activator
 
failed(Exception) - Method in interface org.wisdom.test.http.Callback
 
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
 
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
 
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
 
fixLoggingSystem(File) - Static method in class org.wisdom.test.internals.ChameleonExecutor
Fixes the Chameleon logging configuration to write the logs in the logs/wisdom.log file instead of chameleon.log file.
flash - Variable in class org.wisdom.test.parents.FakeContext
The flash cookie.
flash() - 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.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
 
getBundleStability(BundleContext) - Static method in class org.wisdom.test.parents.Stability
Are bundle stables.
getBytes(InputStream) - Static method in class org.wisdom.test.http.HttpResponse
 
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
 
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
 
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
 
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
 
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.
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.
getOSGiBuilder(Properties, Jar[]) - Static method in class org.wisdom.test.internals.ProbeBundleMaker
 
getOutgoingFlashCookieData() - Method in class org.wisdom.test.parents.FakeFlashCookie
 
getProbeInstructions(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.
getUrl() - Method in class org.wisdom.test.http.HttpRequest
 
goTo(String) - Method in class org.wisdom.test.parents.WisdomFluentLeniumTest
 

H

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
 
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 - 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
 
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.

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
 
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.
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
 
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
 
isController(Class<?>) - Static method in class org.wisdom.test.parents.DependencyInjector
 
isEmpty() - Method in class org.wisdom.test.parents.FakeSessionCookie
 
isGzipped() - Method in class org.wisdom.test.http.HttpResponse
 
isInMemory() - Method in class org.wisdom.test.parents.FakeFileItem
This method is not usable from tests.
isMultipart() - Method in class org.wisdom.test.parents.FakeContext
 

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.Stability
The Logger.
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.
MAX_TRIES - Static variable in class org.wisdom.test.parents.Stability
The number of attempts.
mediaType() - Method in class org.wisdom.test.parents.FakeRequest
 
mediaTypes() - Method 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_NAME - Static variable in class org.wisdom.test.http.HttpDeleteWithBody
 
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).

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.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
 
osgihelpers(StringBuilder) - Static method in class org.wisdom.test.internals.Packages
Adds the OSGi Test Helpers packages.

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
 
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
 
PROBE_FILE - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
 
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
 
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
 
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
 
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() - 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
 
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
 
set(Object, Field, Object) - Static method in class org.wisdom.test.parents.DependencyInjector
 
setAttribute(String, String) - Method in class org.wisdom.test.parents.FakeContext
Sets the value of an attribute.
setAttribute(String, File) - Method in class org.wisdom.test.parents.FakeContext
Adds an uploaded files.
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.
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.
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
 
Stability - Class in org.wisdom.test.parents
Enhance the stability concepts from the OSGi Test Helpers with the a third check.
Stability() - Constructor for class org.wisdom.test.parents.Stability
 
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
 
status(Action.ActionResult) - Method in class org.wisdom.test.parents.WisdomUnitTest
Helper method retrieving the status code of the response to an action.
stop() - Method in class org.wisdom.test.internals.ChameleonExecutor
Stops the underlying chameleon instance.
stop(BundleContext) - Method in class org.wisdom.test.probe.Activator
 
stopRunningInstance() - Static method in class org.wisdom.test.internals.ChameleonExecutor
Stops the running Chameleon.
stream() - Method in class org.wisdom.test.parents.FakeFileItem
 
success(String) - Method in class org.wisdom.test.parents.FakeFlashCookie
 

T

TEST_CLASSES - Static variable in class org.wisdom.test.internals.ProbeBundleMaker
 
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
 
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.
traverseHierarchy(Class<?>) - Static method in class org.wisdom.test.parents.DependencyInjector
 

U

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

waitForBundleStability(BundleContext) - Static method in class org.wisdom.test.parents.Stability
 
waitForIPOJOQueuesToBeEmpty(BundleContext) - Static method in class org.wisdom.test.parents.Stability
 
waitForService(OSGiHelper, Class<?>, String) - Static method in class org.wisdom.test.parents.DependencyInjector
This method is used until the new OSGi helper are released.
waitForServiceStability(BundleContext) - Static method in class org.wisdom.test.parents.Stability
 
waitForStability(BundleContext) - Static method in class org.wisdom.test.parents.Stability
Waits for stability: all bundles are activated service count is stable If the stability can't be reached after a specified time, the method throws a IllegalStateException.
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
 
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–2014 Wisdom Framework. All rights reserved.