aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-application/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-25 23:41:41 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2014-09-25 23:41:41 +0200
commitea1ac3789b9128e394284d82dfeaeab32dd441d8 (patch)
tree3e141637f0f072b113ac54b2e04735f43a2e3c35 /sonar-application/src
parent9654662b48c918b55383846c6575b7f809437108 (diff)
downloadsonarqube-ea1ac3789b9128e394284d82dfeaeab32dd441d8.tar.gz
sonarqube-ea1ac3789b9128e394284d82dfeaeab32dd441d8.zip
SONAR-4898 add missing tests
Diffstat (limited to 'sonar-application/src')
-rw-r--r--sonar-application/src/test/java/org/sonar/application/DefaultSettingsTest.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/sonar-application/src/test/java/org/sonar/application/DefaultSettingsTest.java b/sonar-application/src/test/java/org/sonar/application/DefaultSettingsTest.java
index 11bcb2f5631..49a66bc590c 100644
--- a/sonar-application/src/test/java/org/sonar/application/DefaultSettingsTest.java
+++ b/sonar-application/src/test/java/org/sonar/application/DefaultSettingsTest.java
@@ -21,6 +21,7 @@ package org.sonar.application;
import org.junit.Test;
import org.sonar.process.Props;
+import org.sonar.test.TestUtils;
import java.util.Properties;
@@ -56,4 +57,9 @@ public class DefaultSettingsTest {
DefaultSettings.init(props);
assertThat(props.valueAsInt("sonar.search.port")).isGreaterThan(0);
}
+
+ @Test
+ public void private_constructor() throws Exception {
+ TestUtils.assertPrivateConstructor(DefaultSettings.class);
+ }
}