aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2010-12-15 10:59:45 +0000
committersimonbrandhof <simon.brandhof@gmail.com>2010-12-15 10:59:45 +0000
commit08dd37963702aae4122387a37874dbcb6e4f1912 (patch)
tree3f750224d707d84883549ba80ae2ad4566ce35a6 /tests
parentc7ca493dc4aed0aa2e49b31c00a477d37b73dcca (diff)
downloadsonarqube-08dd37963702aae4122387a37874dbcb6e4f1912.tar.gz
sonarqube-08dd37963702aae4122387a37874dbcb6e4f1912.zip
fix IT
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/tests/src/it/integration-tests-backup.xml1
-rw-r--r--tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java2
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/integration/tests/src/it/integration-tests-backup.xml b/tests/integration/tests/src/it/integration-tests-backup.xml
index 075015591cd..820563ab954 100644
--- a/tests/integration/tests/src/it/integration-tests-backup.xml
+++ b/tests/integration/tests/src/it/integration-tests-backup.xml
@@ -2019,6 +2019,7 @@
<level><![CDATA[MINOR]]></level>
</active-rule>
</active-rules>
+ <alerts/>
</profile>
</profiles>
</sonar-config>
diff --git a/tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java b/tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java
index 12e08db2c1d..aa6cc2e20e6 100644
--- a/tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java
+++ b/tests/integration/tests/src/it/java/org/sonar/tests/integration/Struts139Test.java
@@ -76,7 +76,7 @@ public class Struts139Test {
assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_KEY).getValue(), closeTo(7726.0, 500.0));
assertThat(getProjectMeasure(CoreMetrics.BLOCKER_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
assertThat(getProjectMeasure(CoreMetrics.CRITICAL_VIOLATIONS_KEY).getValue(), closeTo(0.0, 20.0));
- assertThat(getProjectMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(2569.0, 200.0));
+ assertThat(getProjectMeasure(CoreMetrics.MAJOR_VIOLATIONS_KEY).getValue(), closeTo(2889.0, 200.0));
assertThat(getProjectMeasure(CoreMetrics.MINOR_VIOLATIONS_KEY).getValue(), closeTo(0.0, 200.0));
assertThat(getProjectMeasure(CoreMetrics.INFO_VIOLATIONS_KEY).getValue(), closeTo(5157.0, 20.0));
assertThat(getProjectMeasure(CoreMetrics.VIOLATIONS_DENSITY_KEY).getValue(), closeTo(84.6, 5.0));