Index

A C G I L M O P S V 
All Classes and Interfaces|All Packages

A

ActivatedAlternatives - Annotation Type in io.github.cdiunit
@ActivatedAlternatives adds classes to the CDI environment that are not discovered automatically and marks them as an activated alternative as if they were specified in beans.xml.
ActivateScopes - Annotation Type in io.github.cdiunit
Activate listed scopes for the duration of the test.
ActivateScopes.All - Annotation Type in io.github.cdiunit
Container annotation for repeatable ActivateScopes.
AdditionalClasses - Annotation Type in io.github.cdiunit
@AdditionalClasses adds classes to the CDI environment that are not discovered automatically.
AdditionalClasspaths - Annotation Type in io.github.cdiunit
@AdditionalClasspaths adds all the classes in a particular classpath entry to the CDI environment that are not discovered automatically.
AdditionalPackages - Annotation Type in io.github.cdiunit
@AdditionalPackages adds all the classes in a particular package entry to the CDI environment that are not discovered automatically.

C

CdiJUnit - Class in io.github.cdiunit.junit4
CDI Unit supports JUnit via: * JUnit Rules - see CdiJUnitRule * * JUnit runners - see CdiRunner *
CdiRunner - Class in io.github.cdiunit.junit4
CdiRunner is a JUnit runner that uses a CDI container to create unit test objects.
CdiRunner(Class<?>) - Constructor for class io.github.cdiunit.junit4.CdiRunner
 
classRule() - Static method in class io.github.cdiunit.junit4.CdiJUnit
Creates rule instance that manages CDI Unit for classes using IsolationLevel.PER_CLASS.
closeRequest() - Method in class io.github.cdiunit.ContextController
Close the currently active request.
closeSession() - Method in class io.github.cdiunit.ContextController
Close the currently active session.
ContextController - Class in io.github.cdiunit
Use to explicitly open and close Request, Session and Conversation scopes.
ContextController() - Constructor for class io.github.cdiunit.ContextController
 
currentRequest() - Method in class io.github.cdiunit.ContextController
 

G

getSession() - Method in class io.github.cdiunit.ContextController
 

I

IgnoredClasses - Annotation Type in io.github.cdiunit
@IgnoredClasses prevent classes from being automatically added to the CDI environment.
InConversationScope - Annotation Type in io.github.cdiunit
Starts a conversation around the annotated method.
InRequestScope - Annotation Type in io.github.cdiunit
Starts a request around the annotated method.
InSessionScope - Annotation Type in io.github.cdiunit
Starts a session around the annotated method.
io.github.cdiunit - package io.github.cdiunit
CDI Unit provides annotation-driven unit and integration testing support for applications using CDI that is agnostic of the actual testing framework in use.
io.github.cdiunit.ejb - package io.github.cdiunit.ejb
Jakarta Enterprise Beans support classes for the CDI Unit.
io.github.cdiunit.jaxrs - package io.github.cdiunit.jaxrs
Jakarta RESTful Web Services support classes for the CDI Unit.
io.github.cdiunit.junit4 - package io.github.cdiunit.junit4
Support classes for integrating the CDI Unit with the JUnit 4 (version 4.12 or higher).
io.github.cdiunit.resource - package io.github.cdiunit.resource
Jakarta Annotations support classes for the CDI Unit.
Isolation - Annotation Type in io.github.cdiunit
Defines the isolation level for a test case.
IsolationLevel - Enum in io.github.cdiunit
 

L

late() - Element in annotation type io.github.cdiunit.AdditionalClasses
 
late() - Element in annotation type io.github.cdiunit.IgnoredClasses
 

M

methodRule() - Static method in class io.github.cdiunit.junit4.CdiJUnit
Creates method rule instance that manages CDI Unit.

O

openRequest() - Method in class io.github.cdiunit.ContextController
Start a request.

P

PER_CLASS - Enum constant in enum io.github.cdiunit.IsolationLevel
In this isolation level, all test methods of a test class will run in the same Weld instance.
PER_METHOD - Enum constant in enum io.github.cdiunit.IsolationLevel
In this isolation level, each test method will run in a separate Weld instance.
ProducerConfig - Annotation Type in io.github.cdiunit
 
ProducesAlternative - Annotation Type in io.github.cdiunit
@ProducesAlternative causes a produced variable or method to act as an enabled alternative overriding any other suitable injections.

S

SupportEjb - Annotation Type in io.github.cdiunit.ejb
Enable support for Ejb
SupportJaxRs - Annotation Type in io.github.cdiunit.jaxrs
Enable support for JaxRs mocking.
SupportResource - Annotation Type in io.github.cdiunit.resource
Enable support for Resource injection.

V

value() - Element in annotation type io.github.cdiunit.ActivatedAlternatives
 
value() - Element in annotation type io.github.cdiunit.ActivateScopes.All
 
value() - Element in annotation type io.github.cdiunit.ActivateScopes
 
value() - Element in annotation type io.github.cdiunit.AdditionalClasses
 
value() - Element in annotation type io.github.cdiunit.AdditionalClasspaths
 
value() - Element in annotation type io.github.cdiunit.AdditionalPackages
 
value() - Element in annotation type io.github.cdiunit.IgnoredClasses
 
value() - Element in annotation type io.github.cdiunit.Isolation
 
valueOf(String) - Static method in enum io.github.cdiunit.IsolationLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.github.cdiunit.IsolationLevel
Returns an array containing the constants of this enum type, in the order they are declared.
A C G I L M O P S V 
All Classes and Interfaces|All Packages