Search in sources :

Example 1 with ProjectsEsModule

use of org.sonar.server.measure.index.ProjectsEsModule in project sonarqube by SonarSource.

the class ProjectsEsModuleTest method verify_count_of_added_components.

@Test
public void verify_count_of_added_components() {
    ComponentContainer container = new ComponentContainer();
    new ProjectsEsModule().configure(container);
    assertThat(container.size()).isEqualTo(3 + 2);
}
Also used : ProjectsEsModule(org.sonar.server.measure.index.ProjectsEsModule) ComponentContainer(org.sonar.core.platform.ComponentContainer) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 ComponentContainer (org.sonar.core.platform.ComponentContainer)1 ProjectsEsModule (org.sonar.server.measure.index.ProjectsEsModule)1