Index
All Classes and Interfaces|All Packages
A
- afterAll(ExtensionContext) - Method in class io.avaje.inject.test.InjectJunitExtension
-
Cleanup scope for class (static fields).
- afterEach(ExtensionContext) - Method in class io.avaje.inject.test.InjectJunitExtension
-
Cleanup scope for test method.
B
- beforeAll(ExtensionContext) - Method in class io.avaje.inject.test.InjectJunitExtension
- beforeEach(ExtensionContext) - Method in class io.avaje.inject.test.InjectJunitExtension
-
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
@TestScopebeans. - 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
@TestScopebeans ONLY building once. - InjectJunitExtension - Class in io.avaje.inject.test
-
Junit 5 extension for avaje inject.
- InjectJunitExtension() - Constructor for class io.avaje.inject.test.InjectJunitExtension
- InjectTest - Annotation Type in io.avaje.inject.test
-
An avaje-inject test supporting
@Injectalong with Mockito annotations -@Mock, @Spy, @Captor. - io.avaje.inject.test - module io.avaje.inject.test
- io.avaje.inject.test - package io.avaje.inject.test
L
- LookupProvider - Interface in io.avaje.inject.test
-
Provides a Lookup instance for accessing test fields.
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
- provideLookup() - Method in interface io.avaje.inject.test.LookupProvider
-
Return the Lookup.
S
- scopePerTest() - Element in annotation type io.avaje.inject.test.InjectTest
-
Create a new test beanscope for each test method
- 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`.
All Classes and Interfaces|All Packages