aboutsummaryrefslogtreecommitdiffstats
path: root/tests/projects/projectSearch/xoo-history-v1
diff options
context:
space:
mode:
Diffstat (limited to 'tests/projects/projectSearch/xoo-history-v1')
-rw-r--r--tests/projects/projectSearch/xoo-history-v1/sonar-project.properties5
-rw-r--r--tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo12
-rw-r--r--tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo.measures4
-rw-r--r--tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo12
-rw-r--r--tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo.measures4
5 files changed, 37 insertions, 0 deletions
diff --git a/tests/projects/projectSearch/xoo-history-v1/sonar-project.properties b/tests/projects/projectSearch/xoo-history-v1/sonar-project.properties
new file mode 100644
index 00000000000..ede32ccb043
--- /dev/null
+++ b/tests/projects/projectSearch/xoo-history-v1/sonar-project.properties
@@ -0,0 +1,5 @@
+sonar.projectKey=sample
+sonar.projectName=Sample
+sonar.projectVersion=0.9-SNAPSHOT
+sonar.sources=src/main/xoo
+sonar.language=xoo \ No newline at end of file
diff --git a/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo
new file mode 100644
index 00000000000..2b0288fc971
--- /dev/null
+++ b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo
@@ -0,0 +1,12 @@
+package sample;
+
+public class ClassToModify {
+
+ public ClassToModify(int i) {
+ int j = i++;
+ }
+
+ private String myMethod() {
+ return "hello";
+ }
+}
diff --git a/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo.measures b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo.measures
new file mode 100644
index 00000000000..0861ac725c3
--- /dev/null
+++ b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/ClassToModify.xoo.measures
@@ -0,0 +1,4 @@
+ncloc:12
+classes:1
+complexity:3
+complexity_in_classes:3
diff --git a/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo
new file mode 100644
index 00000000000..2b0288fc971
--- /dev/null
+++ b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo
@@ -0,0 +1,12 @@
+package sample;
+
+public class ClassToModify {
+
+ public ClassToModify(int i) {
+ int j = i++;
+ }
+
+ private String myMethod() {
+ return "hello";
+ }
+}
diff --git a/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo.measures b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo.measures
new file mode 100644
index 00000000000..0861ac725c3
--- /dev/null
+++ b/tests/projects/projectSearch/xoo-history-v1/src/main/xoo/sample/UnchangedClass.xoo.measures
@@ -0,0 +1,4 @@
+ncloc:12
+classes:1
+complexity:3
+complexity_in_classes:3