diff options
author | Matteo Mara <matteo.mara@sonarsource.com> | 2023-12-15 14:31:39 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2024-01-04 20:02:48 +0000 |
commit | f8465c0d33ceb835c92f0b24e7842ba96c7604e0 (patch) | |
tree | e6b4bf5fec92c471e7510ee92b003fbc49dc24fa /sonar-scanner-engine/test-resources | |
parent | aec0c95e903db2ab7fdc3dfc6e90421e6342a277 (diff) | |
download | sonarqube-f8465c0d33ceb835c92f0b24e7842ba96c7604e0.tar.gz sonarqube-f8465c0d33ceb835c92f0b24e7842ba96c7604e0.zip |
SONAR-21195 Refactor file indexing into two distinct steps
Diffstat (limited to 'sonar-scanner-engine/test-resources')
4 files changed, 15 insertions, 0 deletions
diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/sonar-project.properties b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/sonar-project.properties new file mode 100644 index 00000000000..57c2c062b0e --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/sonar-project.properties @@ -0,0 +1,5 @@ +sonar.organization=org1 +sonar.projectKey=sample-with-empty-file +sonar.projectName=Sample With Empty +sonar.projectVersion=0.1-SNAPSHOT +sonar.sources=xources diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/HelloJava.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/HelloJava.xoo new file mode 100644 index 00000000000..ee9bf789a53 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/HelloJava.xoo @@ -0,0 +1,8 @@ +package hello; + +public class HelloJava { + + public static void main(String[] args) { + System.out.println("Hello"); + } +} diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/xoo_exclude.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/xoo_exclude.xoo new file mode 100644 index 00000000000..35965a8484c --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/xoo_exclude.xoo @@ -0,0 +1 @@ +this file should be excluded from indexing. diff --git a/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/xoo_exclude2.xoo b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/xoo_exclude2.xoo new file mode 100644 index 00000000000..d04e465a561 --- /dev/null +++ b/sonar-scanner-engine/test-resources/mediumtest/xoo/sample-with-input-file-filters/xources/hello/xoo_exclude2.xoo @@ -0,0 +1 @@ +this file should ALSO be excluded from indexing. |