final String dirPath = FileUtil.toSystemDependentName(HaxeTestUtils.BASE_TEST_DATA_PATH + "/rootDetection/") + getTestName(true);
final File dir = new File(dirPath);
assertTrue(dir.isDirectory());
final HaxeProjectStructureDetector haxeProjectStructureDetector = new HaxeProjectStructureDetector();
final ProjectStructureDetector[] detector = new ProjectStructureDetector[]{haxeProjectStructureDetector};
final RootDetectionProcessor detectionProcessor = new RootDetectionProcessor(
dir,detector
);
// TODO:
final List<DetectedProjectRoot> detected;//= detectionProcessor.findRoots().get(haxeProjectStructureDetector);
Map<ProjectStructureDetector, List<DetectedProjectRoot>> detectorListMap = detectionProcessor.runDetectors();
detected = detectorListMap.get(haxeProjectStructureDetector);
assertNotNull(detected);
final Set<String> actual = new THashSet<String>();
for (DetectedProjectRoot projectRoot : detected) {
final String relativePath = FileUtil.getRelativePath(dir, projectRoot.getDirectory());