A B C D E F I M P R S W
All Classes All Packages
All Classes All Packages
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_Matsutilizing theMATS 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_Matsis also used. - create(MatsFactory) - Static method in class io.mats3.test.jupiter.Extension_MatsAnnotatedClass
-
Create a new instance based on the supplied
MatsFactoryinstance. - create(MatsSerializer<?>) - Static method in class io.mats3.test.jupiter.Extension_Mats
-
Creates an
Extension_Matsutilizing the user providedMatsSerializerwhich 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_Matsinstance (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 aExtension_Matsas first argument for fetching theMatsFactory, for use in "pure Java" environments (read as: non-Spring) - but note that if you also useExtension_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_Matsby invoking theExtension_Mats.createWithDb()method, which again creates a H2 DataSource by invokingTestH2DataSource.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
MatsFactoryutilizing an in-vm Active MQ broker, and optionally aTestH2DataSourcefor 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_Matsfrom 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 extensionsExtension_MatsEndpointandExtension_MatsAnnotatedClassby use of the two sub-annotationsMatsTestEndpointandMatsTestAnnotatedClass, and with the MatsTest annotation parameterMatsTest.matsAnnotatedClasses(). - MatsTest.Extension_MatsRegistration - Class in io.mats3.test.jupiter
-
Extension to create and register the
Extension_Matsinto the test context. - MatsTest.FieldProcess_MatsTestAnnotations - Class in io.mats3.test.jupiter
-
Extension to support the
MatsTest.MatsTestEndpointandMatsTest.MatsTestAnnotatedClassannotations 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_Matsas parameters to test instances' test methods, and constructor injection. - MatsTest.SerializerFactory - Interface in io.mats3.test.jupiter
-
Factory interface for creating a
MatsSerializerinstance. - MatsTest.SerializerFactoryJson - Class in io.mats3.test.jupiter
-
Default serializer factory for creating a
MatsSerializerJsoninstance.
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
MatsFactorycreated 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
MatsFactoryto 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.
All Classes All Packages