aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/test/resources/org/sonar/batch
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2015-09-25 11:02:12 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2015-09-25 14:08:48 +0200
commit2e24cfd57b9ffa406a95018f23bc5034567a761a (patch)
tree24ad11fd140be1d215657ea78088552353eac391 /sonar-batch/src/test/resources/org/sonar/batch
parent6571831760ff04b098cdf8e6177fa4fff6f9fb11 (diff)
downloadsonarqube-2e24cfd57b9ffa406a95018f23bc5034567a761a.tar.gz
sonarqube-2e24cfd57b9ffa406a95018f23bc5034567a761a.zip
SONAR-6665 Fix StackOverflow error when analyzing project with several modules having same key
Diffstat (limited to 'sonar-batch/src/test/resources/org/sonar/batch')
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-duplicate-id/sonar-project.properties12
-rw-r--r--sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-repeated-id/sonar-project.properties2
2 files changed, 12 insertions, 2 deletions
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-duplicate-id/sonar-project.properties b/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-duplicate-id/sonar-project.properties
new file mode 100644
index 00000000000..0a971805d13
--- /dev/null
+++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-duplicate-id/sonar-project.properties
@@ -0,0 +1,12 @@
+sonar.projectKey=com.foo.project
+sonar.projectName=Foo Project
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.projectDescription=Description of Foo Project
+
+sonar.sources=sources
+sonar.tests=tests
+sonar.binaries=target/classes
+
+sonar.modules=module1,module1
+
+module1.sonar.sources=src
diff --git a/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-repeated-id/sonar-project.properties b/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-repeated-id/sonar-project.properties
index b1816be030b..e63d3da926c 100644
--- a/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-repeated-id/sonar-project.properties
+++ b/sonar-batch/src/test/resources/org/sonar/batch/scan/ProjectReactorBuilderTest/multi-module-repeated-id/sonar-project.properties
@@ -10,10 +10,8 @@ sonar.binaries=target/classes
sonar.modules=module1
module1.sonar.projectBaseDir=modules/module1
-module1.sonar.projectKey=com.foo.project.module1
module1.sonar.projectName=Foo Module 1
module1.sonar.modules=module1
module1.module1.sonar.projectBaseDir=module1
-module1.module1.sonar.projectKey=com.foo.project.module1.module1
module1.module1.sonar.projectName=Foo Sub Module 1