Ignore:
Timestamp:
04/11/14 11:21:45 (10 years ago)
Author:
pharms
Message:
  • state of the HCSE 2014 Paper. An appropriate tag will follow.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usability-test/src/test/java/de/ugoe/cs/autoquest/usability/UsabilityDefectDescriptionTest.java

    r927 r1493  
    1919 
    2020import java.util.HashMap; 
     21import java.util.LinkedList; 
     22import java.util.List; 
    2123import java.util.Map; 
    2224 
     
    2628 
    2729/** 
    28  * TODO comment 
    29  *  
    30  * @version $Revision: $ $Date: 20.07.2012$ 
    31  * @author 2012, last modified by $Author: pharms$ 
     30 * @author Patrick Harms 
    3231 */ 
    3332public class UsabilityDefectDescriptionTest { 
    3433 
    3534    /** 
    36      * TODO: comment 
    3735     *  
    3836     */ 
     
    4745 
    4846    /** 
    49      * TODO: comment 
    5047     *  
    5148     */ 
    5249    @Test 
    53     public void testParameterization() { 
     50    public void testParameterization_01() { 
    5451        for (UsabilityDefectDescription description : UsabilityDefectDescription.values()) { 
    55             Map<String, String> parameters = new HashMap<String, String>(); 
     52            Map<String, Object> parameters = new HashMap<String, Object>(); 
    5653 
    5754            for (String parameter : description.getDescriptionParameters()) { 
     
    6562    } 
    6663 
     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 
    6787} 
Note: See TracChangeset for help on using the changeset viewer.