use of org.sonar.server.qualityprofile.QProfileName in project sonarqube by SonarSource.
the class CompareActionMediumTest method createProfile.
private QualityProfileDto createProfile(String lang, String name, String key) {
QualityProfileDto profile = QProfileTesting.newQProfileDto("org-123", new QProfileName(lang, name), key);
db.qualityProfileDao().insert(session, profile);
session.commit();
return profile;
}
use of org.sonar.server.qualityprofile.QProfileName in project sonarqube by SonarSource.
the class ChangeParentActionMediumTest method createProfile.
private QualityProfileDto createProfile(String lang, String name) {
QualityProfileDto profile = QProfileTesting.newQProfileDto("org-123", new QProfileName(lang, name), "p" + lang + "-" + name.toLowerCase());
db.qualityProfileDao().insert(session, profile);
return profile;
}
use of org.sonar.server.qualityprofile.QProfileName in project sonarqube by SonarSource.
the class InheritanceActionMediumTest method createProfile.
private QualityProfileDto createProfile(String lang, String name, String key) {
QualityProfileDto profile = QProfileTesting.newQProfileDto("org-123", new QProfileName(lang, name), key);
db.qualityProfileDao().insert(session, profile);
session.commit();
return profile;
}
use of org.sonar.server.qualityprofile.QProfileName in project sonarqube by SonarSource.
the class QProfilesWsMediumTest method createProfile.
private QualityProfileDto createProfile(String lang) {
QualityProfileDto profile = QProfileTesting.newQProfileDto("org-123", new QProfileName(lang, "P" + lang), "p" + lang);
db.qualityProfileDao().insert(session, profile);
return profile;
}
Aggregations