Inherits org.lflang.cli.CliToolTestFixture.
|
| ExecutionResult | run (Path wd, String... args) |
| | Run the tool with the given arguments, in the given working directory.
|
| ExecutionResult | run (String... args) |
| | Run the tool with the given arguments, in the system working directory.
|
|
| void | runCliProgram (Io io, String[] args) |
| | Override to call the relevant main.
|
|
| record | ExecutionResult (ByteArrayOutputStream out, ByteArrayOutputStream err, int exitCode) |
| | The result of an execution of a CLI program like LFC.
|
◆ ExecutionResult()
| record org.lflang.cli.CliToolTestFixture.ExecutionResult |
( |
ByteArrayOutputStream | out, |
|
|
ByteArrayOutputStream | err, |
|
|
int | exitCode ) |
|
packageinherited |
The result of an execution of a CLI program like LFC.
- Parameters
-
| out | Output stream |
| err | Error stream |
| exitCode | Exit code of the process |
Use this method to wrap assertions.
◆ run() [1/2]
| ExecutionResult org.lflang.cli.CliToolTestFixture.run |
( |
Path | wd, |
|
|
String... | args ) |
|
inherited |
Run the tool with the given arguments, in the given working directory.
- Parameters
-
| wd | working directory |
| args | Arguments |
- Returns
- The execution result
◆ run() [2/2]
Run the tool with the given arguments, in the system working directory.
- Parameters
-
- Returns
- The execution result
◆ runCliProgram()
| void org.lflang.cli.LfdCliTest.LfdTestFixture.runCliProgram |
( |
Io | io, |
|
|
String[] | args ) |
|
protected |
The documentation for this class was generated from the following file:
- /Users/runner/work/lingua-franca/lingua-franca/cli/lfd/src/test/java/org/lflang/cli/LfdCliTest.java