![]() |
lingua-franca 0.10.1
Lingua Franca code generator
|
Builder for a directory. More...
Public Member Functions | |
| TempDirBuilder | cd (String relativePath) throws IOException |
| Create a directory at the given path. | |
| TempDirChecker | check (String relativePath, Matcher<? super Path > pathMatcher) throws IOException |
| TempDirChecker | checkContentsOf (String relativePath, Matcher<? super String > contentsMatcher) throws IOException |
| Check the contents of the file match the matcher. | |
Static Public Member Functions | |
| static TempDirChecker | dirChecker (Path path) |
Builder for a directory.
Useful to create a fake LF project.
| TempDirBuilder org.lflang.cli.TestUtils.TempDirChecker.cd | ( | String | relativePath | ) | throws IOException |
Create a directory at the given path.
Return a new temp dir builder for that subdir.
| TempDirChecker org.lflang.cli.TestUtils.TempDirChecker.check | ( | String | relativePath, |
| Matcher<? super Path > | pathMatcher ) throws IOException |
| TempDirChecker org.lflang.cli.TestUtils.TempDirChecker.checkContentsOf | ( | String | relativePath, |
| Matcher<? super String > | contentsMatcher ) throws IOException |
Check the contents of the file match the matcher.
The file should be a UTF-8 encoded text file. Return this instance.
|
static |