diff options
author | BenoƮt Gianinetti <benoit.gianinetti@sonarsource.com> | 2019-01-14 17:45:56 +0100 |
---|---|---|
committer | SonarTech <sonartech@sonarsource.com> | 2019-01-22 20:21:02 +0100 |
commit | 33946649b9aabb705d4d3aaa90b0b23bbb5f032c (patch) | |
tree | d93b5a435cff4d08a31b206d27b174925c2f7f9c /sonar-scanner-engine/test-resources/mediumtest | |
parent | d4dc6786fb05dec7e415af2c13ba27669d26d6b0 (diff) | |
download | sonarqube-33946649b9aabb705d4d3aaa90b0b23bbb5f032c.tar.gz sonarqube-33946649b9aabb705d4d3aaa90b0b23bbb5f032c.zip |
SONAR-11621 Use scm based exclusion in scanner engine
Diffstat (limited to 'sonar-scanner-engine/test-resources/mediumtest')
7 files changed, 45 insertions, 0 deletions
diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/sonar-project.properties b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/sonar-project.properties new file mode 100644 index 00000000000..4e711d750b4 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/sonar-project.properties @@ -0,0 +1,7 @@ +sonar.projectKey=sample +sonar.projectName=Sample +sonar.projectVersion=0.1-SNAPSHOT +sonar.sources=xources +sonar.tests=testx +sonar.language=xoo +sonar.scm.provider=xoo diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassOneTest.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassOneTest.xoo new file mode 100644 index 00000000000..bd51ba68977 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassOneTest.xoo @@ -0,0 +1,11 @@ +package org.sonar.testx; + +import org.junit.Test; + +public class ClassOneTest { + + @Test + public void nothing() { + + } +} diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassTwoTest.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassTwoTest.xoo new file mode 100644 index 00000000000..56da06b2633 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassTwoTest.xoo @@ -0,0 +1,11 @@ +package org.sonar.testx; + +import org.junit.Test; + +public class ClassTwoTest { + + @Test + public void nothing() { + + } +} diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassTwoTest.xoo.ignore b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassTwoTest.xoo.ignore new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/testx/ClassTwoTest.xoo.ignore diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassOne.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassOne.xoo new file mode 100644 index 00000000000..fe9d2e54718 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassOne.xoo @@ -0,0 +1,8 @@ +package hello; + +public class ClassOne { + + public static void main(String[] args) { + System.out.println("ClassOne"); + } +} diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassTwo.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassTwo.xoo new file mode 100644 index 00000000000..e65cfedb043 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassTwo.xoo @@ -0,0 +1,8 @@ +package hello; + +public class ClassTwo { + + public static void main(String[] args) { + System.out.println("ClassTwo"); + } +} diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassTwo.xoo.ignore b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassTwo.xoo.ignore new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-ignored-file/xources/hello/ClassTwo.xoo.ignore |