Examples of logToFile()


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

      assertTrue(targetMetaProp.containsKey(ktm + I18nManager.METADATA_ANNOTATION_POSTFIX));
      assertEquals("100", targetMetaProp.getProperty(ktm + I18nManager.METADATA_KEY_PRIORITY_POSTFIX));
      //check for changed references in value
      //if correctly done, should still be resolvable
      assertTrue(sourcePropResolved.getProperty("key.to.stay2").indexOf(matchString)!=-1);
      tDMgr.logToFile("moveKey");
    }
  }
 
  public void testMovePackageTask(){
    if (WebappHelper.getBrasatoSourcePath() != null) {
View Full Code Here

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

      i18nMgr.clearCaches();
      Properties sourceProp = i18nMgr.getPropertiesWithoutResolvingRecursively(null, testSourceBundle);
      assertTrue(sourceProp.isEmpty());
      Properties targetProp = i18nMgr.getPropertiesWithoutResolvingRecursively(null, testTargetBundle);
      assertFalse(targetProp.isEmpty());   
      tDMgr.logToFile("movePackage");
    }
  }
 
  public void testMovePackageByMovingSingleKeysTask(){
    if (WebappHelper.getBrasatoSourcePath() != null) {
View Full Code Here

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

      i18nMgr.clearCaches();
      Properties sourceProp = i18nMgr.getPropertiesWithoutResolvingRecursively(null, testSourceBundle);
      assertTrue(sourceProp.isEmpty());
      Properties targetProp = i18nMgr.getPropertiesWithoutResolvingRecursively(null, testTargetBundle);
      assertFalse(targetProp.isEmpty());   
      tDMgr.logToFile("movePackageSingle");
    }
  }
 
  public void testMergePackageTask(){
    if (WebappHelper.getBrasatoSourcePath() != null) {
View Full Code Here

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

 
  //remove after execution!
  public void testRemoveXKeyTask(){
    TranslationDevManager tDMgr = TranslationDevManager.getInstance();
    tDMgr.removeXKeysTask(false);   
    tDMgr.logToFile("XKeys");
  }
 
  //remove after execution!
  public void testRemoveTodoKeyTask(){
    TranslationDevManager tDMgr = TranslationDevManager.getInstance();
View Full Code Here

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

 
  //remove after execution!
  public void testRemoveTodoKeyTask(){
    TranslationDevManager tDMgr = TranslationDevManager.getInstance();
    tDMgr.removeTodoKeysTask(false);
    tDMgr.logToFile("todoKeys");
  }
 
  //remove after execution!
  public void testRemoveEmptyKeysTask(){
    TranslationDevManager tDMgr = TranslationDevManager.getInstance();
View Full Code Here

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

 
  //remove after execution!
  public void testRemoveEmptyKeysTask(){
    TranslationDevManager tDMgr = TranslationDevManager.getInstance();
    tDMgr.removeEmptyKeysTask(false);
    tDMgr.logToFile("emptyKeys");
  }
 
  //remove after execution! 
  public void testRemoveReferenceLanguageCopiesTask(){
    if (WebappHelper.getBrasatoSourcePath() != null) {
View Full Code Here

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

  //remove after execution! 
  public void testRemoveReferenceLanguageCopiesTask(){
    if (WebappHelper.getBrasatoSourcePath() != null) {
      TranslationDevManager tDMgr = TranslationDevManager.getInstance();
      tDMgr.removeReferenceLanguageCopiesTask(false);
      tDMgr.logToFile("refLangCopied");     
    }
  }

  /**
   * Test method i18nManager.searchForAvailableLanguages()
View Full Code Here

Examples of slash.common.log.LoggingHelper.logToFile()

    // helper

    private void initializeLogging() {
        LoggingHelper loggingHelper = LoggingHelper.getInstance();
        loggingHelper.logToFile();
        if (preferences.getBoolean(DEBUG_PREFERENCE, false)) {
            loggingHelper.logToConsole();
        }
        log.info("Started " + getTitle() + " for " + getRouteConverter() + " with locale " + Locale.getDefault() +
                " on " + getJava() + " and " + getPlatform() + " with " + getMaximumMemory() + " MByte heap");
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.