aboutsummaryrefslogtreecommitdiffstats
path: root/it/it-projects
diff options
context:
space:
mode:
authorJulien HENRY <julien.henry@sonarsource.com>2016-05-11 18:04:18 +0200
committerJulien HENRY <julien.henry@sonarsource.com>2016-05-11 18:04:18 +0200
commit1d8796ed0044630a2c7d9b985767087af2b6caac (patch)
tree4ed5002ac6a34fef7ee7bd453fc818f60639ad60 /it/it-projects
parentda2796a083e9a2d14092e468139e0c67386eae66 (diff)
downloadsonarqube-1d8796ed0044630a2c7d9b985767087af2b6caac.tar.gz
sonarqube-1d8796ed0044630a2c7d9b985767087af2b6caac.zip
Revert "SONAR-6897 add IT"
This reverts commit 87a609a4c529fc25c89c425dc11a2cb49ef3fbf8.
Diffstat (limited to 'it/it-projects')
-rw-r--r--it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo7
-rw-r--r--it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo.scm8
-rw-r--r--it/it-projects/testing/xoo-sample-highlighting/sonar-project.properties (renamed from it/it-projects/scm/xoo-sample-with-scm/sonar-project.properties)4
-rw-r--r--it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo16
-rw-r--r--it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo.highlighting3
5 files changed, 21 insertions, 17 deletions
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
deleted file mode 100644
index 9dc354b8608..00000000000
--- a/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo
+++ /dev/null
@@ -1,7 +0,0 @@
-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
deleted file mode 100644
index 10d0952cf74..00000000000
--- a/it/it-projects/scm/xoo-sample-with-scm/src/main/xoo/sample/Sample.xoo.scm
+++ /dev/null
@@ -1,8 +0,0 @@
-1,jhenry,2013-01-04
-1,jhenry,2013-01-04
-2,jhenry,2013-01-04
-1,jhenry,2013-01-04
-1,jhenry,2013-01-04
-1,jhenry,2013-01-04
-1,jhenry,2013-01-04
-3,toto,2014-01-04
diff --git a/it/it-projects/scm/xoo-sample-with-scm/sonar-project.properties b/it/it-projects/testing/xoo-sample-highlighting/sonar-project.properties
index 73645df942f..86ba98aee61 100644
--- a/it/it-projects/scm/xoo-sample-with-scm/sonar-project.properties
+++ b/it/it-projects/testing/xoo-sample-highlighting/sonar-project.properties
@@ -1,5 +1,5 @@
-sonar.projectKey=sample-scm
-sonar.projectName=Sample SCM
+sonar.projectKey=sample-highlighting
+sonar.projectName=Sample Highlighting
sonar.projectVersion=1.0-SNAPSHOT
sonar.sources=src/main/xoo
sonar.language=xoo
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
new file mode 100644
index 00000000000..41871e123a3
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-highlighting/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-highlighting/src/main/xoo/sample/Sample.xoo.highlighting b/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo.highlighting
new file mode 100644
index 00000000000..4530b0c572b
--- /dev/null
+++ b/it/it-projects/testing/xoo-sample-highlighting/src/main/xoo/sample/Sample.xoo.highlighting
@@ -0,0 +1,3 @@
+# <startOffset>:<endOffset>:<typeOfText>
+
+20:20:k