Index

A B C F I P S T 
All Classes and Interfaces|All Packages

A

afterAll(ExtensionContext) - Method in class io.avaje.inject.test.InjectExtension
Cleanup scope for class (static fields).
afterEach(ExtensionContext) - Method in class io.avaje.inject.test.InjectExtension
Cleanup scope for test method.

B

beforeAll(ExtensionContext) - Method in class io.avaje.inject.test.InjectExtension
 
beforeEach(ExtensionContext) - Method in class io.avaje.inject.test.InjectExtension
Callback that is invoked before each test is invoked.
builder() - Static method in class io.avaje.inject.test.TestBeanScope
Build and return a new BeanScope that will have the global "test scope" as its parent.

C

close() - Method in interface io.avaje.inject.test.Plugin.Scope
Close resources that are in this scope - for example, http server.
create(boolean) - Static method in class io.avaje.inject.test.TestBeanScope
Build and return a new BeanScope for @TestScope beans.
create(Type) - Method in interface io.avaje.inject.test.Plugin.Scope
Create an instance of this type to inject into the test.
createScope(BeanScope) - Method in interface io.avaje.inject.test.Plugin
Create a plugin scope for either EACH or ALL (per test or per class)

F

forType(Type) - Method in interface io.avaje.inject.test.Plugin
Return true if this plugin should inject for this class.

I

initialise() - Static method in class io.avaje.inject.test.TestBeanScope
Return the BeanScope for @TestScope beans ONLY building once.
InjectExtension - Class in io.avaje.inject.test
Junit 5 extension for avaje inject.
InjectExtension() - Constructor for class io.avaje.inject.test.InjectExtension
 
InjectTest - Annotation Type in io.avaje.inject.test
An avaje-inject test supporting @Inject along with Mockito annotations - @Mock, @Spy, @Captor.
io.avaje.inject.test - module io.avaje.inject.test
 
io.avaje.inject.test - package io.avaje.inject.test
 

P

Plugin - Interface in io.avaje.inject.test
Plugin that can inject into fields.
Plugin.Scope - Interface in io.avaje.inject.test
The plugin scope for the test.
profiles() - Element in annotation type io.avaje.inject.test.InjectTest
Wiring profiles to use

S

Setup - Annotation Type in io.avaje.inject.test
Specify a method in a test that takes a BeanScopeBuilder.

T

TestBeanScope - Class in io.avaje.inject.test
Provides access to the global "test scope" and helper methods to use it.
TestBeanScope() - Constructor for class io.avaje.inject.test.TestBeanScope
 
TestModule - Interface in io.avaje.inject.test
Marker for Test scope module.
TestScope - Annotation Type in io.avaje.inject.test
Specify test scope for a `@Factory` or `@Singleton`.
A B C F I P S T 
All Classes and Interfaces|All Packages