summaryrefslogtreecommitdiffstats
path: root/it/it-projects/batch/case-sensitive-file-extensions
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-08-14 14:49:49 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-08-18 09:36:10 +0200
commit2a5eea17c29c46566a13f84eead54b202a9bae83 (patch)
tree6e360aeea61672f86d090e52f281f6319953d4e2 /it/it-projects/batch/case-sensitive-file-extensions
parent48bb07308a21354e7f904a03b0c593158bde82b5 (diff)
downloadsonarqube-2a5eea17c29c46566a13f84eead54b202a9bae83.tar.gz
sonarqube-2a5eea17c29c46566a13f84eead54b202a9bae83.zip
Migrate batch ITs
Diffstat (limited to 'it/it-projects/batch/case-sensitive-file-extensions')
-rw-r--r--it/it-projects/batch/case-sensitive-file-extensions/sonar-project.properties5
-rw-r--r--it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO2
-rw-r--r--it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO.measures1
-rw-r--r--it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo10
-rw-r--r--it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo.measures1
5 files changed, 19 insertions, 0 deletions
diff --git a/it/it-projects/batch/case-sensitive-file-extensions/sonar-project.properties b/it/it-projects/batch/case-sensitive-file-extensions/sonar-project.properties
new file mode 100644
index 00000000000..795bbeb5cf9
--- /dev/null
+++ b/it/it-projects/batch/case-sensitive-file-extensions/sonar-project.properties
@@ -0,0 +1,5 @@
+sonar.projectKey=case-sensitive-file-extensions
+sonar.projectName=Case Sensitive
+sonar.projectVersion=1.0-SNAPSHOT
+sonar.sources=src
+sonar.language=xoo
diff --git a/it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO b/it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO
new file mode 100644
index 00000000000..7a7569a867b
--- /dev/null
+++ b/it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO
@@ -0,0 +1,2 @@
+File extension is upper case.
+It should not be ignored since SQ 4.0.
diff --git a/it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO.measures b/it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO.measures
new file mode 100644
index 00000000000..5143bc664f8
--- /dev/null
+++ b/it/it-projects/batch/case-sensitive-file-extensions/src/UPPER.XOO.measures
@@ -0,0 +1 @@
+ncloc:2
diff --git a/it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo b/it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo
new file mode 100644
index 00000000000..fd97999fff8
--- /dev/null
+++ b/it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo
@@ -0,0 +1,10 @@
+public class Sample {
+
+ public Sample(int i) {
+ int j = i++;
+ }
+
+ private String myMethod() {
+ return "hello";
+ }
+}
diff --git a/it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo.measures b/it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo.measures
new file mode 100644
index 00000000000..f82c5911efa
--- /dev/null
+++ b/it/it-projects/batch/case-sensitive-file-extensions/src/lower.xoo.measures
@@ -0,0 +1 @@
+ncloc:5