Changed resources path in TestCodegen after merge

This commit is contained in:
luca9913 2023-06-27 19:14:28 +02:00
parent aed1d3848b
commit 994a1571b7

View File

@ -37,7 +37,7 @@ public class TestCodegen {
}
public static Map<String, ? extends Class<?>> generateClassFiles(IByteArrayClassLoader classLoader, String... files) throws IOException, ClassNotFoundException {
var path = Path.of(System.getProperty("user.dir"), "src/test/resources/javFiles/");
var path = Path.of(System.getProperty("user.dir"), "resources/bytecode/javFiles/");
var filenames = Arrays.stream(files).map(filename -> Path.of(path.toString(), filename).toFile()).toList();
var compiler = new JavaTXCompiler(filenames, List.of(path.toFile(), outputPath.toFile()));
var resultSet = compiler.typeInference();