Tests schreiben in src/test Ordner #284
Labels
No Label
Codegen
confirmed
duplicate
Eclipse-Plugin
Feature Request
generics
in progress
invalid
JavaCompilerCore
needs info
Parser
Trash
Type
Unify
won't fix
works for me
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: JavaTX/JavaCompilerCore#284
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
was bei mehrmaliger Ausführung der Tests dann zu Fehlern führt, da das surefireplugin dann versucht die generierten Dateien auszuführen.
Probleme sind beispielsweise in den Dateien:
src/test/java/targetast/TestGenerics.java
src/test/java/targetast/TestCodegen.java
src/test/java/targetast/ASTToTypedTargetAST.java
src/test/java/typeinference/JavaTXCompilerTest.java
Vorschlag:
rootDirectory = System.getProperty("user.dir") + "/src/test/resources/javFiles/"
ändern zu einem temporären Ordner:
rootDirectory = Files.createTempDirectory("tmpDirPrefix").toFile().getAbsolutePath();