![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Enumeration of test categories, used to map tests to categories. More...
Public Member Functions | |
| String | getHeader () |
| Return a header associated with the category. | |
| String | getPath () |
| TestCategory (boolean isCommon, String path, TestLevel level) | |
| Create a new test category. | |
Public Attributes | |
| ARDUINO =(false, "", TestLevel.BUILD) | |
| BASIC =(true, "", TestLevel.EXECUTION) | |
| Basic tests, ie, tests that all targets are supposed to implement. | |
| CONCURRENT =(true, "", TestLevel.EXECUTION) | |
| Tests about concurrent execution. | |
| DOCKER =(true, "", TestLevel.EXECUTION) | |
| DOCKER_FEDERATED =(true, "docker" + File.separator + "federated", TestLevel.EXECUTION) | |
| ENCLAVE =(false, "", TestLevel.EXECUTION) | |
| Test about enclaves. | |
| FEDERATED =(true, "", TestLevel.EXECUTION) | |
| Tests about federated execution. | |
| FLEXPRET =(false, "flexpret", TestLevel.BUILD) | |
| GENERICS =(true, "", TestLevel.EXECUTION) | |
| Tests about generics. | |
| final boolean | isCommon |
| Whether we should compare coverage against other targets. | |
| final TestLevel | level |
| MODAL_MODELS =(true, "", TestLevel.EXECUTION) | |
| Tests concerning modal reactors. | |
| MULTIPORT =(true, "", TestLevel.EXECUTION) | |
| Tests about multiports and banks of reactors. | |
| NO_INLINING =(false, "", TestLevel.EXECUTION) | |
| final String | path |
| PATMOS =(false, "patmos", TestLevel.EXECUTION) | |
| PROPERTIES =(true, "", TestLevel.EXECUTION) | |
| Tests about specific target properties. | |
| SERIALIZATION =(false, "", TestLevel.EXECUTION) | |
| TARGET =(false, "", TestLevel.EXECUTION) | |
| VERIFIER =(false, "verifier", TestLevel.EXECUTION) | |
| ZEPHYR_BOARDS =(false, "zephyr" + File.separator + "boards", TestLevel.BUILD) | |
| ZEPHYR_THREADED =(false, "zephyr" + File.separator + "threaded", TestLevel.BUILD) | |
| ZEPHYR_UNTHREADED =(false, "zephyr" + File.separator + "unthreaded", TestLevel.BUILD) | |
Enumeration of test categories, used to map tests to categories.
The nearest containing directory that matches any of the categories will determine the category that the test is mapped to. Matching is case insensitive.
For example, the following files will all map to THREADED:
| org.lflang.tests.TestRegistry.TestCategory.TestCategory | ( | boolean | isCommon, |
| String | path, | ||
| TestLevel | level ) |
Create a new test category.
| String org.lflang.tests.TestRegistry.TestCategory.getHeader | ( | ) |
Return a header associated with the category.
| String org.lflang.tests.TestRegistry.TestCategory.getPath | ( | ) |
| org.lflang.tests.TestRegistry.TestCategory.ARDUINO =(false, "", TestLevel.BUILD) |
| org.lflang.tests.TestRegistry.TestCategory.BASIC =(true, "", TestLevel.EXECUTION) |
Basic tests, ie, tests that all targets are supposed to implement.
| org.lflang.tests.TestRegistry.TestCategory.CONCURRENT =(true, "", TestLevel.EXECUTION) |
Tests about concurrent execution.
| org.lflang.tests.TestRegistry.TestCategory.DOCKER =(true, "", TestLevel.EXECUTION) |
| org.lflang.tests.TestRegistry.TestCategory.DOCKER_FEDERATED =(true, "docker" + File.separator + "federated", TestLevel.EXECUTION) |
| org.lflang.tests.TestRegistry.TestCategory.ENCLAVE =(false, "", TestLevel.EXECUTION) |
Test about enclaves.
| org.lflang.tests.TestRegistry.TestCategory.FEDERATED =(true, "", TestLevel.EXECUTION) |
Tests about federated execution.
| org.lflang.tests.TestRegistry.TestCategory.FLEXPRET =(false, "flexpret", TestLevel.BUILD) |
| org.lflang.tests.TestRegistry.TestCategory.GENERICS =(true, "", TestLevel.EXECUTION) |
Tests about generics.
| final boolean org.lflang.tests.TestRegistry.TestCategory.isCommon |
Whether we should compare coverage against other targets.
| final TestLevel org.lflang.tests.TestRegistry.TestCategory.level |
| org.lflang.tests.TestRegistry.TestCategory.MODAL_MODELS =(true, "", TestLevel.EXECUTION) |
Tests concerning modal reactors.
| org.lflang.tests.TestRegistry.TestCategory.MULTIPORT =(true, "", TestLevel.EXECUTION) |
Tests about multiports and banks of reactors.
| org.lflang.tests.TestRegistry.TestCategory.NO_INLINING =(false, "", TestLevel.EXECUTION) |
| final String org.lflang.tests.TestRegistry.TestCategory.path |
| org.lflang.tests.TestRegistry.TestCategory.PATMOS =(false, "patmos", TestLevel.EXECUTION) |
| org.lflang.tests.TestRegistry.TestCategory.PROPERTIES =(true, "", TestLevel.EXECUTION) |
Tests about specific target properties.
| org.lflang.tests.TestRegistry.TestCategory.SERIALIZATION =(false, "", TestLevel.EXECUTION) |
| org.lflang.tests.TestRegistry.TestCategory.TARGET =(false, "", TestLevel.EXECUTION) |
| org.lflang.tests.TestRegistry.TestCategory.VERIFIER =(false, "verifier", TestLevel.EXECUTION) |
| org.lflang.tests.TestRegistry.TestCategory.ZEPHYR_BOARDS =(false, "zephyr" + File.separator + "boards", TestLevel.BUILD) |
| org.lflang.tests.TestRegistry.TestCategory.ZEPHYR_THREADED =(false, "zephyr" + File.separator + "threaded", TestLevel.BUILD) |
| org.lflang.tests.TestRegistry.TestCategory.ZEPHYR_UNTHREADED =(false, "zephyr" + File.separator + "unthreaded", TestLevel.BUILD) |