use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class ServerIdWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new ServerIdWsModule().configure(container);
assertThat(container.size()).isEqualTo(3 + 2);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class NavigationWsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new NavigationWsModule().configure(container);
assertThat(container.size()).isEqualTo(COMPONENTS_IN_EMPTY_COMPONENT_CONTAINER + 5);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class TypeValidationModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new TypeValidationModule().configure(container);
assertThat(container.size()).isEqualTo(11);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class UserGroupsModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new UserGroupsModule().configure(container);
assertThat(container.size()).isEqualTo(11);
}
use of org.sonar.core.platform.ComponentContainer in project sonarqube by SonarSource.
the class UserTokenModuleTest method verify_count_of_added_components.
@Test
public void verify_count_of_added_components() {
ComponentContainer container = new ComponentContainer();
new UserTokenModule().configure(container);
assertThat(container.size()).isEqualTo(8);
}
Aggregations