Package org.sonar.batch.phases

Examples of org.sonar.batch.phases.Phases


  }

  // Add components specific to project scan (views will use different ones)
  void scan(ComponentContainer scanContainer) {
    scanContainer.add(
      new Phases().enable(Phases.Phase.values()),
      DefaultProjectTree.class,
      ProjectExclusions.class,
      ProjectReactorValidator.class,
      ProjectReactorReady.class,
      DefaultSensorMatcher.class);
View Full Code Here


    projectScanContainer.add(mock(ProjectConfigurator.class), new ProjectReactor(ProjectDefinition.create().setProperty(CoreProperties.PROJECT_KEY_PROPERTY, "foo")),
      mock(Settings.class),
      mock(ResourceDao.class));
    task.scan(projectScanContainer);

    Phases phases = projectScanContainer.getComponentByType(Phases.class);
    assertThat(phases.isFullyEnabled()).isTrue();
  }
View Full Code Here

TOP

Related Classes of org.sonar.batch.phases.Phases

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.