isTestFolder = testPattern != null && testPattern.length() > 0 && path.matches(testPattern);
}
catch (PatternSyntaxException e) {
isTestFolder = false;
}
<BUG>final EclipseProjectFinder.LinkedResource linkedResource = EclipseProjectFinder.findLinkedResource(myRootPath, path);
if (linkedResource != null) {
if (linkedResource.containsPathVariable()) {
usedVariables.add(linkedResource.getVariableName());
}
srcUrl = VfsUtil.pathToUrl(expandLinkedPath(rootModel, linkedResource));</BUG>
eclipseModuleManager.registerEclipseLinkedSrcVarPath(srcUrl, path);

isTestFolder = testPattern != null && testPattern.length() > 0 && path.matches(testPattern);
}
catch (PatternSyntaxException e) {
isTestFolder = false;
}
final String linked = expandLinkedResourcesPath(rootModel, usedVariables, path);
if (linked != null) {
srcUrl = VfsUtil.pathToUrl(linked);
eclipseModuleManager.registerEclipseLinkedSrcVarPath(srcUrl, path);
