示例#1
0
 @Test
 public void testRemoveDeletedKeysTest() {
   // set languages that is used as reference: all keys there are the keys should not to be deleted
   String[] referenceLanguages = new String[] {"de", "en"};
   // set the languages that should be cleaned up
   Set<String> targetLanguages = I18nModule.getTranslatableLanguageKeys();
   // Set<String> targetLanguages = new HashSet<String>();
   // targetLanguages.add("en");
   tDMgr.removeDeletedKeys(false, referenceLanguages, targetLanguages);
 }