aboutsummaryrefslogtreecommitdiffstats
path: root/tests/projects
diff options
context:
space:
mode:
authorGuillaume Jambet <guillaume.jambet@sonarsource.com>2018-01-17 17:04:45 +0100
committerDuarte Meneses <duarte.meneses@sonarsource.com>2018-02-07 14:33:55 +0100
commitc48cd42b789d639549260642966e9448980eb735 (patch)
tree811bfe3c6262f29fe011ac79991213fe5c526032 /tests/projects
parent3ce06f145812421fb1ee6d00ddb613677ec3d1c0 (diff)
downloadsonarqube-c48cd42b789d639549260642966e9448980eb735.tar.gz
sonarqube-c48cd42b789d639549260642966e9448980eb735.zip
SONAR-10257 Added ITs
Diffstat (limited to 'tests/projects')
-rw-r--r--tests/projects/scm/xoo-sample-with-then-without-scm/scm-repository.zipbin0 -> 37476 bytes
-rw-r--r--tests/projects/scm/xoo-sample-with-then-without-scm/sonar-project.properties5
-rw-r--r--tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo7
-rw-r--r--tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo.new13
-rw-r--r--tests/projects/scm/xoo-sample-without-then-with-scm/scm-repository.zipbin0 -> 17704 bytes
-rw-r--r--tests/projects/scm/xoo-sample-without-then-with-scm/sonar-project.properties5
-rw-r--r--tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo7
-rw-r--r--tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.new13
-rw-r--r--tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.updated7
9 files changed, 57 insertions, 0 deletions
diff --git a/tests/projects/scm/xoo-sample-with-then-without-scm/scm-repository.zip b/tests/projects/scm/xoo-sample-with-then-without-scm/scm-repository.zip
new file mode 100644
index 00000000000..f0dada50b66
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-with-then-without-scm/scm-repository.zip
Binary files differ
diff --git a/tests/projects/scm/xoo-sample-with-then-without-scm/sonar-project.properties b/tests/projects/scm/xoo-sample-with-then-without-scm/sonar-project.properties
new file mode 100644
index 00000000000..ead950e7139
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-with-then-without-scm/sonar-project.properties
@@ -0,0 +1,5 @@
+sonar.projectKey=sample-with-then-without-scm
+sonar.projectName=Sample with then without SCM
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.sources=src/main/xoo
+sonar.language=xoo
diff --git a/tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo b/tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo
new file mode 100644
index 00000000000..4d8ceeda372
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo
@@ -0,0 +1,7 @@
+package sample;
+
+public class Sample {
+
+ private String myMethod() {
+ }
+} \ No newline at end of file
diff --git a/tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo.new b/tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo.new
new file mode 100644
index 00000000000..bed00ccc65e
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-with-then-without-scm/src/main/xoo/sample/Sample.xoo.new
@@ -0,0 +1,13 @@
+package sample;
+
+public class Sample {
+
+ private String attr;
+
+ public Sample(String attr) {
+ this.attr = attr;
+ }
+
+ private String myMethod() {
+ }
+}
diff --git a/tests/projects/scm/xoo-sample-without-then-with-scm/scm-repository.zip b/tests/projects/scm/xoo-sample-without-then-with-scm/scm-repository.zip
new file mode 100644
index 00000000000..14c35451600
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-without-then-with-scm/scm-repository.zip
Binary files differ
diff --git a/tests/projects/scm/xoo-sample-without-then-with-scm/sonar-project.properties b/tests/projects/scm/xoo-sample-without-then-with-scm/sonar-project.properties
new file mode 100644
index 00000000000..ef74a8d6a77
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-without-then-with-scm/sonar-project.properties
@@ -0,0 +1,5 @@
+sonar.projectKey=sample-without-then-with-scm
+sonar.projectName=Sample without then with SCM
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.sources=src/main/xoo
+sonar.language=xoo
diff --git a/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo b/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo
new file mode 100644
index 00000000000..4d8ceeda372
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo
@@ -0,0 +1,7 @@
+package sample;
+
+public class Sample {
+
+ private String myMethod() {
+ }
+} \ No newline at end of file
diff --git a/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.new b/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.new
new file mode 100644
index 00000000000..bed00ccc65e
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.new
@@ -0,0 +1,13 @@
+package sample;
+
+public class Sample {
+
+ private String attr;
+
+ public Sample(String attr) {
+ this.attr = attr;
+ }
+
+ private String myMethod() {
+ }
+}
diff --git a/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.updated b/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.updated
new file mode 100644
index 00000000000..c34188e9814
--- /dev/null
+++ b/tests/projects/scm/xoo-sample-without-then-with-scm/src/main/xoo/sample/Sample.xoo.updated
@@ -0,0 +1,7 @@
+package sample;
+
+public class Sample {
+ // changed convention
+ private String method() {
+ }
+}