use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class EmailsWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new EmailsWsModule().configure(container);
assertThat(container.size()).isEqualTo(2 + 2);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class FavoriteModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new FavoriteModule().configure(container);
assertThat(container.size()).isEqualTo(7 + 2);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class IssueWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new IssueWsModule().configure(container);
assertThat(container.size()).isEqualTo(2 + 29);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class CustomMeasuresWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new CustomMeasuresWsModule().configure(container);
assertThat(container.size()).isEqualTo(10);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class MetricsWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new MetricsWsModule().configure(container);
assertThat(container.size()).isEqualTo(9);
}
Aggregations