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

A

addCollectionElement(String, E) - Method in interface org.testifyproject.trait.PropertiesWriter
Add the given element to a collection entry in the properties map with the given key.
addError(String, Object...) - Method in interface org.testifyproject.TestContext
Add an error message to the test context.
addError(Boolean, String, Object...) - Method in interface org.testifyproject.TestContext
Add an error message to the test context if the given condition is true.
addMapEntry(String, K, V) - Method in interface org.testifyproject.trait.PropertiesWriter
Add the given entryKey/entryValue pair to a map entry in the properties map with the given key.
addProperty(String, T) - Method in interface org.testifyproject.trait.PropertiesWriter
Add the given key/value pair if it is absent.
addWarning(String, Object...) - Method in interface org.testifyproject.TestContext
Add an warning message to the test context.
addWarning(Boolean, String, Object...) - Method in interface org.testifyproject.TestContext
Add an warning message to the test context if the given condition is true.
AnnotationInspector<T extends Annotation> - Interface in org.testifyproject.extension
Interface for inspecting annotations on a class.
AnnotationTrait<T extends AnnotatedElement> - Interface in org.testifyproject.trait
A contract that specifies annotated element traits.
Application - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on system test to specify an application that should be loaded, configured, started, and stopped before and after each test run (i.e.
ApplicationInstance - Interface in org.testifyproject
A contract that defines methods for retrieving information about an application.
ApplicationProvider - Interface in org.testifyproject
A contract that defines methods for starting and stopping an application.

B

Beta - Annotation Type in org.testifyproject.extension.annotation
Indicates API bearing this annotation is considered to be complete but not yet stable.
Bundle - Annotation Type in org.testifyproject.annotation
A meta-annotation that identifies an annotation as test bundle.

C

ClientInstance<C,P> - Interface in org.testifyproject
A contract that defines methods for retrieving information about a client and communicating with the application under test.
ClientProvider<T,C,P> - Interface in org.testifyproject
A contract that defines methods for configuring, initializing and destroying a client used to communicate with the server.
CollaboratorProvider - Annotation Type in org.testifyproject.annotation
An annotation used to specifying a provider of the system under test's collaborators.
CollaboratorReifier - Interface in org.testifyproject.extension
A contract that defines a method to perform reification of the test class collaborator fields.
command(BiConsumer<C, P>) - Method in interface org.testifyproject.ClientInstance
Execute the given consumer function with the ClientInstance.getClient() value and ClientInstance.getClientSupplier() value as its parameters.
command(Consumer<T>) - Method in interface org.testifyproject.Instance
Execute a function with the Instance.getValue() as its parameters.
command(BiConsumer<T, URI>) - Method in interface org.testifyproject.ServerInstance
Execute the given consumer function with the ServerInstance.getServer() value and ServerInstance.getBaseURI() as its parameters.
computeIfAbsent(String, Function<String, T>) - Method in interface org.testifyproject.trait.PropertiesWriter
If the specified key is not already associated with a value (or is mapped to null), attempts to compute its value using the given mapping function and enters it into this map unless null.
ConfigHandler - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on a test class or test class method to configure various functions before each integration and system test run (i.e.
configure(TestContext, Application, URI) - Method in interface org.testifyproject.ClientProvider
Configure the client using the given server instance.
configure(TestContext, LocalResource, PropertiesReader) - Method in interface org.testifyproject.LocalResourceProvider
A method to configure a local resource.
configure(TestContext, RemoteResource, PropertiesReader) - Method in interface org.testifyproject.RemoteResourceProvider
A method to configure a remote resource.
configure(TestContext) - Method in interface org.testifyproject.ServerProvider
Configure the server using the given test context.
configure(TestContext, T) - Method in interface org.testifyproject.ServiceProvider
Configure a service instance using the given test context and service context.
configure(TestContext, T) - Method in interface org.testifyproject.TestConfigurer
Given a configuration object call the appropriate method on the test class annotated with ConfigHandler annotation.
configure(TestContext, VirtualResource, PropertiesReader) - Method in interface org.testifyproject.VirtualResourceProvider
A method to configure a virtual resource.
create(TestContext, Application, URI, T) - Method in interface org.testifyproject.ClientProvider
Create and initialize the client instance using the given base URI and configuration object.
create(TestContext) - Method in interface org.testifyproject.extension.ProxyInstanceController
Create dynamic proxies and return instances of them as a list.
create(TestContext) - Method in interface org.testifyproject.ServiceProvider
Create and configure a dependency injection object using the given test context (i.e Guice Injector, HK2 ServiceLocator, etc).
createFake(Class<? extends T>) - Method in interface org.testifyproject.MockProvider
Create a fake instance of the given type.
createVirtual(Class<? extends T>, T) - Method in interface org.testifyproject.MockProvider
Create a virtual instance of the given type that delegates to the given instance.
createVirtualSut(Class<? extends T>, T) - Method in interface org.testifyproject.MockProvider
Create a virtual instance of the given type that delegates to the given instance.

D

DataProvider<T> - Interface in org.testifyproject
A contract that defines methods to load data into a resource.
DefaultPropertiesReader - Class in org.testifyproject.trait
An implementation of PropertiesReader contract.
DefaultPropertiesReader(Map<String, Object>) - Constructor for class org.testifyproject.trait.DefaultPropertiesReader
 
destroy(ClientInstance<C, P>) - Method in interface org.testifyproject.ClientProvider
This method will dispose of client instance that was created.
destroy() - Method in interface org.testifyproject.ServiceInstance
Destroy the service instance.
destroy(Object) - Method in interface org.testifyproject.trait.FieldTrait
Destroy the field for the given instance if it is annotated with Fixture.
Discoverable - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on service implementation classes to add entries for the service to the META-INF/services directory and allow the service to be discoverable through the JDK's service-provider loading facility.
DiscoverableProcessor - Class in org.testifyproject.processor
An annotation processor implementation that generates "META-INF/services" provider-configuration files for classes annotated with Discoverable annotation.
DiscoverableProcessor() - Constructor for class org.testifyproject.processor.DiscoverableProcessor
 

E

equals(Object) - Method in class org.testifyproject.trait.DefaultPropertiesReader
 
Experimental - Annotation Type in org.testifyproject.extension.annotation
Indicates API bearing this annotation is experimental.

F

Fake - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on unit, integration and system test class fields to denote the fields as a fake collaborators.
FieldAnnotationTrait - Interface in org.testifyproject.trait
A contract that specifies mock traits.
FieldDescriptor - Interface in org.testifyproject
A contract that defines methods to access properties of or perform operations on a field.
FieldTrait - Interface in org.testifyproject.trait
A contract that specifies field traits.
FinalReifier - Interface in org.testifyproject.extension
A contract that defines a method to perform final reification of the test class.
findCollaboratorProvider(Type) - Method in interface org.testifyproject.TestDescriptor
Find the collaborator provider for the given return type.
findCollaboratorProvider(Type, String) - Method in interface org.testifyproject.TestDescriptor
Find the collaborator provider for the given name and return type.
findCollection(String) - Method in interface org.testifyproject.trait.PropertiesReader
Find a collection value associated with the given key.
findConfigHandler(Type) - Method in interface org.testifyproject.TestDescriptor
Find the config handler associated with the test class capable of configuring the given configurable type.
findFieldDescriptor(Type, String) - Method in interface org.testifyproject.SutDescriptor
Find the descriptor for a field with the given type and name on the system under test.
findFieldDescriptor(Type) - Method in interface org.testifyproject.SutDescriptor
Find the descriptor for a field with the given type on the system under test.
findFieldDescriptor(Type, String) - Method in interface org.testifyproject.TestDescriptor
Find the descriptor for a field with the given type and name on the test class.
findFieldDescriptor(Type) - Method in interface org.testifyproject.TestDescriptor
Find the descriptor for a field with the given type on the test class.
findMap(String) - Method in interface org.testifyproject.trait.PropertiesReader
Find a map typed associated with the given key.
findMethod(Class<?>, String, Class<?>...) - Method in interface org.testifyproject.trait.TypeTrait
Find a method with the given name and argument types.
findMethod(String) - Method in interface org.testifyproject.trait.TypeTrait
Find a method with the given name.
findParameterDescriptor(Type, String) - Method in interface org.testifyproject.SutDescriptor
Find the descriptor for a constructor parameter with the given type and name on the system under test.
findParameterDescriptor(Type) - Method in interface org.testifyproject.SutDescriptor
Find the descriptor for a constructor parameter with the given type on the system under test.
findProperty(String) - Method in interface org.testifyproject.trait.PropertiesReader
Find the value associated with the given key.
Fixture - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on test related classes or test class fields to denote them as test fixture.

G

get(TestContext) - Method in interface org.testifyproject.extension.InstanceProvider
Provide one or more instances.
get() - Method in interface org.testifyproject.extension.InstrumentProvider
Get the instrument instance.
get(TestContext) - Method in interface org.testifyproject.extension.ProxyInstanceProvider
Provide one or more instances.
getAnnotatedElement() - Method in interface org.testifyproject.trait.AnnotationTrait
Get the annotated element .
getAnnotatedElement() - Method in interface org.testifyproject.trait.FieldTrait
Get the field as the annotated element.
getAnnotatedElement() - Method in interface org.testifyproject.trait.MethodTrait
Get the method as the annotated element.
getAnnotation() - Method in interface org.testifyproject.ResourceInfo
Get the resource annotation.
getAnnotation(Class<A>) - Method in interface org.testifyproject.trait.AnnotationTrait
Get the given annotation on the annotated element.
getAnnotations(Class<A>) - Method in interface org.testifyproject.trait.AnnotationTrait
Get all the annotations of the given type.
getApplication() - Method in interface org.testifyproject.ApplicationInstance
Get the application annotation.
getApplication() - Method in interface org.testifyproject.ClientInstance
Get the application annotation associated with the client instance.
getApplication() - Method in interface org.testifyproject.ServerInstance
Get the application annotation associated with the server instance.
getApplication() - Method in interface org.testifyproject.TestDescriptor
The application annotation associated with the test class.
getBaseURI() - Method in interface org.testifyproject.ServerInstance
The server base URI.
getClassLoader() - Method in interface org.testifyproject.trait.TypeTrait
Get the type's class loader.
getClassName() - Method in interface org.testifyproject.extension.InstrumentInstance
Get the fully qualified class name of the class that will be instrumented.
getClient() - Method in interface org.testifyproject.ClientInstance
Get client instance.
getClient() - Method in interface org.testifyproject.LocalResourceInstance
Get the client instance associated with the local resource.
getClientSupplier() - Method in interface org.testifyproject.ClientInstance
Get the client supplier instance.
getClientSupplierType() - Method in interface org.testifyproject.ClientProvider
The type of client supplier.
getClientType() - Method in interface org.testifyproject.ClientProvider
The type of the client.
getCollaboratorProvider() - Method in interface org.testifyproject.TestDescriptor
The collaborator provider annotation associated with the test class.
getCollaboratorProviders() - Method in interface org.testifyproject.TestDescriptor
Get a collection of collaborator provider methods associated with the test class.
getConfigHandler() - Method in interface org.testifyproject.TestDescriptor
The config handler annotation associated with the test class.
getConfigHandlers() - Method in interface org.testifyproject.TestDescriptor
Get a collection of method handlers for all the config handlers associated with the test class.
getConstructor() - Method in interface org.testifyproject.extension.InstrumentInstance
Indicates whether a constructor is being intercepted.
getConstructor() - Method in interface org.testifyproject.SutDescriptor
Get the constructor of the system under test class.
getContext() - Method in interface org.testifyproject.ServiceInstance
Get the context object associated with the service instance.
getContract() - Method in interface org.testifyproject.Instance
The contract implemented by the instance.
getCustomQualifiers() - Method in interface org.testifyproject.ServiceInstance
Get all the custom qualifier annotations classes supported by the service locator.
getDeclaredName() - Method in interface org.testifyproject.FieldDescriptor
Get the explicitly defined field name.
getDeclaredName() - Method in interface org.testifyproject.MethodDescriptor
Get the explicitly defined method name.
getDeclaringClass() - Method in interface org.testifyproject.trait.MemberTrait
Get the class the member is declared in.
getDeclaringClassLoader() - Method in interface org.testifyproject.trait.MemberTrait
Get the member's declaring class' classloader.
getDeclaringClassName() - Method in interface org.testifyproject.trait.MemberTrait
Get the name of the class the member is declared in.
getDelegate() - Method in interface org.testifyproject.extension.ProxyInstance
Get the supplier that provides the object calls will be delegated to.
getErrors() - Method in interface org.testifyproject.TestContext
Get the error messages associated with the test context.
getFake() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Get Fake annotation.
getFieldDescriptors() - Method in interface org.testifyproject.SutDescriptor
Get a list of field descriptors for all the fields associated with the system under test .
getFieldDescriptors() - Method in interface org.testifyproject.TestDescriptor
Get a collection of field descriptors for all the fields associated with the test class.
getFixture() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Get Fixture annotation.
getFqn() - Method in interface org.testifyproject.ClientInstance
Get a unique fully qualified name associated with the virtual resource.
getFqn() - Method in interface org.testifyproject.LocalResourceInstance
Get a unique fully qualified name associated with the local resource.
getFqn() - Method in interface org.testifyproject.RemoteResourceInstance
Get a unique fully qualified name associated with the remote resource.
getFqn() - Method in interface org.testifyproject.ServerInstance
Get a unique fully qualified name associated with the server instance.
getFqn() - Method in interface org.testifyproject.VirtualResourceInstance
Get a unique fully qualified name associated with the virtual resource.
getGenericContract() - Method in interface org.testifyproject.Instance
The generic contract implemented by the instance.If present the instance value can be injected into services by this contract.
getGenericType() - Method in interface org.testifyproject.trait.TypeTrait
Get the instance generic type.
getGuidelines() - Method in interface org.testifyproject.TestDescriptor
Get guideline annotations associated with the test.
getHint() - Method in interface org.testifyproject.TestDescriptor
Get hint annotation associated with the test.
getIndex() - Method in interface org.testifyproject.ParameterDescriptor
Get the index of the parameter.
getInspectedAnnotations() - Method in interface org.testifyproject.TestDescriptor
Get a collection of all known and inspected annotations including those placed on Bundle annotation.
getInstance() - Method in interface org.testifyproject.MethodDescriptor
The instance object associated with the method descriptor.
getInterceptor() - Method in interface org.testifyproject.extension.InstrumentInstance
Get the interceptor associated with the instrumented class.
getLocalResource() - Method in interface org.testifyproject.LocalResourceInstance
Get the local resource annotation associated with the local resource instance.
getLocalResources() - Method in interface org.testifyproject.TestContext
Get the local resource instances associated with the test.
getLocalResources() - Method in interface org.testifyproject.TestDescriptor
Get a collection of local resources associated with the test class.
getMember() - Method in interface org.testifyproject.trait.MemberTrait
Get the member.
getMetaAnnotations(Collection<Class<? extends Annotation>>...) - Method in interface org.testifyproject.trait.AnnotationTrait
Get the meta annotations declared on the annotated element itself or annotations on the annotated element.
getMethodName() - Method in interface org.testifyproject.TestContext
Get the name of the test method associated with the test context.
getMockProvider() - Method in interface org.testifyproject.TestContext
Get the mock provider associated with the test context.
getModules() - Method in interface org.testifyproject.TestDescriptor
Get a collection of modules associated with the test class.
getName() - Method in interface org.testifyproject.extension.ProxyInstance
Get the name associated with the proxied instance.
getName() - Method in interface org.testifyproject.Instance
Get the name of instance.
getName() - Method in interface org.testifyproject.ParameterDescriptor
Get the parameter name.
getName() - Method in interface org.testifyproject.TestContext
Get a unique name to identify the test context.
getName() - Method in interface org.testifyproject.trait.MemberTrait
Get the member name.
getNameQualifers() - Method in interface org.testifyproject.ServiceInstance
Get all the name qualifier annotation classes supported by the service locator.
getParameterDescriptors() - Method in interface org.testifyproject.SutDescriptor
Get a list of parameter descriptors for all the parameters associated with the system under test's constructor.
getParameters() - Method in interface org.testifyproject.trait.MethodTrait
Get the method parameter types.
getParameterTypes() - Method in interface org.testifyproject.trait.MethodTrait
Get the method parameter types.
getProperties() - Method in class org.testifyproject.trait.DefaultPropertiesReader
 
getProperties() - Method in interface org.testifyproject.trait.PropertiesTrait
Get the properties associated with this implementation of PropertiesTrait.
getPropertiesReader(String) - Method in interface org.testifyproject.trait.PropertiesReader
Get a PropertiesReader instance for the given mapKey.
getProperty() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Get Property annotation.
getProperty(String) - Method in interface org.testifyproject.trait.PropertiesReader
Get the value the value associated with the given key.
getProvider() - Method in interface org.testifyproject.ResourceInfo
Get the resource provider.
getReal() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Get Real annotation.
getRemoteResource() - Method in interface org.testifyproject.RemoteResourceInstance
Get the remote resource annotation associated with the remote resource instance.
getRemoteResources() - Method in interface org.testifyproject.TestContext
Get the remote resource instances associated with the test.
getRemoteResources() - Method in interface org.testifyproject.TestDescriptor
Get a collection of remote resources associated with the test class.
getResource() - Method in interface org.testifyproject.LocalResourceInstance
Get the underlying local resource instance.
getResource() - Method in interface org.testifyproject.RemoteResourceInstance
Get the resource instance associated with the remote resource.
getResource() - Method in interface org.testifyproject.VirtualResourceInstance
Get the resource instance associated with the virtual resource.
getReturnType() - Method in interface org.testifyproject.trait.MethodTrait
Method return type.
getScans() - Method in interface org.testifyproject.TestDescriptor
Get a collection of scans associated with the test class.
getServer() - Method in interface org.testifyproject.ServerInstance
Get the underlying server instance.
getServerType() - Method in interface org.testifyproject.ServerProvider
Get the server type.
getService(Type, String) - Method in interface org.testifyproject.ServiceInstance
Get a service with the given name.
getService(Type, Annotation...) - Method in interface org.testifyproject.ServiceInstance
Get a service with the given qualifiers.
getServiceInstance() - Method in interface org.testifyproject.TestContext
Get the service instance associated with the test context.
getSupportedSourceVersion() - Method in class org.testifyproject.processor.DiscoverableProcessor
 
getSut() - Method in interface org.testifyproject.SutDescriptor
Get Sut annotation.
getSutDescriptor() - Method in interface org.testifyproject.TestContext
Get the system under test descriptor.
getSutField() - Method in interface org.testifyproject.TestDescriptor
Get the system under test field associated with the test class.
getSutInstance() - Method in interface org.testifyproject.TestContext
get the sut class instance.
getTestCategory() - Method in interface org.testifyproject.TestContext
Get the test category associated with the test.
getTestClass() - Method in interface org.testifyproject.TestContext
Get test class associated with the test context.
getTestClass() - Method in interface org.testifyproject.TestDescriptor
Get the test class.
getTestClassLoader() - Method in interface org.testifyproject.TestContext
The class loader associated with the test class.
getTestClassLoader() - Method in interface org.testifyproject.TestDescriptor
The class loader associated with the test class.
getTestClassName() - Method in interface org.testifyproject.TestDescriptor
The name of the test class.
getTestConfigurer() - Method in interface org.testifyproject.TestContext
Get the test configurer associated with the test context.
getTestContext() - Method in interface org.testifyproject.ApplicationInstance
Get the test context associated with the application.
getTestDescriptor() - Method in interface org.testifyproject.TestContext
Get the test class descriptor.
getTestInstance() - Method in interface org.testifyproject.TestContext
Get the test class instance.
getTestMethodDescriptor() - Method in interface org.testifyproject.TestContext
Get the test method descriptor associated with the test context.
getTestName() - Method in interface org.testifyproject.TestContext
Get the simple name of the test class.
getTestRunner() - Method in interface org.testifyproject.TestContext
Get the test runner associated with the test context.
getType() - Method in interface org.testifyproject.extension.ProxyInstance
The type that will be proxied.
getType() - Method in interface org.testifyproject.trait.TypeTrait
Get the instance type.
getTypeName() - Method in interface org.testifyproject.trait.TypeTrait
Get human readable type name.
getValue() - Method in interface org.testifyproject.Instance
Get the instance value.
getValue() - Method in interface org.testifyproject.ResourceInfo
Get the resource instance.
getValue(Object) - Method in interface org.testifyproject.trait.FieldTrait
Get the field value for the given instance.
getVirtual() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Get Virtual annotation.
getVirtualResource() - Method in interface org.testifyproject.VirtualResourceInstance
Get the virtual resource annotation associated with the virtual resource instance.
getVirtualResources() - Method in interface org.testifyproject.TestContext
Get the virtual resource instances associated with the test.
getVirtualResources() - Method in interface org.testifyproject.TestDescriptor
Get a collection of virtual resources associated with the test class.
getWarnings() - Method in interface org.testifyproject.TestContext
Get the warning messages associated with the test context.

H

Handles - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed on a class to donate it as capable of handing a specific type of annotations.
hasAnyAnnotations(Class<? extends Annotation>...) - Method in interface org.testifyproject.trait.AnnotationTrait
Determine if the annotated element has any of the given annotations.
hasAnyAnnotations(Collection<Class<? extends Annotation>>) - Method in interface org.testifyproject.trait.AnnotationTrait
Determine if the annotated element has any of the given annotations.
hashCode() - Method in class org.testifyproject.trait.DefaultPropertiesReader
 
hasParameterTypes(Type...) - Method in interface org.testifyproject.trait.MethodTrait
Determine if the method has parameters of the given type.
hasReturnType(Type) - Method in interface org.testifyproject.trait.MethodTrait
Determine if the method has the given return type.
Hint - Annotation Type in org.testifyproject.annotation
An annotation that can be placed a test class to provide hints to the test class.

I

init(Object) - Method in interface org.testifyproject.trait.FieldTrait
Initialize the field for the given instance if it is annotated with Fixture.
InitialReifier - Interface in org.testifyproject.extension
A contract that defines a method to perform initial reification of the test class fields.
inject(Object) - Method in interface org.testifyproject.ServiceInstance
Injected collaborators into the given object instance.
inspect(TestDescriptor, Class<?>, T) - Method in interface org.testifyproject.extension.AnnotationInspector
Inspect the given annotation on the given annotated type.
Instance<T> - Interface in org.testifyproject
A contract that defines an instance object.
InstanceProvider - Interface in org.testifyproject.extension
A contract that defines a method to provider instances that will be added to a ServiceInstance.
InstrumentInstance - Interface in org.testifyproject.extension
A contract that defines methods for instrumenting a class.
InstrumentMorpher<T> - Interface in org.testifyproject.extension
A contract that enables the substitution of parameters passed to super method using org.testifyproject.bytebuddy.implementation.bind.annotation.Morph annotation.
InstrumentProvider - Interface in org.testifyproject.extension
A contract that provides an instrumented instance.
IntegrationCategory - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed on a class to categorize it as part of integration test family of tests.
intercept(TestContext) - Method in interface org.testifyproject.ServiceInterceptor
Create a service interceptor with the given test context.
invoke(Object, Object...) - Method in interface org.testifyproject.trait.MethodTrait
Invoke the method on the given instance with the given arguments.
invoke(Object, String, Object...) - Method in interface org.testifyproject.trait.TypeTrait
Invoke the given method with the given argument on the given instance.
isEmpty() - Method in interface org.testifyproject.trait.PropertiesTrait
Determine if the map returned by PropertiesTrait.getProperties() contains key-value mappings.
isInjectable() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Determine if the member is annotated with Fake, Virtual, or Real annotation.
isMock(T) - Method in interface org.testifyproject.MockProvider
Determine if the given instance is a mock instance.
isMock() - Method in interface org.testifyproject.trait.FieldAnnotationTrait
Determine if the member is annotated with Fake or Virtual annotation.
isRunning() - Method in interface org.testifyproject.ServiceInstance
Determine if the service instance is running.
isSubtypeOf(Type) - Method in interface org.testifyproject.trait.TypeTrait
Determine if the type is a subtype of the given type.
isSupertypeOf(Type) - Method in interface org.testifyproject.trait.TypeTrait
Determine if the type is a supertype of the given type.
isSutClass(Type) - Method in interface org.testifyproject.SutDescriptor
Determine if the given type is the same type or super type of the system under test.
isVirtualSut() - Method in interface org.testifyproject.SutDescriptor
Determine if the the Sut annotation is a delegated mock.

L

Lenient - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed a test class to indicate that verifications should be lenient.
load(TestContext, Set<String>, T) - Method in interface org.testifyproject.DataProvider
Load the given data files into the given resource instance.
load(TestContext, LocalResource, LocalResourceInstance<R, C>, Set<String>) - Method in interface org.testifyproject.LocalResourceProvider
Load the given list of data file into the local resource prior to the resource being used.
load(TestContext, RemoteResource, RemoteResourceInstance<C>, Set<String>) - Method in interface org.testifyproject.RemoteResourceProvider
Load the given list of data file into the local resource prior to the resource being used.
load(TestContext, VirtualResource, VirtualResourceInstance, Set<String>) - Method in interface org.testifyproject.VirtualResourceProvider
Load the given list of data file into the local resource prior to the resource being used.
LocalResource - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on integration and system tests to specify resources that must be loaded, configured, started, stopped before and after each test case (i.e.
LocalResourceInfo - Interface in org.testifyproject
A contract that defines a local resource instance.
LocalResourceInstance<R,C> - Interface in org.testifyproject
A contract that defines methods to get information about a local resource instance.
LocalResourceProvider<T,R,C> - Interface in org.testifyproject
A contract that defines methods to configure, start an stop a local resource.
LocalResources - Annotation Type in org.testifyproject.annotation
A repeatable meta-annotation for LocalResource.
Loose - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed a test class to indicate that verifications should be loose.

M

MemberTrait<T extends Member> - Interface in org.testifyproject.trait
A contract that specifies member traits.
MethodDescriptor - Interface in org.testifyproject
A contract that defines methods to access properties of or perform operations on a method.
MethodTrait - Interface in org.testifyproject.trait
A contract that specifies method traits.
MockProvider - Interface in org.testifyproject
An SPI contract that methods for creating mock test doubles.
Module - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on integration and system tests to load a module that contains services before each test run (i.e.
Modules - Annotation Type in org.testifyproject.annotation
A repeatable meta-annotation for Module.
morph(Object...) - Method in interface org.testifyproject.extension.InstrumentMorpher
Invoke the morph method using the given parameters.

N

Name - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on field, method, or method parameter to associate it with a name that can be used to qualify them.

O

of(String) - Static method in exception org.testifyproject.TestifyException
Constructs a new runtime exception with the specified detail message.
of(Throwable) - Static method in exception org.testifyproject.TestifyException
Constructs a new runtime exception with the specified detail cause.
of(String, Throwable) - Static method in exception org.testifyproject.TestifyException
Constructs a new runtime exception with the specified detail message and cause.
of(Map<String, Object>) - Static method in class org.testifyproject.trait.DefaultPropertiesReader
Create a new instance of DefaultPropertiesReader with the given properties.
operation(Function<T, R>) - Method in interface org.testifyproject.Instance
Atomically execute the given function with the Instance.getValue() as its parameters.
org.testifyproject - package org.testifyproject
A package that contains Annotations, SPI contract classes, and traits.
org.testifyproject.annotation - package org.testifyproject.annotation
A package that contains Testify's annotations.
org.testifyproject.extension - package org.testifyproject.extension
 
org.testifyproject.extension.annotation - package org.testifyproject.extension.annotation
 
org.testifyproject.processor - package org.testifyproject.processor
 
org.testifyproject.trait - package org.testifyproject.trait
A package that contains traits contracts.

P

ParameterDescriptor - Interface in org.testifyproject
A contract that defines methods to access properties of or perform operations on a system under test (SUT) constructor parameters.
postConfigure(TestContext, ServiceInstance) - Method in interface org.testifyproject.ServiceProvider
Initialize a service instance using the given test context and service context.
PostVerifier - Interface in org.testifyproject.extension
A contract that defines a method to verify that the test class produces the correct result after it is executed.
PreVerifier - Interface in org.testifyproject.extension
A contract that defines a method to verify that the test class is configured correctly before it is executed.
process(Set<? extends TypeElement>, RoundEnvironment) - Method in class org.testifyproject.processor.DiscoverableProcessor
 
PropertiesReader - Interface in org.testifyproject.trait
A contracts that specifies methods for reading property values.
PropertiesTrait - Interface in org.testifyproject.trait
A contracts that specifies Properties trait.
PropertiesWriter - Interface in org.testifyproject.trait
A contracts that specifies methods for writing property values.
Property - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on test class field to inject runtime or configuration properties into a test case.
ProxyInstance<T> - Interface in org.testifyproject.extension
A contract that defines a proxy instance instance object.
ProxyInstanceController - Interface in org.testifyproject.extension
An SPI contract for starting dynamic proxy creation process.
ProxyInstanceProvider - Interface in org.testifyproject.extension
A contract that defines a method to provider instances that will be added to a ServiceInstance.

Q

query(BiFunction<C, P, R>) - Method in interface org.testifyproject.ClientInstance
Execute the given function with the ClientInstance.getClient() value and ClientInstance.getClientSupplier() value as its parameters.
query(Function<T, R>) - Method in interface org.testifyproject.Instance
Execute the given function with the Instance.getValue() as its parameters.
query(BiFunction<T, URI, R>) - Method in interface org.testifyproject.ServerInstance
Execute the given function with the ServerInstance.getServer() value and ServerInstance.getBaseURI() as its parameters.

R

Real - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on integration and system test class fields to denote the field as a real collaborator of the System Under Test.
reify(TestContext) - Method in interface org.testifyproject.extension.CollaboratorReifier
Reify the test class using the given test context.
reify(TestContext) - Method in interface org.testifyproject.extension.FinalReifier
Reify the test class using the given test context.
reify(TestContext) - Method in interface org.testifyproject.extension.InitialReifier
Reify the test class using the given test context.
reify(TestContext) - Method in interface org.testifyproject.extension.SutReifier
Reify the test class using the given test context.
RemoteResource - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on integration and system tests to specify resources that must be loaded, configured, started, stopped before and after each test case (i.e.
RemoteResourceInfo - Interface in org.testifyproject
A contract that defines a remote resource instance.
RemoteResourceInstance<R> - Interface in org.testifyproject
A contract that defines methods to get information about a remote resource instance.
RemoteResourceProvider<T,C> - Interface in org.testifyproject
A contract that defines methods to configure, start an stop a remote resource.
RemoteResources - Annotation Type in org.testifyproject.annotation
A repeatable meta-annotation for RemoteResource.
ResourceController - Interface in org.testifyproject
An SPI contract for starting and stopping test resources.
ResourceInfo<A extends Annotation,P,I> - Interface in org.testifyproject
A contract that defines a resource instance which consists of a resource annotation, resource provider and resource instance.
ResourceProvider - Interface in org.testifyproject
An SPI contract for starting and stopping resources required by the system under test.

S

Scan - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on integration and system tests to load a resources that contains services before each test run (i.e.
Scans - Annotation Type in org.testifyproject.annotation
A repeatable meta-annotation for Scan.
ServerInstance<T> - Interface in org.testifyproject
A contract that defines methods for retrieving information about the running server.
ServerProvider<T,S> - Interface in org.testifyproject
A contract that defines methods to configure, start and stop a server.
ServiceInstance - Interface in org.testifyproject
A contract that defines methods for working with various dependency injection frameworks to add services and modules as well as retrieve services.
ServiceInterceptor - Interface in org.testifyproject
An SPI contract to intercept service instance life-cycle events.
ServiceProvider<T> - Interface in org.testifyproject
An SPI contract to create and configure a service instance.
setValue(Object, Object) - Method in interface org.testifyproject.trait.FieldTrait
Set the field value for the given instance to the given value.
start(TestContext) - Method in interface org.testifyproject.ApplicationProvider
Start the application using the given test context.
start(TestContext, LocalResource, T) - Method in interface org.testifyproject.LocalResourceProvider
Start the local resource with the given testContext and configuration.
start(TestContext, RemoteResource, T) - Method in interface org.testifyproject.RemoteResourceProvider
Start the remote resource with the given testContext and configuration.
start(TestContext) - Method in interface org.testifyproject.ResourceController
Start the test resources.
start(TestContext) - Method in interface org.testifyproject.ResourceProvider
Start all the resources using the given test context and service instance.
start(TestContext, Application, T) - Method in interface org.testifyproject.ServerProvider
Start the server using the given configuration object.
start(TestContext) - Method in interface org.testifyproject.TestRunner
Start the test.
start(TestContext, VirtualResource, T) - Method in interface org.testifyproject.VirtualResourceProvider
Start the virtual resource with the given testContext and configuration.
stop() - Method in interface org.testifyproject.ApplicationProvider
Stop the application.
stop(TestContext, LocalResource, LocalResourceInstance<R, C>) - Method in interface org.testifyproject.LocalResourceProvider
Stop the local resource.
stop(TestContext, RemoteResource, RemoteResourceInstance<C>) - Method in interface org.testifyproject.RemoteResourceProvider
Stop the remote resource.
stop(TestContext) - Method in interface org.testifyproject.ResourceController
Stop the test resources.
stop(TestContext) - Method in interface org.testifyproject.ResourceProvider
Stop all the resources.
stop(ServerInstance<S>) - Method in interface org.testifyproject.ServerProvider
Stop the server.
stop(TestContext) - Method in interface org.testifyproject.TestRunner
Stop the test.
stop(TestContext, VirtualResource, VirtualResourceInstance) - Method in interface org.testifyproject.VirtualResourceProvider
Stop the virtual resource.
Strict - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed a test class to indicate that verifications should be strict.
Sut - Annotation Type in org.testifyproject.annotation
An annotation used on single test class field to denote the field as the System Under Test (SUT).
SutDescriptor - Interface in org.testifyproject
A contract that defines methods to access properties of or perform operations on a system under test (SUT).
SutReifier - Interface in org.testifyproject.extension
A contract that defines a method to perform reification of the test class system under test (SUT) field.
SystemCategory - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed on a class to categorize it as part of system test family of tests.

T

TestConfigurer - Interface in org.testifyproject
An interface that defines methods for configuring test attributes.
TestContext - Interface in org.testifyproject
A small context class that contains reference to the test testInstance, the test testDescriptor, and helper methods.
TestDescriptor - Interface in org.testifyproject
A contract that defines methods used to access or perform operations on a test class.
Testified - Annotation Type in org.testifyproject.extension.annotation
An annotation used to mark source code or byte code that has been generated or altered (sub-classed, redefined, rebased) for testing purpose and to differentiate it from user written code.
TestifyException - Exception in org.testifyproject
A generic testify runtime exception.
TestRunner - Interface in org.testifyproject
A contract for starting and stopping test runs.
toString() - Method in class org.testifyproject.trait.DefaultPropertiesReader
 
TypeTrait - Interface in org.testifyproject.trait
A contract that specifies type traits.

U

UnitCategory - Annotation Type in org.testifyproject.extension.annotation
An annotation that can be placed on a class to categorize it as part of unit test family of tests.

V

Verifier - Interface in org.testifyproject.extension
A contract that defines a method to verify that the test class is initialized correctly before it is executed.
verify(TestContext) - Method in interface org.testifyproject.extension.PostVerifier
Verify the test class using the given test context.
verify(TestContext) - Method in interface org.testifyproject.extension.PreVerifier
Verify the test class using the given test context.
verify(TestContext) - Method in interface org.testifyproject.extension.Verifier
Verify the test class using the given test context.
verify() - Method in interface org.testifyproject.TestContext
Verify the integrity test context.
verifyAllInteraction(Object...) - Method in interface org.testifyproject.MockProvider
Verify all interaction between the system under test and its collaborators.
Virtual - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on unit, integration and system test class fields to denote the fields as a virtual collaborator.
VirtualResource - Annotation Type in org.testifyproject.annotation
An annotation that can be placed on integration and system tests to specify virtual resources that should be configured, started, stopped before and after each test run.
VirtualResourceInfo - Interface in org.testifyproject
A contract that defines a virtual resource instance.
VirtualResourceInstance<R> - Interface in org.testifyproject
A contract that defines methods for getting information about a virtual resource.
VirtualResourceProvider<T> - Interface in org.testifyproject
A contract that defines methods to configure, start an stop a virtual resource.
VirtualResources - Annotation Type in org.testifyproject.annotation
A repeatable meta-annotation for VirtualResource.
A B C D E F G H I L M N O P Q R S T U V 
Skip navigation links

Copyright © 2016–2018 Testify Project. All rights reserved.