aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/resources/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-06-24 16:56:40 +0000
committerSimon Brandhof <simon.brandhof@gmail.com>2011-06-24 16:56:40 +0000
commit9132e3292b142d7dbb5d89cb1973d9e09628bffe (patch)
tree9c7f82894cfbcae576706aa93ac4d51640982616 /src/test/resources/org
parent1cff17644140587b582d079b1edfeeba59f2daef (diff)
downloadsonar-scanner-cli-9132e3292b142d7dbb5d89cb1973d9e09628bffe.tar.gz
sonar-scanner-cli-9132e3292b142d7dbb5d89cb1973d9e09628bffe.zip
SONARPLUGINS-1220 Runner home must be optional
Diffstat (limited to 'src/test/resources/org')
-rw-r--r--src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/project/sonar-project.properties4
-rw-r--r--src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties2
-rw-r--r--src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties1
-rw-r--r--src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties2
-rw-r--r--src/test/resources/org/sonar/runner/RunnerTest/shouldInitDirs/fake.txt1
5 files changed, 10 insertions, 0 deletions
diff --git a/src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/project/sonar-project.properties b/src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/project/sonar-project.properties
new file mode 100644
index 0000000..d9ed633
--- /dev/null
+++ b/src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/project/sonar-project.properties
@@ -0,0 +1,4 @@
+project.key=foo
+
+# overridden property
+sonar.host.url=http://overridden/sonar \ No newline at end of file
diff --git a/src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties b/src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties
new file mode 100644
index 0000000..0f6524d
--- /dev/null
+++ b/src/test/resources/org/sonar/runner/MainTest/shouldLoadCompleteConfiguration/runner/conf/sonar-runner.properties
@@ -0,0 +1,2 @@
+sonar.host.url=http://localhost/sonar
+sonar.jdbc.url=jdbc:mysql:localhost/sonar
diff --git a/src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties b/src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties
new file mode 100644
index 0000000..740a616
--- /dev/null
+++ b/src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByDirectPath/other-conf.properties
@@ -0,0 +1 @@
+sonar.host.url=http://other/sonar \ No newline at end of file
diff --git a/src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties b/src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties
new file mode 100644
index 0000000..e7d5c09
--- /dev/null
+++ b/src/test/resources/org/sonar/runner/MainTest/shouldLoadRunnerSettingsByHome/conf/sonar-runner.properties
@@ -0,0 +1,2 @@
+sonar.host.url=http://moon/sonar
+sonar.jdbc.url=jdbc:mysql:localhost/sonar \ 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