Search in sources :

Example 1 with ProjectSettingsFactory

use of org.sonar.ce.settings.ProjectSettingsFactory in project sonarqube by SonarSource.

the class SettingsRepositoryTest method createDao.

@Before
public void createDao() {
    globalSettings = new MapSettings();
    session = dbClient.openSession(false);
    underTest = new SettingsRepositoryImpl(new ProjectSettingsFactory(globalSettings, dbClient));
}
Also used : MapSettings(org.sonar.api.config.MapSettings) ProjectSettingsFactory(org.sonar.ce.settings.ProjectSettingsFactory) Before(org.junit.Before)

Aggregations

Before (org.junit.Before)1 MapSettings (org.sonar.api.config.MapSettings)1 ProjectSettingsFactory (org.sonar.ce.settings.ProjectSettingsFactory)1