diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-09 18:11:08 +0100 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2015-11-09 18:11:08 +0100 |
commit | 5a8d95da69a698a82faa01e7b396e33de61d4975 (patch) | |
tree | b56e26f30a5ae5c20189d1f02224c9ddfb9e0711 /src/test/resources | |
parent | 7b31d816877f1ce5126079cc642b915c7d4dbc88 (diff) | |
download | sonar-scanner-cli-5a8d95da69a698a82faa01e7b396e33de61d4975.tar.gz sonar-scanner-cli-5a8d95da69a698a82faa01e7b396e33de61d4975.zip |
Extract SonarQube Scanner as a separate project
Diffstat (limited to 'src/test/resources')
20 files changed, 39 insertions, 0 deletions
diff --git a/src/test/resources/org/sonar/runner/ConfTest/emptyModules/project/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/emptyModules/project/sonar-project.properties new file mode 100644 index 0000000..708db4c --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/emptyModules/project/sonar-project.properties @@ -0,0 +1 @@ +sonar.modules= diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadCompleteConfiguration/project/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadCompleteConfiguration/project/sonar-project.properties new file mode 100644 index 0000000..0d1e025 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadCompleteConfiguration/project/sonar-project.properties @@ -0,0 +1,4 @@ +project.prop=foo + +# overridden property +overridden.prop=project scope
\ No newline at end of file diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties new file mode 100644 index 0000000..7edfb99 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties @@ -0,0 +1,2 @@ +overridden.prop=runner scope +global.prop=jdbc:mysql:localhost/sonar diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/module1/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/module1/sonar-project.properties new file mode 100644 index 0000000..6803263 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/module1/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectName=Module 1 diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/module2/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/module2/sonar-project.properties new file mode 100644 index 0000000..c12fad8 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/module2/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectName=Module 2 diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/sonar-project.properties new file mode 100644 index 0000000..835124c --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfiguration/project/sonar-project.properties @@ -0,0 +1 @@ +sonar.modules=module1,module2 diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module2.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module2.properties new file mode 100644 index 0000000..4df820c --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module2.properties @@ -0,0 +1,2 @@ +sonar.projectName=Module 2 +sonar.projectBaseDir=module_2 diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_1/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_1/sonar-project.properties new file mode 100644 index 0000000..6803263 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_1/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectName=Module 1 diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_2/Sample.js b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_2/Sample.js new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_2/Sample.js diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_3/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_3/sonar-project.properties new file mode 100644 index 0000000..c074231 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/module_3/sonar-project.properties @@ -0,0 +1 @@ +sonar.projectName=Module 3 diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/sonar-project.properties new file mode 100644 index 0000000..999b04c --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadModuleConfigurationOverrideBasedir/project/sonar-project.properties @@ -0,0 +1,4 @@ +sonar.modules=module1,module2,module3 +module1.sonar.projectBaseDir=module_1 +module2.sonar.projectConfigFile=module2.properties +module3.sonar.projectConfigFile=module_3/sonar-project.properties diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties new file mode 100644 index 0000000..33dc79b --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties @@ -0,0 +1 @@ +sonar.prop=otherValue diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties new file mode 100644 index 0000000..1e03622 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties @@ -0,0 +1,2 @@ +sonar.prop=value +sonar.jdbc.url=jdbc:mysql:localhost/sonar diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module11/module111/placeholder.txt b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module11/module111/placeholder.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module11/module111/placeholder.txt diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module11/module112/placeholder.txt b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module11/module112/placeholder.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module11/module112/placeholder.txt diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module12/placeholder.txt b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module12/placeholder.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module1/module12/placeholder.txt diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module2/module21/placeholder.txt b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module2/module21/placeholder.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module2/module21/placeholder.txt diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module2/module22/placeholder.txt b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module2/module22/placeholder.txt new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/module2/module22/placeholder.txt diff --git a/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/sonar-project.properties b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/sonar-project.properties new file mode 100644 index 0000000..56eb032 --- /dev/null +++ b/src/test/resources/org/sonar/runner/ConfTest/shouldSupportDeepModuleConfigurationInRoot/project/sonar-project.properties @@ -0,0 +1,17 @@ +sonar.modules=1,2 +1.sonar.projectName=Module 1 +1.sonar.projectBaseDir=module1 +1.sonar.modules=11,12 +1.11.sonar.projectBaseDir=module11 +1.11.sonar.projectName=Module 11 +1.11.sonar.modules=111,112 +1.11.111.sonar.projectBaseDir=module111 +1.11.111.sonar.projectName=Module 111 +1.11.112.sonar.projectBaseDir=module112 +1.11.112.sonar.projectName=Module 112 + +1.12.sonar.projectBaseDir=module12 +1.12.sonar.projectName=Module 12 + +2.sonar.projectName=Module 2 +2.sonar.projectBaseDir=module2
\ No newline at end of file diff --git a/src/test/resources/org/sonar/runner/RunnerTest/shouldInitDirs/fake.txt b/src/test/resources/org/sonar/runner/RunnerTest/shouldInitDirs/fake.txt new file mode 100644 index 0000000..f0f877c --- /dev/null +++ b/src/test/resources/org/sonar/runner/RunnerTest/shouldInitDirs/fake.txt @@ -0,0 +1 @@ +fake
\ No newline at end of file |