|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
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) | |||
Result | |||
0.42857143
|
net.sourceforge.pebble.web.action.CreateDirectoryActionTest.testCreateDirectory
![]() |
1 PASS | |
0.42857143
|
net.sourceforge.pebble.web.action.CreateDirectoryActionTest.testCreateDirectory
![]() |
1 PASS | |
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 |
![]() |
18 | 6 | this.id = id; |
19 | 6 | this.name = name; |
20 | } | |
21 | ||
22 | 0 |
![]() |
23 | 0 | return id; |
24 | } | |
25 | ||
26 | 0 |
![]() |
27 | 0 | return this.name; |
28 | } | |
29 | ||
30 | } |
|