Changeset 1326 for trunk/autoquest-plugin-usability2-test/src/main/java
- Timestamp:
- 01/12/14 17:51:58 (11 years ago)
- Location:
- trunk/autoquest-plugin-usability2-test
- Files:
-
- 19 added
- 25 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/contains/ContainsAndEndsWithEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/contains/ContainsEventTest.java
r1218 r1326 22 22 import org.junit.Test; 23 23 24 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;25 24 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 27 27 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 28 28 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/contains/ContainsPatternTest.java
r1218 r1326 22 22 import org.junit.Test; 23 23 24 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;25 24 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 27 27 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 28 28 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/endswith/EndsWithEventTest.java
r1218 r1326 21 21 import org.junit.Test; 22 22 23 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;24 23 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 25 24 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 26 26 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 27 27 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/endswith/EndsWithPatternTest.java
r1218 r1326 24 24 import org.junit.Test; 25 25 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 28 27 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 28 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 29 29 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 30 30 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsAndEndsWithEventAndContainsEventTest.java
r1218 r1326 22 22 import org.junit.Test; 23 23 24 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;25 24 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 27 27 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 28 28 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsAndEndsWithEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsAndEndsWithPatternAndContainsPatternTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsAndEndsWithPatternTest.java
r1218 r1326 24 24 import org.junit.Test; 25 25 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 28 27 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 28 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 29 29 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 30 30 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventAndContainsEventTest.java
r1218 r1326 22 22 import org.junit.Test; 23 23 24 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;25 24 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 27 27 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 28 28 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventAndContainsPatternTest.java
r1319 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventAndEndsWithPatternTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventContainsEventEndsWithPatternTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventContainsPatternAndEndsWithEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventContainsPatternAndEndsWithPatternTest.java
r1319 r1326 24 24 import org.junit.Test; 25 25 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 28 27 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 28 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 29 29 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 30 30 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithEventTest.java
r1218 r1326 21 21 import org.junit.Test; 22 22 23 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;24 23 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 25 24 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 26 26 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 27 27 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternAndContainsEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternAndContainsPatternTest.java
r1218 r1326 24 24 import org.junit.Test; 25 25 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 28 27 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 28 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 29 29 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 30 30 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternAndEndsWithEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternContainsEventAndEndsWithEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternContainsEventAndEndsWithPatternTest.java
r1218 r1326 24 24 import org.junit.Test; 25 25 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 28 27 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 28 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 29 29 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 30 30 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternContainsPatternAndEndsWithEventTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/rules/patterns/visitors/startswith/StartsWithPatternTest.java
r1218 r1326 23 23 import org.junit.Test; 24 24 25 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel;26 25 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPattern; 27 26 import de.ugoe.cs.autoquest.usability.rules.patterns.InteractionPatternBuilder; 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskModel; 28 28 import de.ugoe.cs.autoquest.usability.testutil.GenerateTaskModelUtil; 29 29 -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/testutil/FestConditionUtil.java
r1218 r1326 18 18 19 19 import com.google.common.base.Optional; 20 20 21 21 22 import de.ugoe.cs.autoquest.usability.result.UsabilityProblemDescription; -
trunk/autoquest-plugin-usability2-test/src/main/java/de/ugoe/cs/autoquest/usability/testutil/GenerateTaskModelUtil.java
r1218 r1326 36 36 import de.ugoe.cs.autoquest.tasktrees.treeimpl.TaskFactory; 37 37 import de.ugoe.cs.autoquest.test.CommandRunner; 38 import de.ugoe.cs.util.console.Command; 38 39 import de.ugoe.cs.util.console.GlobalDataContainer; 39 40 import de.ugoe.cs.util.console.TextConsole; … … 64 65 65 66 public static ITaskModel getTaskTreeFromFile(String filename) { 67 return getTaskTreeFromFile(filename, CMDparseJFC.class); 68 } 69 70 public static ITaskModel getTaskTreeFromFile(String filename, Class<? extends Command> parserClass) { 66 71 new TextConsole(Level.ALL); 67 parseTraceFile(filename );72 parseTraceFile(filename, parserClass); 68 73 condenseGuiModel(); 69 74 sortKeyInteractions(); … … 74 79 } 75 80 76 static private void parseTraceFile(String filetoparse ) {77 CommandRunner.runCommand( CMDparseJFC.class, ClassLoader.getSystemResource(filetoparse)81 static private void parseTraceFile(String filetoparse, Class<? extends Command> parserClass) { 82 CommandRunner.runCommand(parserClass, ClassLoader.getSystemResource(filetoparse) 78 83 .getFile(), seqName); 79 84 }
Note: See TracChangeset
for help on using the changeset viewer.