public class BundleSynchronizedMatcher extends org.hamcrest.BaseMatcher<String>
Constructor and Description |
---|
BundleSynchronizedMatcher(String sonarVersion) |
BundleSynchronizedMatcher(String sonarVersion,
String remote_file_path) |
Modifier and Type | Method and Description |
---|---|
protected String |
computeGitHubURL(String defaultBundleName,
String sonarVersion) |
void |
describeTo(org.hamcrest.Description description) |
protected String |
extractDefaultBundleName(String bundleName) |
protected File |
getBundleFileFromClasspath(String bundleName) |
protected File |
getBundleFileFromGithub(String defaultBundleName) |
protected boolean |
isCoreBundle(String defaultBundleName) |
boolean |
matches(Object arg0) |
protected SortedMap<String,String> |
retrieveMissingTranslations(File bundle,
File referenceBundle) |
public static final String L10N_PATH
public BundleSynchronizedMatcher(String sonarVersion)
public BundleSynchronizedMatcher(String sonarVersion, String remote_file_path)
public void describeTo(org.hamcrest.Description description)
protected SortedMap<String,String> retrieveMissingTranslations(File bundle, File referenceBundle) throws IOException
IOException
protected File getBundleFileFromGithub(String defaultBundleName)
protected String computeGitHubURL(String defaultBundleName, String sonarVersion)
protected File getBundleFileFromClasspath(String bundleName)
protected String extractDefaultBundleName(String bundleName)
protected boolean isCoreBundle(String defaultBundleName)
Copyright © 2009-2012 SonarSource. All Rights Reserved.