diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-16 10:02:33 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-16 10:02:33 +0000 |
commit | 17976169eb50d6c8d715285ee40bcb3b9ca12bed (patch) | |
tree | c02bee292ba789fb49898c174b6825f84e62f46b | |
parent | 11cd0a981e8ea5c00170ae4eb929e636dee0ca7e (diff) | |
download | sonarqube-17976169eb50d6c8d715285ee40bcb3b9ca12bed.tar.gz sonarqube-17976169eb50d6c8d715285ee40bcb3b9ca12bed.zip |
undo: some unit tests have been wrongly moved to sonar-deprecated
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotatedCheck.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/AnnotatedCheck.java) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotatedCheckWithParameters.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/AnnotatedCheckWithParameters.java) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleAnnotationUtilsTest.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/RuleAnnotationUtilsTest.java) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/RulePriorityTest.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/RulePriorityTest.java) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleTest.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/RuleTest.java) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleUtilsTest.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/RuleUtilsTest.java) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/java/org/sonar/api/rules/StandardRuleXmlFormatTest.java (renamed from sonar-deprecated/src/test/java/org/sonar/api/rules/StandardRuleXmlFormatTest.java) | 1 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/deprecated.xml (renamed from sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/deprecated.xml) | 0 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/rules.xml (renamed from sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/rules.xml) | 1 | ||||
-rw-r--r-- | sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/utf8.xml (renamed from sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/utf8.xml) | 0 |
10 files changed, 2 insertions, 0 deletions
diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/AnnotatedCheck.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotatedCheck.java index da01fb10904..da01fb10904 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/AnnotatedCheck.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotatedCheck.java diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/AnnotatedCheckWithParameters.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotatedCheckWithParameters.java index cd487c3d0a0..cd487c3d0a0 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/AnnotatedCheckWithParameters.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/AnnotatedCheckWithParameters.java diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/RuleAnnotationUtilsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleAnnotationUtilsTest.java index 98d05bbd1f4..98d05bbd1f4 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/RuleAnnotationUtilsTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleAnnotationUtilsTest.java diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/RulePriorityTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RulePriorityTest.java index a3ed40321b8..a3ed40321b8 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/RulePriorityTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RulePriorityTest.java diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/RuleTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleTest.java index c0767fda0ad..c0767fda0ad 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/RuleTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleTest.java diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/RuleUtilsTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleUtilsTest.java index c60a5fdf604..c60a5fdf604 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/RuleUtilsTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/RuleUtilsTest.java diff --git a/sonar-deprecated/src/test/java/org/sonar/api/rules/StandardRuleXmlFormatTest.java b/sonar-plugin-api/src/test/java/org/sonar/api/rules/StandardRuleXmlFormatTest.java index a1cfb59336c..cfcc6267603 100644 --- a/sonar-deprecated/src/test/java/org/sonar/api/rules/StandardRuleXmlFormatTest.java +++ b/sonar-plugin-api/src/test/java/org/sonar/api/rules/StandardRuleXmlFormatTest.java @@ -49,6 +49,7 @@ public class StandardRuleXmlFormatTest { RuleParam prop = rule.getParam("ignore"); assertThat(prop.getKey(), is("ignore")); assertThat(prop.getDescription(), is("Ignore ?")); + assertThat(prop.getDefaultValue(), is("false")); Rule minimalRule = rules.get(1); assertThat(minimalRule.getKey(), is("com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck")); diff --git a/sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/deprecated.xml b/sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/deprecated.xml index 44cf56d228a..44cf56d228a 100644 --- a/sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/deprecated.xml +++ b/sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/deprecated.xml diff --git a/sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/rules.xml b/sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/rules.xml index c4038bdf96c..4d807407097 100644 --- a/sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/rules.xml +++ b/sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/rules.xml @@ -23,6 +23,7 @@ <description> Ignore ? </description> + <defaultValue>false</defaultValue> </param> </rule> diff --git a/sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/utf8.xml b/sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/utf8.xml index 6197e030057..6197e030057 100644 --- a/sonar-deprecated/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/utf8.xml +++ b/sonar-plugin-api/src/test/resources/org/sonar/api/rules/StandardRuleXmlFormatTest/utf8.xml |