Package guru.mikelue.foxglove.annotation
package guru.mikelue.foxglove.annotation
This package contains annotations for Foxglove library.
The identifying of
The priority to identify The identifying of
The priority to identify
A processing engine,
like Extension Model(JUnit) or TestExecutionListener(SpringFramework Test),
is responsible to implement the semantics described below:
The identifying of TableFacet
The priority to identify TableFacet(s) is listed as:
- The test instance has at least one field or method annotated by
TableFacetsSource - The member annotated by
TableFacetsSourceshould be one of- Field of type
TableFacet - Field of type
ListofTableFacet - Field of type
StreamofTableFacet - Field of type array of
TableFacet - Field of type
TableFacetsProvider - Method(no arguments) returns
TableFacet - Method(no arguments) returns
ListofTableFacet - Method(no arguments) returns
StreamofTableFacet - Method(no arguments) returns array of
TableFacet
- Field of type
- Keeps looking for parent class if nothing found in current class
The identifying of DataGenerator
The priority to identify DataGenerator is listed as:
- The test instance has at least one of field or method annotated by
DataGeneratorSource - The member annotated by
DataGeneratorSourceshould be one of- Field of type
DataGenerator - Field of type
DataGeneratorProvider - Method(no arguments) returns
DataGenerator
- Field of type
- Keeps looking for parent class if nothing found in current class
- See Also:
-
ClassDescriptionDataGenContext<T extends TableFacet>Reflection information for named
TableFacetsSourceandDataGeneratorSourceobjects.Marks a method or a field as instant/provider ofDataGenerator.Annotation to define data generation configuration for a test method.Fallback provider of data generator, this provider will throwUnsupportedOperationExceptionwhile being invoked.A convenient interface to process objects defined byGenData.A factory interface to create data generator and table facets defined byGenData.Worker class for test framework integration.LayeredDataGenContext<T extends TableFacet>Context class for layered data generations.Uses reflection to create data generation objects defined byGenData.Marks a method or a filed as instant/provider ofTableFacet.