]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-3319 Update one test method
authorFabrice Bellingard <bellingard@gmail.com>
Wed, 14 Mar 2012 17:23:59 +0000 (18:23 +0100)
committerFabrice Bellingard <bellingard@gmail.com>
Wed, 14 Mar 2012 17:23:59 +0000 (18:23 +0100)
sonar-core/src/test/java/org/sonar/core/i18n/RuleI18nManagerTest.java

index cc26a5d4ec15be02da5879bf56699f1e2dc8ea1b..27684d08e33c029b4cdb66a251f80d128a0611db 100644 (file)
@@ -118,9 +118,10 @@ public class RuleI18nManagerTest {
     ruleI18n.getDescription("checkstyle", "com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck", Locale.FRENCH);
 
     String propertyKeyForName = "rule.checkstyle.com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.name";
+    verify(i18n).messageFromFile(Locale.FRENCH, "rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.html", propertyKeyForName, true);
     verify(i18n).messageFromFile(Locale.FRENCH, "com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.html", propertyKeyForName, true);
-//    verify(i18n).messageFromFile(Locale.ENGLISH, "com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.html", propertyKeyForName, true);
-//    verifyNoMoreInteractions(i18n);
+    verify(i18n).messageFromFile(Locale.ENGLISH, "rules/checkstyle/com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck.html", propertyKeyForName, true);
+    verifyNoMoreInteractions(i18n);
   }
 
   @Test