A B C D E F I M P R S W 
All Classes All Packages

A

afterAll(ExtensionContext) - Method in class io.mats3.test.jupiter.Extension_Mats
Executed by Jupiter after all test methods have been executed.
afterAll(ExtensionContext) - Method in class io.mats3.test.jupiter.MatsTest.Extension_MatsRegistration
 
afterEach(ExtensionContext) - Method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
 
afterEach(ExtensionContext) - Method in class io.mats3.test.jupiter.Extension_MatsEndpoint
 
afterEach(ExtensionContext) - Method in class io.mats3.test.jupiter.MatsTest.FieldProcess_MatsTestAnnotations
 

B

beforeAll(ExtensionContext) - Method in class io.mats3.test.jupiter.Extension_Mats
Executed by Jupiter before any test method is executed.
beforeAll(ExtensionContext) - Method in class io.mats3.test.jupiter.MatsTest.Extension_MatsRegistration
 
beforeEach(ExtensionContext) - Method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
 
beforeEach(ExtensionContext) - Method in class io.mats3.test.jupiter.Extension_MatsEndpoint
 
beforeEach(ExtensionContext) - Method in class io.mats3.test.jupiter.MatsTest.FieldProcess_MatsTestAnnotations
 

C

create() - Static method in class io.mats3.test.jupiter.Extension_Mats
Creates an Extension_Mats utilizing the MATS default serializer
create() - Static method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
Create a new instance without MatsFactory - which will be found through the ExtensionContext if Extension_Mats is also used.
create(MatsFactory) - Static method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
Create a new instance based on the supplied MatsFactory instance.
create(MatsSerializer<?>) - Static method in class io.mats3.test.jupiter.Extension_Mats
Creates an Extension_Mats utilizing the user provided MatsSerializer which serializes to the type of String.
create(Extension_Mats) - Static method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
Create a new instance based on a Extension_Mats instance (from which the needed MatsFactory is gotten).
create(Extension_Mats, String, Class<R>, Class<I>) - Static method in class io.mats3.test.jupiter.Extension_MatsEndpoint
Convenience variant of create(endpointId, replyClass, incomingClass) taking a Extension_Mats as first argument for fetching the MatsFactory, for use in "pure Java" environments (read as: non-Spring) - but note that if you also use Extension_Mats, a MatsFactory will also be available in the ExtensionContext, which this extension then will find and use.
create(String, Class<R>, Class<I>) - Static method in class io.mats3.test.jupiter.Extension_MatsEndpoint
Creates a Jupiter Extension for a single-staged endpoint whose processor is not defined at start.
createSerializer() - Method in interface io.mats3.test.jupiter.MatsTest.SerializerFactory
 
createSerializer() - Method in class io.mats3.test.jupiter.MatsTest.SerializerFactoryJson
 
createWithDb() - Static method in class io.mats3.test.jupiter.Extension_Mats
 
createWithDb(MatsSerializer<?>) - Static method in class io.mats3.test.jupiter.Extension_Mats
 

D

db() - Method in annotation type io.mats3.test.jupiter.MatsTest
Should we create the Extension_Mats by invoking the Extension_Mats.createWithDb() method, which again creates a H2 DataSource by invoking TestH2DataSource.createStandard().

E

endpointId() - Method in annotation type io.mats3.test.jupiter.MatsTest.MatsTestEndpoint
 
Extension_Mats - Class in io.mats3.test.jupiter
Provides a full MATS harness for unit testing by creating MatsFactory utilizing an in-vm Active MQ broker, and optionally a TestH2DataSource for database tests.
Extension_Mats(MatsSerializer<?>) - Constructor for class io.mats3.test.jupiter.Extension_Mats
 
Extension_Mats(MatsSerializer<?>, DataSource) - Constructor for class io.mats3.test.jupiter.Extension_Mats
 
Extension_MatsAnnotatedClass - Class in io.mats3.test.jupiter
Helper class to test Mats3 Endpoints which are defined using the Mats3 SpringConfig annotations, but without using the full Spring harness for testing.
Extension_MatsEndpoint<R,​I> - Class in io.mats3.test.jupiter
Extension to create a single staged endpoint whose reply/processor can be changed throughout its life, i.e.
Extension_MatsRegistration() - Constructor for class io.mats3.test.jupiter.MatsTest.Extension_MatsRegistration
 

F

FieldProcess_MatsTestAnnotations() - Constructor for class io.mats3.test.jupiter.MatsTest.FieldProcess_MatsTestAnnotations
 
findFromContext(ExtensionContext) - Static method in class io.mats3.test.jupiter.Extension_Mats
Returns the Extension_Mats from the test context, provided that this has been initialized prior to calling this method.

I

io.mats3.test.jupiter - package io.mats3.test.jupiter
Mats3 testing tools for Jupiter (JUnit 5).

M

matsAnnotatedClasses() - Method in annotation type io.mats3.test.jupiter.MatsTest
Add classes here that you wish to be registered as Mats annotated classes.
MatsTest - Annotation Type in io.mats3.test.jupiter
Convenience composite annotation for providing test infrastructure for Mats3 testing - notably what you get from the Jupiter extension Extension_Mats - as well as support for instantiating and registering endpoints as provided by the extensions Extension_MatsEndpoint and Extension_MatsAnnotatedClass by use of the two sub-annotations MatsTestEndpoint and MatsTestAnnotatedClass, and with the MatsTest annotation parameter MatsTest.matsAnnotatedClasses().
MatsTest.Extension_MatsRegistration - Class in io.mats3.test.jupiter
Extension to create and register the Extension_Mats into the test context.
MatsTest.FieldProcess_MatsTestAnnotations - Class in io.mats3.test.jupiter
Extension to support the MatsTest.MatsTestEndpoint and MatsTest.MatsTestAnnotatedClass annotations on fields in test classes.
MatsTest.MatsTestAnnotatedClass - Annotation Type in io.mats3.test.jupiter
Marks a field that has Mats annotations, like MatsMapping or MatsClassMapping.
MatsTest.MatsTestEndpoint - Annotation Type in io.mats3.test.jupiter
Field annotation on fields of type Extension_MatsEndpoint.
MatsTest.ParameterResolver_MatsEntities - Class in io.mats3.test.jupiter
ParameterResolved to provide properties from the Extension_Mats as parameters to test instances' test methods, and constructor injection.
MatsTest.SerializerFactory - Interface in io.mats3.test.jupiter
Factory interface for creating a MatsSerializer instance.
MatsTest.SerializerFactoryJson - Class in io.mats3.test.jupiter
Default serializer factory for creating a MatsSerializerJson instance.

P

ParameterResolver_MatsEntities() - Constructor for class io.mats3.test.jupiter.MatsTest.ParameterResolver_MatsEntities
 

R

resolveParameter(ParameterContext, ExtensionContext) - Method in class io.mats3.test.jupiter.MatsTest.ParameterResolver_MatsEntities
 

S

serializerFactory() - Method in annotation type io.mats3.test.jupiter.MatsTest
The serializer factory to use for the MatsFactory created by the extension.
SerializerFactoryJson() - Constructor for class io.mats3.test.jupiter.MatsTest.SerializerFactoryJson
 
setMatsFactory(MatsFactory) - Method in class io.mats3.test.jupiter.Extension_MatsEndpoint
Sets the internal MatsFactory to be utilized for the creation of this endpoint.
setProcessLambda(MatsEndpoint.ProcessSingleLambda<R, I>) - Method in class io.mats3.test.jupiter.Extension_MatsEndpoint
 
supportsParameter(ParameterContext, ExtensionContext) - Method in class io.mats3.test.jupiter.MatsTest.ParameterResolver_MatsEntities
 

W

withAnnotatedMatsClasses(Class<?>...) - Method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
Add classes to act as a source for annotations to register Mats endpoints for each test.
withAnnotatedMatsInstances(Object...) - Method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
Add instances of classes annotated with Mats annotations to register Mats endpoints for each test.
A B C D E F I M P R S W 
All Classes All Packages