boolean (@NotNull VirtualFile fileOrDir) { WorkspaceFileSet fileSet = myWorkspaceFileIndex.findFileSetWithCustomData(fileOrDir, true, true, false, false, false, ModuleSourceRootData.class); return fileSet != null && fileSet.getKind() == WorkspaceFileKind.TEST_CONTENT; }