diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-23 13:29:43 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-23 13:29:43 +0000 |
commit | f908b8b900e51728bbf04291e5d241e0317a18d0 (patch) | |
tree | 3b7f2d4114b987f369a5447c0371edd9224c10ef /sonar-deprecated | |
parent | 28a97998eb8ea682d47c286e3d0ac59976d17dc8 (diff) | |
download | sonarqube-f908b8b900e51728bbf04291e5d241e0317a18d0.tar.gz sonarqube-f908b8b900e51728bbf04291e5d241e0317a18d0.zip |
add the package org.sonar.api.checks in order to implement its own rules engine
Diffstat (limited to 'sonar-deprecated')
5 files changed, 38 insertions, 21 deletions
diff --git a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/AnnotationCheckerFactoryTest.java b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/AnnotationCheckerFactoryTest.java index 8235725ac56..8e89d46dd43 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/AnnotationCheckerFactoryTest.java +++ b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/AnnotationCheckerFactoryTest.java @@ -1,3 +1,22 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ package org.sonar.api.checks.checkers; import org.junit.Before; diff --git a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckWithUnsupportedPropertyType.java b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckWithUnsupportedPropertyType.java index b5b9f1bacbb..3fb27011290 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckWithUnsupportedPropertyType.java +++ b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckWithUnsupportedPropertyType.java @@ -5,13 +5,6 @@ import org.sonar.check.CheckProperty; import org.sonar.check.IsoCategory; import org.sonar.check.Priority; -/** - * Created by IntelliJ IDEA. - * User: simonbrandhof - * Date: Sep 14, 2010 - * Time: 11:20:57 AM - * To change this template use File | Settings | File Templates. - */ @Check(isoCategory = IsoCategory.Efficiency, priority = Priority.CRITICAL) class CheckWithUnsupportedPropertyType { diff --git a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithIntegerProperty.java b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithIntegerProperty.java index 4ae71746cf3..1c0f3983a60 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithIntegerProperty.java +++ b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithIntegerProperty.java @@ -1,3 +1,22 @@ +/* + * Sonar, open source software quality management tool. + * Copyright (C) 2009 SonarSource SA + * mailto:contact AT sonarsource DOT com + * + * Sonar is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 3 of the License, or (at your option) any later version. + * + * Sonar is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Sonar; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02 + */ package org.sonar.api.checks.checkers; import org.sonar.check.Check; diff --git a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithPrimitiveProperties.java b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithPrimitiveProperties.java index 15af2ade92f..3bf938f3d9e 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithPrimitiveProperties.java +++ b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithPrimitiveProperties.java @@ -5,13 +5,6 @@ import org.sonar.check.CheckProperty; import org.sonar.check.IsoCategory; import org.sonar.check.Priority; -/** - * Created by IntelliJ IDEA. - * User: simonbrandhof - * Date: Sep 14, 2010 - * Time: 11:20:57 AM - * To change this template use File | Settings | File Templates. - */ @Check(isoCategory = IsoCategory.Efficiency, priority = Priority.CRITICAL) class CheckerWithPrimitiveProperties { diff --git a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithStringProperty.java b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithStringProperty.java index a7f62a248e3..db40a9f1bc8 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithStringProperty.java +++ b/sonar-deprecated/src/test/java/org/sonar/api/checks/checkers/CheckerWithStringProperty.java @@ -5,13 +5,6 @@ import org.sonar.check.CheckProperty; import org.sonar.check.IsoCategory; import org.sonar.check.Priority; -/** - * Created by IntelliJ IDEA. - * User: simonbrandhof - * Date: Sep 14, 2010 - * Time: 11:20:57 AM - * To change this template use File | Settings | File Templates. - */ @Check(isoCategory = IsoCategory.Efficiency, priority = Priority.CRITICAL) class CheckerWithStringProperty { |