A registry to retrieve tests from, organized by target and category.
More...
|
| static final List< String > | IGNORED_DIRECTORIES |
| | List of directories that should be skipped when indexing test files.
|
| static final Path | LF_REPO_PATH = Paths.get("").toAbsolutePath() |
| | Path to the root of the repository.
|
| static final Path | LF_TEST_PATH = LF_REPO_PATH.resolve("test") |
| | Path to the test directory in the repository.
|
A registry to retrieve tests from, organized by target and category.
- Author
- Marten Lohstroh
◆ getCoverageReport()
| String org.lflang.tests.TestRegistry.getCoverageReport |
( |
Target | target, |
|
|
TestCategory | category ) |
◆ getIgnoredTests()
Return the test that were found but not indexed because they did not have a main reactor.
◆ getRegisteredTests()
Return the tests that were indexed for a given target and category.
- Parameters
-
| target | The target to get indexed tests for. |
| category | The category of tests to include in the returned tests. |
| copy | Whether to return copies of the indexed tests instead of the indexed tests themselves. |
- Returns
- A set of tests for the given target/category.
◆ initialize()
| void org.lflang.tests.TestRegistry.initialize |
( |
| ) |
|
◆ IGNORED_DIRECTORIES
| final List<String> org.lflang.tests.TestRegistry.IGNORED_DIRECTORIES |
|
static |
Initial value:=
List.of("failing", "knownfailed", "failed", "fed-gen")
List of directories that should be skipped when indexing test files.
Any test file that has a directory in its path that matches an entry in this array will not be discovered.
◆ LF_REPO_PATH
| final Path org.lflang.tests.TestRegistry.LF_REPO_PATH = Paths.get("").toAbsolutePath() |
|
static |
Path to the root of the repository.
◆ LF_TEST_PATH
| final Path org.lflang.tests.TestRegistry.LF_TEST_PATH = LF_REPO_PATH.resolve("test") |
|
static |
Path to the test directory in the repository.
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