use of limelight.io.FileSystem in project limelight by slagyr.
the class TestRunner method loadClassNames.
private static String[] loadClassNames() {
final FileSystem fs = new FileSystem();
if (!fs.exists(".testClasses"))
throw new RuntimeException(".testClasses file is missing");
final String classesContent = fs.readTextFile(".testClasses");
return classesContent.split("(\r\n|\n)");
}
use of limelight.io.FileSystem in project limelight by slagyr.
the class BootTest method configuringFileSystem.
@Test
public void configuringFileSystem() throws Exception {
FileSystem fs = new FakeFileSystem();
Boot.configureContext(Boot.defaultOptions.merge("file-system", fs), context);
assertSame(fs, Context.fs());
}
Aggregations