Package com.intellij.ide.util.importProject

Examples of com.intellij.ide.util.importProject.RootDetectionProcessor


    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());
View Full Code Here

TOP

Related Classes of com.intellij.ide.util.importProject.RootDetectionProcessor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.