Class LayeredDataGenContext<T extends TableFacet>

java.lang.Object
guru.mikelue.foxglove.annotation.LayeredDataGenContext<T>
Type Parameters:
T - The type of table facet
All Implemented Interfaces:
DataGenContext<T>

public class LayeredDataGenContext<T extends TableFacet> extends Object implements DataGenContext<T>
Context class for layered data generations.

This class is intended to support layered testing structure like Nested Tests in JUnit.

The methods accepting the testing instance as parameter are ignored in this class.

  • Constructor Details

    • LayeredDataGenContext

      public LayeredDataGenContext(List<Object> testingInstances, List<DataGenContext<T>> layeredContexts)
      Creates an instance with multiple DataGenContexts.

      The first item in the list has the highest priority when searching for.

      Parameters:
      testingInstances - The list of testing instances for each context
      layeredContexts - The list of layered data generation contexts
  • Method Details