diff options
Diffstat (limited to 'tests/projects/projectSearch')
15 files changed, 138 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 diff --git a/tests/projects/projectSearch/xoo-history-v2/sonar-project.properties b/tests/projects/projectSearch/xoo-history-v2/sonar-project.properties new file mode 100644 index 00000000000..42a4d832540 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/sonar-project.properties @@ -0,0 +1,6 @@ +sonar.projectKey=sample +sonar.projectName=Sample +sonar.projectVersion=1.0-SNAPSHOT +sonar.sources=src/main/xoo +sonar.language=xoo +sonar.scm.provider=xoo
\ No newline at end of file diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo new file mode 100644 index 00000000000..b0fd1087030 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo @@ -0,0 +1,12 @@ +package sample; + +public class ClassAdded { + + public ClassAdded(int i) { + int j = i++; + } + + private String myMethod() { + return "hello"; + } +} diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo.measures b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo.measures new file mode 100644 index 00000000000..0861ac725c3 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo.measures @@ -0,0 +1,4 @@ +ncloc:12 +classes:1 +complexity:3 +complexity_in_classes:3 diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo.scm b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo.scm new file mode 100644 index 00000000000..63fb4b3888e --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassAdded.xoo.scm @@ -0,0 +1,13 @@ +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01
\ No newline at end of file diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo new file mode 100644 index 00000000000..393111bbab0 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo @@ -0,0 +1,16 @@ +package sample; + +public class ClassToModify { + + public ClassToModify(int i) { + int j = i++; + } + + public String addedMethod() { + return "This method was added in v2"; + } + + private String myMethod() { + return "hello"; + } +} diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo.measures b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo.measures new file mode 100644 index 00000000000..5de11af72ed --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo.measures @@ -0,0 +1,4 @@ +ncloc:16 +classes:1 +complexity:5 +complexity_in_classes:4 diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo.scm b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo.scm new file mode 100644 index 00000000000..7d71523dcf4 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/ClassToModify.xoo.scm @@ -0,0 +1,17 @@ +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +2,user1,2017-05-01 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31
\ No newline at end of file diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo new file mode 100644 index 00000000000..2b0288fc971 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/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-v2/src/main/xoo/sample/UnchangedClass.xoo.measures b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo.measures new file mode 100644 index 00000000000..0861ac725c3 --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo.measures @@ -0,0 +1,4 @@ +ncloc:12 +classes:1 +complexity:3 +complexity_in_classes:3 diff --git a/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo.scm b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo.scm new file mode 100644 index 00000000000..72dc2d569bf --- /dev/null +++ b/tests/projects/projectSearch/xoo-history-v2/src/main/xoo/sample/UnchangedClass.xoo.scm @@ -0,0 +1,13 @@ +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31 +1,user1,2016-12-31
\ No newline at end of file |