aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/test/java
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2012-11-21 13:37:45 +0100
committerSimon Brandhof <simon.brandhof@gmail.com>2012-11-21 13:49:22 +0100
commit2f2699e356f1a653148d552c56a730c2af0025fe (patch)
treeee9f98c7a4fb4c6da204fe91718ce526fa9e91a6 /sonar-core/src/test/java
parentaaa127f45f9e6d499ee9b32b400fdfb046e0a0d7 (diff)
downloadsonarqube-2f2699e356f1a653148d552c56a730c2af0025fe.tar.gz
sonarqube-2f2699e356f1a653148d552c56a730c2af0025fe.zip
SONAR-3825 new page for measure filters
Diffstat (limited to 'sonar-core/src/test/java')
-rw-r--r--sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDecoderTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDecoderTest.java b/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDecoderTest.java
index 3dedb2d09a1..ce7ed550464 100644
--- a/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDecoderTest.java
+++ b/sonar-core/src/test/java/org/sonar/core/measure/MeasureFilterDecoderTest.java
@@ -62,9 +62,9 @@ public class MeasureFilterDecoderTest {
assertThat(filter.getBaseResourceKey()).isEqualTo("org.struts");
assertThat(filter.isOnBaseResourceChildren()).isTrue();
- assertThat(filter.getResourceScopes()).containsExactly("PRJ");
- assertThat(filter.getResourceQualifiers()).containsExactly("TRK", "CLA");
- assertThat(filter.getResourceLanguages()).containsExactly("java", "php");
+ assertThat(filter.getResourceScopes()).containsOnly("PRJ");
+ assertThat(filter.getResourceQualifiers()).containsOnly("TRK", "CLA");
+ assertThat(filter.getResourceLanguages()).containsOnly("java", "php");
assertThat(filter.getResourceName()).isEqualTo("Struts");
assertThat(filter.getResourceKeyRegexp()).isEqualTo("*foo*");
assertThat(filter.getFromDate().getYear()).isEqualTo(2012 - 1900);