aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-projects
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-21 13:43:24 +0200
committerJulien Lancelot <julien.lancelot@sonarsource.com>2015-07-21 13:43:44 +0200
commit19d6a95e615765153e58cd9de8e8ce0d5d9597f6 (patch)
tree2fe6e08edf603ba9bded47c6052fad1ddb087c25 /it/it-projects
parentf53c95c9830b80a6f971ba4018ce163548e8455d (diff)
downloadsonarqube-19d6a95e615765153e58cd9de8e8ce0d5d9597f6.tar.gz
sonarqube-19d6a95e615765153e58cd9de8e8ce0d5d9597f6.zip
Add ITs on new coverage measures
Diffstat (limited to 'it/it-projects')
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/sonar-project.properties6
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo16
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.coverage1
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.itcoverage1
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.measures2
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.overallcoverage1
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.scm17
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/sonar-project.properties6
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo16
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.coverage6
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.itcoverage5
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.measures1
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.overallcoverage3
-rw-r--r--it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.scm17
14 files changed, 98 insertions, 0 deletions
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/sonar-project.properties b/it/it-projects/testing/xoo-sample-new-coverage-v1/sonar-project.properties
new file mode 100644
index 00000000000..a711b2bd89e
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/sonar-project.properties
@@ -0,0 +1,6 @@
+sonar.projectKey=sample-new-coverage
+sonar.projectName=Sample new Coverage
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.sources=src/main/xoo
+sonar.language=xoo
+sonar.scm.provider=xoo
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo
new file mode 100644
index 00000000000..41871e123a3
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo
@@ -0,0 +1,16 @@
+package sample;
+
+public class Sample {
+
+ public Sample(int i) {
+ int j = i++;
+ }
+
+ private String myMethod() {
+ if (foo == bar) {
+ return "hello";
+ } else {
+ throw new IllegalStateException();
+ }
+ }
+}
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.coverage b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.coverage
new file mode 100644
index 00000000000..a2d656d1c9d
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.coverage
@@ -0,0 +1 @@
+6:2:3:3
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.itcoverage b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.itcoverage
new file mode 100644
index 00000000000..a2d656d1c9d
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.itcoverage
@@ -0,0 +1 @@
+6:2:3:3
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.measures b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.measures
new file mode 100644
index 00000000000..18b6b8eb944
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.measures
@@ -0,0 +1,2 @@
+ncloc:17
+
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.overallcoverage b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.overallcoverage
new file mode 100644
index 00000000000..a2d656d1c9d
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.overallcoverage
@@ -0,0 +1 @@
+6:2:3:3
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.scm b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.scm
new file mode 100644
index 00000000000..e047ea4394e
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v1/src/main/xoo/sample/Sample.xoo.scm
@@ -0,0 +1,17 @@
+1,user1,2015-01-04
+1,user1,2015-01-04
+1,user1,2015-01-04
+1,user1,2015-01-04
+2,user2,2015-01-05
+2,user2,2015-01-05
+3,user3,2015-01-06
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/sonar-project.properties b/it/it-projects/testing/xoo-sample-new-coverage-v2/sonar-project.properties
new file mode 100644
index 00000000000..a711b2bd89e
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/sonar-project.properties
@@ -0,0 +1,6 @@
+sonar.projectKey=sample-new-coverage
+sonar.projectName=Sample new Coverage
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.sources=src/main/xoo
+sonar.language=xoo
+sonar.scm.provider=xoo
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo
new file mode 100644
index 00000000000..41871e123a3
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo
@@ -0,0 +1,16 @@
+package sample;
+
+public class Sample {
+
+ public Sample(int i) {
+ int j = i++;
+ }
+
+ private String myMethod() {
+ if (foo == bar) {
+ return "hello";
+ } else {
+ throw new IllegalStateException();
+ }
+ }
+}
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.coverage b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.coverage
new file mode 100644
index 00000000000..cd6fabd8eec
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.coverage
@@ -0,0 +1,6 @@
+6:0:3:1
+7:1:3:1
+8:0
+9:1
+10:1
+11:1
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.itcoverage b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.itcoverage
new file mode 100644
index 00000000000..77bdb584a48
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.itcoverage
@@ -0,0 +1,5 @@
+6:0:3:1
+7:1:3:2
+8:1
+9:1
+10:1
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.measures b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.measures
new file mode 100644
index 00000000000..e4f33ed58ed
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.measures
@@ -0,0 +1 @@
+ncloc:17
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.overallcoverage b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.overallcoverage
new file mode 100644
index 00000000000..ab5d844418e
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.overallcoverage
@@ -0,0 +1,3 @@
+6:0:3:1
+7:1:3:2
+8:0:4:1
diff --git a/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.scm b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.scm
new file mode 100644
index 00000000000..06d9b20756a
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-new-coverage-v2/src/main/xoo/sample/Sample.xoo.scm
@@ -0,0 +1,17 @@
+1,user1,2015-01-04
+1,user1,2015-01-04
+1,user1,2015-01-04
+1,user1,2015-01-04
+2,user2,2015-01-05
+2,user2,2015-01-05
+3,user3,2015-06-06
+4,user4,2015-06-07
+4,user4,2015-06-07
+4,user4,2015-06-07
+4,user4,2015-06-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07
+4,user4,2015-01-07