void () { Module m = addModule("m", createFile("src/AB.java", "class A{} class B{}").getParent()); Artifact a = addArtifact(root().module(m)); make(a); deleteFileInOutput(a, "A.class"); deleteFileInOutput(a, "B.class"); deleteFileInOutput(m, "A.class"); assertOutput(a, fs()); assertOutput(m, fs().file("B.class")); recompile(a); assertOutput(a, fs().file("B.class")); assertOutput(m, fs().file("B.class")); }