diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2017-08-04 15:33:05 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2017-08-07 11:44:06 +0200 |
commit | a0f2105b46566f5bea0da5915e923fc20fd31eda (patch) | |
tree | 3fab12c4f0babf2dda61f2c3c65348dcbf6fbf97 /sonar-scanner-engine/src/test/java | |
parent | c9212b7924101f9c4c54bf12efb46df5724d77eb (diff) | |
download | sonarqube-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.java | 1 |
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(); } } |