Last change
on this file since 922 was
922,
checked in by sherbold, 12 years ago
|
- renaming of packages from de.ugoe.cs.quest to de.ugoe.cs.autoquest
|
File size:
1.4 KB
|
Line | |
---|
1 | package de.ugoe.cs.autoquest.usability; |
---|
2 | |
---|
3 | import static org.junit.Assert.assertNotNull; |
---|
4 | import static org.junit.Assert.assertNotSame; |
---|
5 | |
---|
6 | import java.util.HashMap; |
---|
7 | import java.util.Map; |
---|
8 | |
---|
9 | import org.junit.Test; |
---|
10 | |
---|
11 | import de.ugoe.cs.autoquest.usability.UsabilityDefectDescription; |
---|
12 | |
---|
13 | /** |
---|
14 | * TODO comment |
---|
15 | * |
---|
16 | * @version $Revision: $ $Date: 20.07.2012$ |
---|
17 | * @author 2012, last modified by $Author: pharms$ |
---|
18 | */ |
---|
19 | public class UsabilityDefectDescriptionTest { |
---|
20 | |
---|
21 | /** |
---|
22 | * TODO: comment |
---|
23 | * |
---|
24 | */ |
---|
25 | @Test |
---|
26 | public void testInitialization() { |
---|
27 | for (UsabilityDefectDescription description : UsabilityDefectDescription.values()) { |
---|
28 | assertNotNull(description.toString()); |
---|
29 | assertNotSame("", description.toString()); |
---|
30 | System.err.println(description); |
---|
31 | } |
---|
32 | } |
---|
33 | |
---|
34 | /** |
---|
35 | * TODO: comment |
---|
36 | * |
---|
37 | */ |
---|
38 | @Test |
---|
39 | public void testParameterization() { |
---|
40 | for (UsabilityDefectDescription description : UsabilityDefectDescription.values()) { |
---|
41 | Map<String, String> parameters = new HashMap<String, String>(); |
---|
42 | |
---|
43 | for (String parameter : description.getDescriptionParameters()) { |
---|
44 | parameters.put(parameter, "<parameter " + parameter + ">"); |
---|
45 | } |
---|
46 | |
---|
47 | assertNotNull(description.toString(parameters)); |
---|
48 | assertNotSame("", description.toString(parameters)); |
---|
49 | System.err.println(description.toString(parameters)); |
---|
50 | } |
---|
51 | } |
---|
52 | |
---|
53 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.