diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-11 16:55:40 +0200 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2011-04-11 16:55:40 +0200 |
commit | 07625d01d50a80c360156869b375f8672b3a280d (patch) | |
tree | b7b12e66699089c743b7ef7c4b02a5af39257d34 /plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc | |
parent | 821193dfc6504ab799d60ea6e5cbd66a65e2f095 (diff) | |
download | sonarqube-07625d01d50a80c360156869b375f8672b3a280d.tar.gz sonarqube-07625d01d50a80c360156869b375f8672b3a280d.zip |
SONAR-791 compare package declaration with physical directory
Diffstat (limited to 'plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc')
11 files changed, 10 insertions, 10 deletions
diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithComments.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithComments.java index 6a3f508081f..272d55bb5d9 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithComments.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithComments.java @@ -1,7 +1,7 @@ /* * Header */ -package test; + import nothing; //single comment 1 diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithCommentsOnLineOfCode.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithCommentsOnLineOfCode.java index 8f27316339d..e39c272870b 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithCommentsOnLineOfCode.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithCommentsOnLineOfCode.java @@ -1,4 +1,4 @@ -package test; + public class ClassWithCommentsOnLineOfCode { diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeader.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeader.java index a58d6932246..b402a30a944 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeader.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeader.java @@ -3,7 +3,7 @@ * * multi lines */ -package test; + import nothing; //single comment 1 diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeaderAndBlankLines.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeaderAndBlankLines.java index 768cb56c232..c06dbc0de38 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeaderAndBlankLines.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithHeaderAndBlankLines.java @@ -8,7 +8,7 @@ blank lines in comments block should no be counted
*/
-package test;
+
public interface ClassWithHeaderAndBlankLines {
void reset();
diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithVars.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithVars.java index 4135eb29d30..542b66c7d17 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithVars.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithVars.java @@ -1,7 +1,7 @@ /* * Header */ -package test; + import nothing; //single comment 1 diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithoutHeaderAndWithCComment.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithoutHeaderAndWithCComment.java index b83822f5b7e..7f17fe29cef 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithoutHeaderAndWithCComment.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithoutHeaderAndWithCComment.java @@ -1,4 +1,4 @@ -package test; + import nothing; diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/Constants.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/Constants.java index f52c100b9cb..da20288279a 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/Constants.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/Constants.java @@ -18,7 +18,7 @@ * specific language governing permissions and limitations * under the License. */ -package org.apache.struts.chain; + /** diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/EmptyConstructor.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/EmptyConstructor.java index 9f008bbfd8c..26a1c1e821b 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/EmptyConstructor.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/EmptyConstructor.java @@ -1,7 +1,7 @@ /* * Header */ -package test; + public class EmptyConstructor { diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/InterfaceWithComments.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/InterfaceWithComments.java index 74db2b709bb..87d6bc220fc 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/InterfaceWithComments.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/InterfaceWithComments.java @@ -1,7 +1,7 @@ /* * Header */ -package test; + public interface Something { diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/MethodsWithOverrideAnnotation.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/MethodsWithOverrideAnnotation.java index a0dba5ed7bd..0835f5fea9a 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/MethodsWithOverrideAnnotation.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/MethodsWithOverrideAnnotation.java @@ -1,7 +1,7 @@ /* * Header */ -package test; + public class MethodsWithOverrideAnnotation { diff --git a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithPackageAndJavadocHeader.java b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/foo/ClassWithPackageAndJavadocHeader.java index a3523c52627..a3523c52627 100644 --- a/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/ClassWithPackageAndJavadocHeader.java +++ b/plugins/sonar-squid-java-plugin/test-resources/metrics/javadoc/foo/ClassWithPackageAndJavadocHeader.java |