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

Utility to parse LF classes. More...

Public Member Functions

Model parseValidModel (String fileName, String reformattedTestCase)
 Parse the given file, asserts that there are no parsing errors.

Static Public Member Functions

static void checkValid (String fileName, Model resultingModel)

Detailed Description

Utility to parse LF classes.

Not static so that we can reuse the injector, as dependency injection takes a lot of time.

Author
Clément Fournier

Member Function Documentation

◆ checkValid()

void org.lflang.tests.LfParsingTestHelper.checkValid ( String fileName,
Model resultingModel )
static

◆ parseValidModel()

Model org.lflang.tests.LfParsingTestHelper.parseValidModel ( String fileName,
String reformattedTestCase )

Parse the given file, asserts that there are no parsing errors.


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/LfParsingTestHelper.java