aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
authorDavid Gageot <david@gageot.net>2012-07-04 16:30:00 +0200
committerDavid Gageot <david@gageot.net>2012-07-04 16:30:00 +0200
commit620edca954338d65269b26aa52e7f74b9ec52c52 (patch)
treef510c4c99d2dd30a282e364b89d6a4c9778b19d0 /sonar-testing-harness
parenta5181054fbd51278037f2ee75ef8c58bd23b0d11 (diff)
downloadsonarqube-620edca954338d65269b26aa52e7f74b9ec52c52.tar.gz
sonarqube-620edca954338d65269b26aa52e7f74b9ec52c52.zip
Fix warnings
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/test/java/org/sonar/test/i18n/BundleSynchronizedTest.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/sonar-testing-harness/src/test/java/org/sonar/test/i18n/BundleSynchronizedTest.java b/sonar-testing-harness/src/test/java/org/sonar/test/i18n/BundleSynchronizedTest.java
index 396f196927e..e510f909545 100644
--- a/sonar-testing-harness/src/test/java/org/sonar/test/i18n/BundleSynchronizedTest.java
+++ b/sonar-testing-harness/src/test/java/org/sonar/test/i18n/BundleSynchronizedTest.java
@@ -98,10 +98,10 @@ public class BundleSynchronizedTest {
@Test
public void testExtractDefaultBundleName() throws Exception {
- assertThat(matcher.extractDefaultBundleName("myPlugin_fr.properties"), is("myPlugin.properties"));
- assertThat(matcher.extractDefaultBundleName("myPlugin_fr_QB.properties"), is("myPlugin.properties"));
+ assertThat(BundleSynchronizedMatcher.extractDefaultBundleName("myPlugin_fr.properties"), is("myPlugin.properties"));
+ assertThat(BundleSynchronizedMatcher.extractDefaultBundleName("myPlugin_fr_QB.properties"), is("myPlugin.properties"));
try {
- matcher.extractDefaultBundleName("myPlugin.properties");
+ BundleSynchronizedMatcher.extractDefaultBundleName("myPlugin.properties");
} catch (AssertionError e) {
assertThat(e.getMessage(),
containsString("The bundle 'myPlugin.properties' is a default bundle (without locale), so it can't be compared."));
@@ -110,8 +110,8 @@ public class BundleSynchronizedTest {
@Test
public void testIsCoreBundle() throws Exception {
- assertTrue(matcher.isCoreBundle("core.properties"));
- assertFalse(matcher.isCoreBundle("myPlugin.properties"));
+ assertTrue(BundleSynchronizedMatcher.isCoreBundle("core.properties"));
+ assertFalse(BundleSynchronizedMatcher.isCoreBundle("myPlugin.properties"));
}
@Test