void () { String file = createFile("src/A.java", "class A{}"); JpsModule m = addModule("m", PathUtil.getParentPath(file)); JpsArtifact a = addArtifact(root().module(m)); buildArtifacts(a); createFileInModuleOutput(m, "b.txt"); assertOutput(m, fs().file("A.class").file("b.txt")); rebuildAllModulesAndArtifacts(); assertOutput(m, fs().file("A.class")); }