Clover Coverage Report - Pebble 2.5-SNAPSHOT
Coverage timestamp: Sat Jun 12 2010 09:39:29 EST
../../../../img/srcFileCovDistChart5.png 38% of files have more coverage
4   30   3   1,33
0   17   0,75   3
3     1  
1    
This report was generated with an evaluation server license. Purchase Clover or configure your license.
 
  MessageType       Line # 8 4 0% 3 4 42,9% 0.42857143
 
  (2)
 
1    package net.sourceforge.pebble.domain;
2   
3    /**
4    * Represents a message type.
5    *
6    * @author Simon Brown
7    */
 
8    public enum MessageType {
9   
10    INFO("info", "Info"),
11    WARN("warning", "Warning"),
12    ERROR("error", "Error");
13   
14    private String id;
15    private String name;
16   
 
17  6 toggle MessageType(String id, String name) {
18  6 this.id = id;
19  6 this.name = name;
20    }
21   
 
22  0 toggle public String getId() {
23  0 return id;
24    }
25   
 
26  0 toggle public String getName() {
27  0 return this.name;
28    }
29   
30    }