Examples of mergePackageTask()


Examples of org.olat.core.util.i18n.devtools.TranslationDevManager.mergePackageTask()

      prepareDevToolTests();
      I18nManager i18nMgr = I18nManager.getInstance();
      String testSourceBundle = "org.olat.core.util.i18n.junittestdata.devtools.source";
      String testTargetBundle = "org.olat.core.util.i18n.junittestdata.devtools.target";
      TranslationDevManager tDMgr = TranslationDevManager.getInstance();
      tDMgr.mergePackageTask(testSourceBundle, testTargetBundle);
      i18nMgr.clearCaches();
      assertTrue(i18nMgr.getPropertiesWithoutResolvingRecursively(null, testSourceBundle).isEmpty());
      //TODO: manipulate source/target first, merge and check if all is in target!
      //try to merge existing key
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.