Ignore:
Timestamp:
08/31/12 10:27:50 (12 years ago)
Author:
pharms
Message:
  • use console for logging instead of logger
Location:
trunk/quest-core-tasktrees-test/src/test/java/de/ugoe/cs/quest/tasktrees
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-core-tasktrees-test/src/test/java/de/ugoe/cs/quest/tasktrees/manager/TaskTreeManagerTest.java

    r692 r725  
    11package de.ugoe.cs.quest.tasktrees.manager; 
    22 
    3 import java.util.logging.Logger; 
     3import java.util.logging.Level; 
    44 
    55import org.junit.After; 
     
    1010import de.ugoe.cs.quest.eventcore.IEventTarget; 
    1111import de.ugoe.cs.quest.eventcore.IEventType; 
    12 import de.ugoe.cs.quest.tasktrees.testutils.SimpleLogFormatter; 
    1312import de.ugoe.cs.quest.tasktrees.testutils.TaskTreeChecker; 
    1413import de.ugoe.cs.quest.test.DummyGUIElement; 
    1514import de.ugoe.cs.quest.test.DummyInteraction; 
     15import de.ugoe.cs.util.console.TextConsole; 
    1616 
    1717/** 
     
    3131    @Before 
    3232    public void setUp() { 
    33         Logger.getLogger("").getHandlers()[0].setFormatter(new SimpleLogFormatter()); 
    34  
     33        new TextConsole(Level.FINEST); 
    3534        manager = new TaskTreeManager(); 
    3635    } 
  • trunk/quest-core-tasktrees-test/src/test/java/de/ugoe/cs/quest/tasktrees/temporalrelation/AbstractTemporalRelationshipTC.java

    r655 r725  
    33import java.util.ArrayList; 
    44import java.util.List; 
    5 import java.util.logging.Logger; 
     5import java.util.logging.Level; 
    66 
    77import org.junit.Before; 
     
    1010import de.ugoe.cs.quest.eventcore.IEventType; 
    1111import de.ugoe.cs.quest.tasktrees.nodeequality.NodeEqualityRuleManager; 
    12 import de.ugoe.cs.quest.tasktrees.testutils.SimpleLogFormatter; 
    1312import de.ugoe.cs.quest.tasktrees.testutils.Utilities; 
    1413import de.ugoe.cs.quest.tasktrees.treeifc.IEventTask; 
     
    1918import de.ugoe.cs.quest.tasktrees.treeimpl.TaskTreeBuilder; 
    2019import de.ugoe.cs.quest.tasktrees.treeimpl.TaskTreeNodeFactory; 
     20import de.ugoe.cs.util.console.TextConsole; 
    2121 
    2222/** 
     
    4646    @Before 
    4747    public void setUp() { 
    48         Logger.getLogger("").getHandlers()[0].setFormatter(new SimpleLogFormatter()); 
     48        new TextConsole(Level.FINEST); 
    4949        events = new ArrayList<IEventTask>(); 
    5050    } 
Note: See TracChangeset for help on using the changeset viewer.