details.append("' is not up-to-date.");
print("\n\n Missing translations are:", missingKeys, details);
print("\n\nThe following translations do not exist in the reference bundle:", additionalKeys, details);
- details.append("\n\nSee report file located at: " + dumpFile.getAbsolutePath());
+ details.append("\n\nSee report file located at: ");
+ details.append(dumpFile.getAbsolutePath());
details.append("\n=======================");
return details;
}
/**
* Checks that all the translation bundles found on the classpath are up to date with the corresponding default ones found in the classpath.
*/
- public static void assertAllBundlesUpToDate() {
+ public static void assertBundlesUpToDate() {
File bundleFolder = TestUtils.getResource(BundleSynchronizedMatcher.L10N_PATH);
if (bundleFolder == null || !bundleFolder.isDirectory()) {
- fail("No bundle found in '" + BundleSynchronizedMatcher.L10N_PATH + "'");
+ fail("No bundle found in: " + BundleSynchronizedMatcher.L10N_PATH);
}
Collection<File> bundles = FileUtils.listFiles(bundleFolder, new String[] {"properties"}, false);