Package org.sonar.batch.bootstrapper

Examples of org.sonar.batch.bootstrapper.EnvironmentInformation


    taskContainer.installCoreTasks();

    assertThat(taskContainer.getComponentByType(ProjectReactorBuilder.class)).isNotNull().isInstanceOf(ProjectReactorBuilder.class);

    container = BootstrapContainer.create(Collections.<String, String>emptyMap(),
      Lists.newArrayList(new BootstrapProperties(Collections.<String, String>emptyMap()), new EnvironmentInformation("SonarQubeRunner", "2.4")));
    taskContainer = new TaskContainer(container, Collections.<String, String>emptyMap());
    taskContainer.installCoreTasks();

    assertThat(taskContainer.getComponentByType(ProjectReactorBuilder.class)).isNotNull().isInstanceOf(ProjectReactorBuilder.class);
  }
View Full Code Here


  }

  @Test
  public void should_add_deprecated_project_reactor_builder_if_old_runner() {
    BootstrapContainer container = BootstrapContainer.create(Collections.<String, String>emptyMap(),
      Lists.newArrayList(new BootstrapProperties(Collections.<String, String>emptyMap()), new EnvironmentInformation("SonarRunner", "2.3")));
    TaskContainer taskContainer = new TaskContainer(container, Collections.<String, String>emptyMap());
    taskContainer.installCoreTasks();

    assertThat(taskContainer.getComponentByType(DeprecatedProjectReactorBuilder.class)).isNotNull().isInstanceOf(DeprecatedProjectReactorBuilder.class);
  }
View Full Code Here

TOP

Related Classes of org.sonar.batch.bootstrapper.EnvironmentInformation

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.