Changeset 1034 for autoquest-core-usability-evaluation-test/src/main/java
- Timestamp:
- 01/13/13 17:06:53 (12 years ago)
- Location:
- autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationReportTest.java
r1030 r1034 39 39 .createUsabilityGuidlineRecommendation(UsabilityDefectSeverityLevel.INFO, 40 40 new DummyUsabilityRuleset() 41 . getRulesetForUsabilityEvaluation()41 .evaluationRules() 42 42 .iterator().next(), 43 43 Collections.<String, String> emptyMap())); -
autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/evaluation/rule/evaluator/NoLetterOrDigitTextInputsEvaluatorTest.java
r1030 r1034 33 33 public void initRuleUnderTest() { 34 34 EnumSet<? extends UsabilityRule> ruleset = 35 textInputUsabiliyRuleset(). getRulesetForUsabilityEvaluation();35 textInputUsabiliyRuleset().evaluationRules(); 36 36 this.ruleUnderTest = Iterables.find(ruleset, new Predicate<UsabilityRule>() { 37 37 -
autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/evaluation/rule/evaluator/TextInputEntryRepetitionsEvaluatorTest.java
r1030 r1034 33 33 public void initRuleUnderTest() { 34 34 EnumSet<? extends UsabilityRule> ruleset = 35 textInputUsabiliyRuleset(). getRulesetForUsabilityEvaluation();35 textInputUsabiliyRuleset().evaluationRules(); 36 36 this.ruleUnderTest = Iterables.find(ruleset, new Predicate<UsabilityRule>() { 37 37 … … 85 85 new TextInputEntryRepetitionsEvaluator(this.ruleUnderTest, taskTree).evaluationResult(); 86 86 // Then 87 assertThat(recommendation).is(present()).has(lowRecommendationSeverityLevel()); 88 } 87 assertThat(recommendation).is(present()).has(lowRecommendationSeverityLevel()); } 89 88 90 89 @Test -
autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/evaluation/rule/evaluator/TextInputRatioEvaluatorTest.java
r1030 r1034 33 33 public void initRuleUnderTest() { 34 34 EnumSet<? extends UsabilityRule> ruleset = 35 textInputUsabiliyRuleset(). getRulesetForUsabilityEvaluation();35 textInputUsabiliyRuleset().evaluationRules(); 36 36 this.ruleUnderTest = Iterables.find(ruleset, new Predicate<UsabilityRule>() { 37 37 -
autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/testutil/DummyUsabilityRuleset.java
r1030 r1034 50 50 EnumSet.allOf(DummyUsabilityRule.class); 51 51 52 public EnumSet<? extends UsabilityRule> getRulesetForUsabilityEvaluation() {52 public EnumSet<? extends UsabilityRule> evaluationRules() { 53 53 return DUMMY_USABILITY_RULESET; 54 54 } -
autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/testutil/FestConditionUtil.java
r1030 r1034 41 41 @Override 42 42 public boolean matches(UsabilityRuleset usabilityRuleset) { 43 return usabilityRuleset. getRulesetForUsabilityEvaluation().isEmpty();43 return usabilityRuleset.evaluationRules().isEmpty(); 44 44 } 45 45 … … 53 53 @Override 54 54 public boolean matches(UsabilityRuleset usabilityRuleset) { 55 return !usabilityRuleset. getRulesetForUsabilityEvaluation().isEmpty();55 return !usabilityRuleset.evaluationRules().isEmpty(); 56 56 } 57 57
Note: See TracChangeset
for help on using the changeset viewer.