Ignore:
Timestamp:
06/06/13 17:09:49 (11 years ago)
Author:
adeicke
Message:

Adjustments according to renaming refactorings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/metrics/NoLetterOrDigitTextInputsEvaluatorTest.java

    r1201 r1218  
    2828 
    2929import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 
    30 import de.ugoe.cs.autoquest.usability.result.UsabilityDefect; 
     30import de.ugoe.cs.autoquest.usability.result.UsabilityProblemDescription; 
    3131import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 
    3232 
     
    5050        ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 
    5151        // When 
    52         Optional<UsabilityDefect> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
     52        Optional<UsabilityProblemDescription> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
    5353        // Then 
    5454        assertThat(recommendation).is(absent()); 
     
    6666        ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 
    6767        // When 
    68         Optional<UsabilityDefect> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
     68        Optional<UsabilityProblemDescription> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
    6969        // Then 
    7070        assertThat(recommendation).is(present()).has(infoRecommendationSeverityLevel()); 
     
    8181        ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 
    8282        // When 
    83         Optional<UsabilityDefect> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
     83        Optional<UsabilityProblemDescription> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
    8484        // Then 
    8585        assertThat(recommendation).is(present()).has(lowRecommendationSeverityLevel()); 
     
    9696        ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 
    9797        // When 
    98         Optional<UsabilityDefect> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
     98        Optional<UsabilityProblemDescription> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
    9999        // Then 
    100100        assertThat(recommendation).is(present()).has(mediumRecommendationSeverityLevel()); 
     
    111111        ITaskModel taskTree = GenerateTaskModelUtil.getTaskModelFromSpec(spec); 
    112112        // When 
    113         Optional<UsabilityDefect> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
     113        Optional<UsabilityProblemDescription> recommendation = new NoLetterOrDigitRatioMetric(taskTree).calculate(); 
    114114        // Then 
    115115        assertThat(recommendation).is(present()).has(highRecommendationSeverityLevel()); 
Note: See TracChangeset for help on using the changeset viewer.