aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-plugin-api/src/test/java/org/sonar/api
diff options
context:
space:
mode:
authorBenoƮt Gianinetti <benoit.gianinetti@sonarsource.com>2019-01-09 15:36:13 +0100
committerSonarTech <sonartech@sonarsource.com>2019-01-22 20:21:01 +0100
commitd666593ada6756a990e7b50b35e765f45e684703 (patch)
tree2ecf0238e5c2f42503bf2de3a52e41c9aeb21c92 /sonar-plugin-api/src/test/java/org/sonar/api
parentbb78029124fc2f082a30ba6aa18a84c105a0d80e (diff)
downloadsonarqube-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.java6
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();
+ }
}