public final class I18nMatchers extends Object
Modifier and Type | Method and Description |
---|---|
static void |
assertAllBundlesUpToDate()
Checks that all the translation bundles found on the classpath are up to date with the corresponding default one found in the same
folder.
|
static void |
assertAllBundlesUpToDate(String sonarVersion)
Checks that all the Core translation bundles found on the classpath are up to date with the corresponding English ones.
|
static BundleSynchronizedMatcher |
isBundleUpToDate()
Returns a matcher which checks that a translation bundle is up to date with the corresponding default one found in the same folder.
|
static BundleSynchronizedMatcher |
isBundleUpToDate(String sonarVersion)
Returns a matcher which checks that a translation bundle is up to date with the corresponding English Core bundle.
|
public static BundleSynchronizedMatcher isBundleUpToDate(String sonarVersion)
sonarVersion
- the version of the bundle to check against, or NULL to check against the latest source on GitHubpublic static BundleSynchronizedMatcher isBundleUpToDate()
public static void assertAllBundlesUpToDate(String sonarVersion)
sonarVersion
- the version of the bundles to check against, or NULL to check against the latest source on GitHubpublic static void assertAllBundlesUpToDate()
Copyright © 2009-2012 SonarSource. All Rights Reserved.