diff options
author | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-10 17:23:32 +0200 |
---|---|---|
committer | Julien HENRY <julien.henry@sonarsource.com> | 2016-05-11 18:04:42 +0200 |
commit | a26c8cf3d00955a807ade179d24e68b66aaf669f (patch) | |
tree | 0e879093792c548da416f1af969388598610cb38 /it/it-projects | |
parent | 1d8796ed0044630a2c7d9b985767087af2b6caac (diff) | |
download | sonarqube-a26c8cf3d00955a807ade179d24e68b66aaf669f.tar.gz sonarqube-a26c8cf3d00955a807ade179d24e68b66aaf669f.zip |
SONAR-6897 add IT
Diffstat (limited to 'it/it-projects')
-rw-r--r-- | it/it-projects/scm/xoo-sample-with-scm/sonar-project.properties (renamed from it/it-projects/testing/xoo-sample-highlighting/sonar-project.properties) | 4 | ||||
-rw-r--r-- | it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo | 7 | ||||
-rw-r--r-- | it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo.scm | 8 | ||||
-rw-r--r-- | it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo | 16 | ||||
-rw-r--r-- | it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo.highlighting | 3 |
5 files changed, 17 insertions, 21 deletions
diff --git a/it/it-projects/testing/xoo-sample-highlighting/sonar-project.properties b/it/it-projects/scm/xoo-sample-with-scm/sonar-project.properties index 86ba98aee61..73645df942f 100644 --- a/it/it-projects/testing/xoo-sample-highlighting/sonar-project.properties +++ b/it/it-projects/scm/xoo-sample-with-scm/sonar-project.properties @@ -1,5 +1,5 @@ -sonar.projectKey=sample-highlighting -sonar.projectName=Sample Highlighting +sonar.projectKey=sample-scm +sonar.projectName=Sample SCM sonar.projectVersion=1.0-SNAPSHOT sonar.sources=src/main/xoo sonar.language=xoo diff --git a/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo b/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo new file mode 100644 index 00000000000..9dc354b8608 --- /dev/null +++ b/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo @@ -0,0 +1,7 @@ +package sample; + +public class Sample { + + private String myMethod() { + } +} diff --git a/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo.scm b/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo.scm new file mode 100644 index 00000000000..6db3ba66128 --- /dev/null +++ b/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo.scm @@ -0,0 +1,8 @@ +1,jhenry,2013-01-04T00:00:00+0000 +1,jhenry,2013-01-04T00:00:00+0000 +2,jhenry,2013-01-04T00:00:00+0000 +1,jhenry,2013-01-04T00:00:00+0000 +1,jhenry,2013-01-04T00:00:00+0000 +1,jhenry,2013-01-04T00:00:00+0000 +1,jhenry,2013-01-04T00:00:00+0000 +3,toto,2014-01-04T00:00:00+0000 diff --git a/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo b/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo deleted file mode 100644 index 41871e123a3..00000000000 --- a/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo +++ /dev/null @@ -1,16 +0,0 @@ -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-highlighting/src/main/xoo/sample/Sample.xoo.highlighting b/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo.highlighting deleted file mode 100644 index 4530b0c572b..00000000000 --- a/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo.highlighting +++ /dev/null @@ -1,3 +0,0 @@ -# <startOffset>:<endOffset>:<typeOfText> - -20:20:k |