use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class ProjectLinksWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new ProjectLinksModule().configure(container);
assertThat(container.size()).isEqualTo(2 + 4);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class QProfilesWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new QProfilesWsModule().configure(container);
assertThat(container.size()).isEqualTo(26 + 2);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class BatchWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new BatchWsModule().configure(container);
assertThat(container.size()).isEqualTo(10);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class CeWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new CeWsModule().configure(container);
assertThat(container.size()).isEqualTo(11 + 2);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class ComponentsWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new ComponentsWsModule().configure(container);
assertThat(container.size()).isEqualTo(COMPONENTS_IN_EMPTY_COMPONENT_CONTAINER + 9);
}
Aggregations