void () { VirtualFile file = createFile("src/A.java", "class A{}"); Module module = addModule("a", file.getParent()); VirtualFile out = createChildDirectory(file.getParent().getParent(), "module-out"); PsiTestUtil.addContentRoot(module, out); PsiTestUtil.setCompilerOutputPath(module, out.getUrl(), false); Artifact a = addArtifact(root().module(module)); make(a); assertOutput(a, fs().file("A.class")); make(a).assertUpToDate(); changeFile(file, "class A{int a;}"); make(a); assertOutput(a, fs().file("A.class")); make(a).assertUpToDate(); }