Changeset 1493 for trunk/autoquest-core-usability-test/src/test/java/de/ugoe/cs/autoquest/usability/UsabilityDefectDescriptionTest.java
- Timestamp:
- 04/11/14 11:21:45 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-test/src/test/java/de/ugoe/cs/autoquest/usability/UsabilityDefectDescriptionTest.java
r927 r1493 19 19 20 20 import java.util.HashMap; 21 import java.util.LinkedList; 22 import java.util.List; 21 23 import java.util.Map; 22 24 … … 26 28 27 29 /** 28 * TODO comment 29 * 30 * @version $Revision: $ $Date: 20.07.2012$ 31 * @author 2012, last modified by $Author: pharms$ 30 * @author Patrick Harms 32 31 */ 33 32 public class UsabilityDefectDescriptionTest { 34 33 35 34 /** 36 * TODO: comment37 35 * 38 36 */ … … 47 45 48 46 /** 49 * TODO: comment50 47 * 51 48 */ 52 49 @Test 53 public void testParameterization () {50 public void testParameterization_01() { 54 51 for (UsabilityDefectDescription description : UsabilityDefectDescription.values()) { 55 Map<String, String> parameters = new HashMap<String, String>();52 Map<String, Object> parameters = new HashMap<String, Object>(); 56 53 57 54 for (String parameter : description.getDescriptionParameters()) { … … 65 62 } 66 63 64 65 /** 66 * 67 */ 68 @Test 69 public void testParameterization_02() { 70 for (UsabilityDefectDescription description : UsabilityDefectDescription.values()) { 71 Map<String, Object> parameters = new HashMap<String, Object>(); 72 73 for (String parameter : description.getDescriptionParameters()) { 74 List<String> values = new LinkedList<String>(); 75 values.add("<parameter " + parameter + " value 1>"); 76 values.add("<parameter " + parameter + " value 2>"); 77 values.add("<parameter " + parameter + " value 3>"); 78 parameters.put(parameter, values); 79 } 80 81 assertNotNull(description.toString(parameters)); 82 assertNotSame("", description.toString(parameters)); 83 System.err.println(description.toString(parameters)); 84 } 85 } 86 67 87 }
Note: See TracChangeset
for help on using the changeset viewer.