Changeset 1148 for trunk/autoquest-core-usability/src/main/java
- Timestamp:
- 04/04/13 16:25:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-usability/src/main/java/de/ugoe/cs/autoquest/usability/UsabilityEvaluationManager.java
r927 r1148 19 19 import java.util.logging.Level; 20 20 21 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskTree; 21 import de.ugoe.cs.autoquest.tasktrees.query.TaskTreeQueryProcessor; 22 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 22 23 import de.ugoe.cs.util.console.Console; 23 24 … … 55 56 * @param taskTree 56 57 */ 57 public UsabilityEvaluationResult evaluateUsability(ITask TreetaskTree) {58 public UsabilityEvaluationResult evaluateUsability(ITaskModel taskTree) { 58 59 Console.traceln(Level.INFO, "evaluating usability of task tree " + taskTree); 59 60 60 61 List<UsabilityEvaluationResult> results = new ArrayList<UsabilityEvaluationResult>(); 62 TaskTreeQueryProcessor queryProcessor = new TaskTreeQueryProcessor(taskTree); 61 63 62 64 for (UsabilityEvaluationRule rule : rules) { 63 65 Console.traceln(Level.INFO, "applying rule " + rule.getClass().getSimpleName()); 64 UsabilityEvaluationResult result = rule.evaluate( taskTree);66 UsabilityEvaluationResult result = rule.evaluate(queryProcessor); 65 67 results.add(result); 66 68 Console.traceln(Level.INFO, "the rule found " + result.getAllDefects().size() +
Note: See TracChangeset
for help on using the changeset viewer.