Ignore:
Timestamp:
01/16/13 17:51:51 (11 years ago)
Author:
adeicke
Message:
  • Removed lombok related annotations and util class
  • Added comments and formating due to match project defaults
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. 
    114 
    215package de.ugoe.cs.autoquest.usability; 
     
    1831import de.ugoe.cs.autoquest.usability.testutil.DummyUsabilityRuleset; 
    1932 
     33/** 
     34 * <p> 
     35 * TODO comment 
     36 * </p> 
     37 *  
     38 * @author Alexander Deicke 
     39 */ 
    2040public class UsabilityEvaluationReportTest { 
    2141 
     
    2848    public void usability_report_from_empty_list_has_no_recommendations() { 
    2949        UsabilityEvaluationReport evaluationReport = 
    30             UsabilityEvaluationReport.from(Collections 
    31                 .<UsabilityDefect> emptyList()); 
     50            UsabilityEvaluationReport.from(Collections.<UsabilityDefect> emptyList()); 
    3251        assertThat(evaluationReport).isNotNull().has(noUsabilityGuidlineRecommendations()); 
    3352    } 
     
    3655    public void usability_report_from_non_empty_list_has_recommendations() { 
    3756        List<UsabilityDefect> guidlineRecommendations = 
    38             Lists.newArrayList(new UsabilityDefectFactory(new DummyUsabilityGuidlineDescriptionResolver()) 
     57            Lists 
     58                .newArrayList(new UsabilityDefectFactory( 
     59                                                         new DummyUsabilityGuidlineDescriptionResolver()) 
    3960                    .createUsabilityGuidlineRecommendation(UsabilityDefectSeverityLevel.INFO, 
    4061                                                           new DummyUsabilityRuleset() 
    41                                                                .evaluationRules() 
    42                                                                .iterator().next(), 
     62                                                               .evaluationRules().iterator().next(), 
    4363                                                           Collections.<String, String> emptyMap())); 
    4464        UsabilityEvaluationReport evaluationReport = 
Note: See TracChangeset for help on using the changeset viewer.