Examples of 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

Examples of org.sonar.batch.phases.Phases

    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
Copyright © 2018 www.massapi.com. 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.