diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-14 18:23:59 +0100 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-14 18:23:59 +0100 |
commit | b7c7b336023b6813ac8a16292f5c1557aa2f2bef (patch) | |
tree | e4fd382704e2057ce582a3a42244b0e24689eb3e /sonar-core | |
parent | fcf38c6acf101d49089a9d3faf961a3bb7544b74 (diff) | |
download | sonarqube-b7c7b336023b6813ac8a16292f5c1557aa2f2bef.tar.gz sonarqube-b7c7b336023b6813ac8a16292f5c1557aa2f2bef.zip |
SONAR-3319 Update one test method
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/test/java/org/sonar/core/i18n/RuleI18nManagerTest.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sonar-core/src/test/java/org/sonar/core/i18n/RuleI18nManagerTest.java b/sonar-core/src/test/java/org/sonar/core/i18n/RuleI18nManagerTest.java index cc26a5d4ec1..27684d08e33 100644 --- a/sonar-core/src/test/java/org/sonar/core/i18n/RuleI18nManagerTest.java +++ b/sonar-core/src/test/java/org/sonar/core/i18n/RuleI18nManagerTest.java @@ -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 |