void () { final VirtualFile file = createFile("src/A.java", "public class A {}"); final Module module = addModule("a", file.getParent()); Artifact a = addArtifact(root().module(module)); make(module); make(a); assertOutput(a, fs().file("A.class")); VirtualFile file2 = createFile("src/B.java", "public class B{}"); make(module); make(a); assertOutput(a, fs().file("A.class").file("B.class")); deleteFile(file2); make(module); make(a); assertOutput(a, fs().file("A.class")); }