aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server/src/test/java
diff options
context:
space:
mode:
authorsimonbrandhof <simon.brandhof@gmail.com>2011-12-07 18:57:05 +0100
committersimonbrandhof <simon.brandhof@gmail.com>2011-12-07 18:59:51 +0100
commit3f1c6bb54f96dacd32f86321c7ba89c5dd843d57 (patch)
tree4f9ea120ffbc2923c2e2d35e779cf743e9203102 /sonar-server/src/test/java
parentccf5929571dd5bb226d0c0814e1041f5ebd836ea (diff)
downloadsonarqube-3f1c6bb54f96dacd32f86321c7ba89c5dd843d57.tar.gz
sonarqube-3f1c6bb54f96dacd32f86321c7ba89c5dd843d57.zip
SONAR-1974 add a page to manage manual rules
Manual rules allow users to create their own violations directly from UI. These rules can also be defined 'on the fly' while creating violations.
Diffstat (limited to 'sonar-server/src/test/java')
-rw-r--r--sonar-server/src/test/java/org/sonar/server/startup/RegisterRulesTest.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/test/java/org/sonar/server/startup/RegisterRulesTest.java b/sonar-server/src/test/java/org/sonar/server/startup/RegisterRulesTest.java
index 226e382556d..5eeadc156c2 100644
--- a/sonar-server/src/test/java/org/sonar/server/startup/RegisterRulesTest.java
+++ b/sonar-server/src/test/java/org/sonar/server/startup/RegisterRulesTest.java
@@ -164,9 +164,9 @@ public class RegisterRulesTest extends AbstractDbUnitTestCase {
}
@Test
- public void shouldNotDisableReviewRules() {
- // the hardcoded repository "review" is used for manual violations
- setupData("shouldNotDisableReviewRules");
+ public void shouldNotDisableManualRules() {
+ // the hardcoded repository "manual" is used for manual violations
+ setupData("shouldNotDisableManualRules");
RegisterRules task = new RegisterRules(getSessionFactory(), new RuleRepository[]{new FakeRepository()});
task.start();