first testrun of the day

This commit is contained in:
Lucas 2024-05-31 10:00:46 +02:00
parent 5a28d88f6a
commit a0e55d7b27
2 changed files with 14 additions and 1 deletions

View File

@ -21,7 +21,7 @@ public class MainTest {
void testEmptyClass() {
CharStream codeCharStream = null;
try {
codeCharStream = CharStreams.fromPath(Paths.get("src/main/test/resources/EmptyClassExample.java"));
codeCharStream = CharStreams.fromPath(Paths.get("src/main/test/resources/CompilerInput.txt"));
Main.parsefile(codeCharStream);
} catch (IOException e) {
System.err.println("Error reading the file: " + e.getMessage());

View File

@ -0,0 +1,13 @@
public class Example {
public int testVar;
public static int testMethod(char b){
int a;
int a;
}
}