Changeset 1040 for trunk/autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationReportTest.java
- Timestamp:
- 01/16/13 17:51:51 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability-evaluation-test/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationReportTest.java
r1034 r1040 1 // Copyright 2012 Georg-August-Universität Göttingen, Germany 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 // 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 1 14 2 15 package de.ugoe.cs.autoquest.usability; … … 18 31 import de.ugoe.cs.autoquest.usability.testutil.DummyUsabilityRuleset; 19 32 33 /** 34 * <p> 35 * TODO comment 36 * </p> 37 * 38 * @author Alexander Deicke 39 */ 20 40 public class UsabilityEvaluationReportTest { 21 41 … … 28 48 public void usability_report_from_empty_list_has_no_recommendations() { 29 49 UsabilityEvaluationReport evaluationReport = 30 UsabilityEvaluationReport.from(Collections 31 .<UsabilityDefect> emptyList()); 50 UsabilityEvaluationReport.from(Collections.<UsabilityDefect> emptyList()); 32 51 assertThat(evaluationReport).isNotNull().has(noUsabilityGuidlineRecommendations()); 33 52 } … … 36 55 public void usability_report_from_non_empty_list_has_recommendations() { 37 56 List<UsabilityDefect> guidlineRecommendations = 38 Lists.newArrayList(new UsabilityDefectFactory(new DummyUsabilityGuidlineDescriptionResolver()) 57 Lists 58 .newArrayList(new UsabilityDefectFactory( 59 new DummyUsabilityGuidlineDescriptionResolver()) 39 60 .createUsabilityGuidlineRecommendation(UsabilityDefectSeverityLevel.INFO, 40 61 new DummyUsabilityRuleset() 41 .evaluationRules() 42 .iterator().next(), 62 .evaluationRules().iterator().next(), 43 63 Collections.<String, String> emptyMap())); 44 64 UsabilityEvaluationReport evaluationReport =
Note: See TracChangeset
for help on using the changeset viewer.