diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-06 14:08:06 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-06 14:08:06 +0000 |
commit | aeadc1f9129274949daaa57738c7c4550bdfbc7b (patch) | |
tree | 08dadf5ef7474fc41d1d48f74648f1ba8b55f34d /sonar-plugin-api/test-resources | |
download | sonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.tar.gz sonarqube-aeadc1f9129274949daaa57738c7c4550bdfbc7b.zip |
SONAR-236 remove deprecated code from checkstyle plugin + display default value of rule parameters in Q profile console
Diffstat (limited to 'sonar-plugin-api/test-resources')
3 files changed, 28 insertions, 0 deletions
diff --git a/sonar-plugin-api/test-resources/README.txt b/sonar-plugin-api/test-resources/README.txt new file mode 100644 index 00000000000..3f09e6215df --- /dev/null +++ b/sonar-plugin-api/test-resources/README.txt @@ -0,0 +1,2 @@ +This directory is a workaround for opening the project into Intellij Idea. +Indeed it tries to compile Java sources found in src/test/resources, and fail because of syntax errors or specific encoding.
\ No newline at end of file diff --git a/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java new file mode 100644 index 00000000000..1982fef8e78 --- /dev/null +++ b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/CP1252Encoding.java @@ -0,0 +1,13 @@ +public class Car {
+
+ public AClaèss() {
+ }
+
+ public int explicação() {
+ return 1;
+ }
+
+ public String getS() {
+ return "";
+ }
+}
\ No newline at end of file diff --git a/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java new file mode 100644 index 00000000000..2a168ff4bce --- /dev/null +++ b/sonar-plugin-api/test-resources/org/sonar/api/batch/AbstractSourceImporterTest/encoding/MacRomanEncoding.java @@ -0,0 +1,13 @@ +public class Car { + + public AClass() { + } + + public int explica‹o() { + return 1; + } + + public String getS() { + return ""; + } +}
\ No newline at end of file |