aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-scanner-engine/src/test/java
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2017-08-04 15:33:05 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2017-08-07 11:44:06 +0200
commita0f2105b46566f5bea0da5915e923fc20fd31eda (patch)
tree3fab12c4f0babf2dda61f2c3c65348dcbf6fbf97 /sonar-scanner-engine/src/test/java
parentc9212b7924101f9c4c54bf12efb46df5724d77eb (diff)
downloadsonarqube-a0f2105b46566f5bea0da5915e923fc20fd31eda.tar.gz
sonarqube-a0f2105b46566f5bea0da5915e923fc20fd31eda.zip
SONAR-9576 More simple predicate to skip default status filter
Diffstat (limited to 'sonar-scanner-engine/src/test/java')
-rw-r--r--sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/filesystem/SameInputFilePredicateTest.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/filesystem/SameInputFilePredicateTest.java b/sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/filesystem/SameInputFilePredicateTest.java
index 049f576d84d..0597befba70 100644
--- a/sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/filesystem/SameInputFilePredicateTest.java
+++ b/sonar-scanner-engine/src/test/java/org/sonar/scanner/scan/filesystem/SameInputFilePredicateTest.java
@@ -46,6 +46,7 @@ public class SameInputFilePredicateTest {
public void testHasExplicitFilterOnStatus() {
assertThat(SameInputFilePredicate.hasExplicitFilterOnStatus(predicates.all())).isFalse();
assertThat(SameInputFilePredicate.hasExplicitFilterOnStatus(predicates.hasStatus(InputFile.Status.ADDED))).isTrue();
+ assertThat(SameInputFilePredicate.hasExplicitFilterOnStatus(predicates.hasAnyStatus())).isTrue();
assertThat(SameInputFilePredicate.hasExplicitFilterOnStatus(predicates.and(predicates.all(), predicates.hasStatus(InputFile.Status.ADDED)))).isTrue();
}
}