lingua-franca 0.10.1
Lingua Franca code generator
Loading...
Searching...
No Matches
org.lflang.tests.TestRegistry.TestMap Class Reference

Public Member Functions

Set< LFTestgetTests (Target t, TestCategory c)
 Return a set of tests given a target and test category.
 TestMap ()
 Create a new test map.

Protected Attributes

final Map< Target, Map< TestCategory, Set< LFTest > > > map = new HashMap<>()
 Registry that maps targets to maps from categories to sets of tests.

Constructor & Destructor Documentation

◆ TestMap()

org.lflang.tests.TestRegistry.TestMap.TestMap ( )

Create a new test map.

Member Function Documentation

◆ getTests()

Set< LFTest > org.lflang.tests.TestRegistry.TestMap.getTests ( Target t,
TestCategory c )

Return a set of tests given a target and test category.

Parameters
tThe target.
cThe test category.
Returns
A set of tests for the given target and test category.

Member Data Documentation

◆ map

final Map<Target, Map<TestCategory, Set<LFTest> > > org.lflang.tests.TestRegistry.TestMap.map = new HashMap<>()
protected

Registry that maps targets to maps from categories to sets of tests.


The documentation for this class was generated from the following file:
  • /Users/runner/work/lingua-franca/lingua-franca/core/src/testFixtures/java/org/lflang/tests/TestRegistry.java