EMMA Coverage Report (generated Sun Feb 05 10:43:15 CET 2012)
[all classes][de.uka.ipd.sdq.scheduler]

COVERAGE SUMMARY FOR SOURCE FILE [LoggingWrapper.java]

nameclass, %method, %block, %line, %
LoggingWrapper.java0%   (0/1)0%   (0/5)0%   (0/17)0%   (0/8)

COVERAGE BREAKDOWN BY CLASS AND METHOD

nameclass, %method, %block, %line, %
     
class LoggingWrapper0%   (0/1)0%   (0/5)0%   (0/17)0%   (0/8)
<static initializer> 0%   (0/1)0%   (0/5)0%   (0/3)
LoggingWrapper (): void 0%   (0/1)0%   (0/3)0%   (0/1)
activate (): void 0%   (0/1)0%   (0/4)0%   (0/2)
deactivate (): void 0%   (0/1)0%   (0/4)0%   (0/2)
log (String): void 0%   (0/1)0%   (0/1)0%   (0/1)

1package de.uka.ipd.sdq.scheduler;
2 
3import org.apache.log4j.Level;
4import org.apache.log4j.Logger;
5 
6import de.uka.ipd.sdq.probfunction.math.util.MathTools;
7import de.uka.ipd.sdq.scheduler.factory.SchedulingFactory;
8 
9public class LoggingWrapper {
10        
11        public static Logger logger = Logger.getLogger("Scheduler");
12 
13        public static void activate(){
14                logger.setLevel(Level.ALL);
15        }
16        
17        public static void deactivate(){
18                logger.setLevel(Level.OFF);
19        }
20        
21        public static void log(String string) {
22//                logger.info(MathTools.round(SchedulingFactory.getUsedSimulator().time(), 0.01) + " " + string);
23//                System.out.println(MathTools.round(SchedulingFactory.getUsedSimulator().time(), 0.01) + " " + string);
24        }
25        
26        static{
27                activate();
28        }
29 
30}

[all classes][de.uka.ipd.sdq.scheduler]
EMMA 2.0.9414 (unsupported private build) (C) Vladimir Roubtsov