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

Tests for checking that target properties adequately translate into the target configuration. More...

Public Member Functions

void testFederation (@TempDir Path tempDir) throws Exception
 Check that when a federation has the "tracing" target property set, the generated federates will also have it set.
void testParsing () throws Exception
 Check that tracing target property affects the target configuration.

Package Attributes

JavaIoFileSystemAccess fileAccess
LFGenerator generator
ParseHelper< Model > parser
Provider< ResourceSet > resourceSetProvider

Detailed Description

Tests for checking that target properties adequately translate into the target configuration.

Member Function Documentation

◆ testFederation()

void org.lflang.tests.compiler.TargetConfigTests.testFederation ( @TempDir Path tempDir) throws Exception

Check that when a federation has the "tracing" target property set, the generated federates will also have it set.

Exceptions
Exception

◆ testParsing()

void org.lflang.tests.compiler.TargetConfigTests.testParsing ( ) throws Exception

Check that tracing target property affects the target configuration.

Exceptions
Exception

Member Data Documentation

◆ fileAccess

JavaIoFileSystemAccess org.lflang.tests.compiler.TargetConfigTests.fileAccess
package

◆ generator

LFGenerator org.lflang.tests.compiler.TargetConfigTests.generator
package

◆ parser

ParseHelper<Model> org.lflang.tests.compiler.TargetConfigTests.parser
package

◆ resourceSetProvider

Provider<ResourceSet> org.lflang.tests.compiler.TargetConfigTests.resourceSetProvider
package

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