Ignore:
Timestamp:
08/28/12 16:42:22 (12 years ago)
Author:
sherbold
Message:
  • modified startup-parameter trace of runner from binary into java.util.Logger.Level to define the tracing granularity; defaults to WARNING)
  • modified TextConsole? and SWTConsole to trace according to trace-parameter
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/java-utils-test/src/test/java/de/ugoe/cs/util/console/TextConsoleTest.java

    r670 r674  
    7171        public void testTraceMsg_1() throws Exception { 
    7272                TextConsole fixture = new TextConsole(); 
    73                 fixture.setDebug(true); 
    7473                String traceMessage = "test"; 
    7574                Level traceLevel = Level.WARNING; 
     
    8382        @Test 
    8483        public void testTraceMsg_2() throws Exception { 
    85                 TextConsole fixture = new TextConsole(); 
    86                 fixture.setDebug(true); 
     84                TextConsole fixture = new TextConsole(Level.INFO); 
    8785                String traceMessage = "test"; 
    8886                Level traceLevel = Level.INFO; 
     
    9694               @Test 
    9795                public void testTraceMsg_3() throws Exception { 
    98                         TextConsole fixture = new TextConsole(); 
    99                         fixture.setDebug(false); 
     96                        TextConsole fixture = new TextConsole(Level.WARNING); 
    10097                        String traceMessage = "[INFO] test"; 
    10198                        Level traceLevel = Level.INFO; 
Note: See TracChangeset for help on using the changeset viewer.