diff options
author | BenoƮt Gianinetti <benoit.gianinetti@sonarsource.com> | 2019-01-09 15:36:13 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-01-22 20:21:01 +0100 |
commit | d666593ada6756a990e7b50b35e765f45e684703 (patch) | |
tree | 2ecf0238e5c2f42503bf2de3a52e41c9aeb21c92 /sonar-plugin-api/src/test/java/org/sonar/api | |
parent | bb78029124fc2f082a30ba6aa18a84c105a0d80e (diff) | |
download | sonarqube-d666593ada6756a990e7b50b35e765f45e684703.tar.gz sonarqube-d666593ada6756a990e7b50b35e765f45e684703.zip |
SONAR-11620 Add scm based file exclusion method to plugin api
Diffstat (limited to 'sonar-plugin-api/src/test/java/org/sonar/api')
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/batch/scm/ScmProviderTest.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sonar-plugin-api/src/test/java/org/sonar/api/batch/scm/ScmProviderTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/batch/scm/ScmProviderTest.java index 123cb457803..ff18273c885 100644 --- a/sonar-plugin-api/src/test/java/org/sonar/api/batch/scm/ScmProviderTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/batch/scm/ScmProviderTest.java @@ -57,4 +57,10 @@ public class ScmProviderTest { thrown.expect(UnsupportedOperationException.class); provider.revisionId(Paths.get("foo")); } + + @Test + public void default_implementation_does_not_support_ignore() { + thrown.expect(UnsupportedOperationException.class); + provider.ignoreCommand(); + } } |