void () { VirtualFile a = createFile("src/A.java", "class A{}"); Module module = addModule("a", a.getParent()); make(module); assertOutput(module, fs().file("A.class")); final VirtualFile output = LocalFileSystem.getInstance().refreshAndFindFileByIoFile(getOutputDir(module)); assertNotNull(output); final VirtualFile classFile = output.findChild("A.class"); assertNotNull(classFile); deleteFile(classFile); make(module); assertOutput(module, fs()); compile(true, a); assertOutput(module, fs().file("A.class")); assertModulesUpToDate(); }