Changeset 1190 for trunk/autoquest-core-tasktrees-test/src/test
- Timestamp:
- 04/29/13 16:43:17 (12 years ago)
- Location:
- trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/IterationComparisonRuleTest.java
r1146 r1190 24 24 import de.ugoe.cs.autoquest.tasktrees.taskequality.IterationComparisonRule; 25 25 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager;27 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 28 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; … … 44 43 @Test 45 44 public void test() { 46 TaskEqualityRuleManager manager = new TaskEqualityRuleManager();47 manager.init();48 49 45 ITaskFactory taskFactory = new TaskFactory(); 50 46 ITaskBuilder treeBuilder = new TaskBuilder(); 51 47 52 IterationComparisonRule rule = new IterationComparisonRule( manager);48 IterationComparisonRule rule = new IterationComparisonRule(); 53 49 54 50 IEventType eventType1 = new StringEventType("eventType1"); -
trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/SelectionComparisonRuleTest.java
r1146 r1190 24 24 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 25 25 import de.ugoe.cs.autoquest.tasktrees.taskequality.SelectionComparisonRule; 26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager;27 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 28 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; … … 44 43 @Test 45 44 public void test() { 46 TaskEqualityRuleManager manager = new TaskEqualityRuleManager();47 manager.init();48 49 45 ITaskFactory taskFactory = new TaskFactory(); 50 46 ITaskBuilder treeBuilder = new TaskBuilder(); 51 47 52 SelectionComparisonRule rule = new SelectionComparisonRule( manager);48 SelectionComparisonRule rule = new SelectionComparisonRule(); 53 49 54 50 IEventType eventType1 = new StringEventType("eventType1"); -
trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/SequenceComparisonRuleTest.java
r1146 r1190 24 24 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 25 25 import de.ugoe.cs.autoquest.tasktrees.taskequality.SequenceComparisonRule; 26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager;27 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 28 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; … … 44 43 @Test 45 44 public void test() { 46 TaskEqualityRuleManager manager = new TaskEqualityRuleManager();47 manager.init();48 49 45 ITaskFactory taskFactory = new TaskFactory(); 50 46 ITaskBuilder treeBuilder = new TaskBuilder(); 51 47 52 SequenceComparisonRule rule = new SequenceComparisonRule( manager);48 SequenceComparisonRule rule = new SequenceComparisonRule(); 53 49 54 50 IEventType eventType1 = new StringEventType("eventType1"); -
trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskAndIterationComparisonRuleTest.java
r1146 r1190 24 24 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskAndIterationComparisonRule; 25 25 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager;27 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 28 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; … … 44 43 @Test 45 44 public void test() { 46 TaskEqualityRuleManager manager = new TaskEqualityRuleManager();47 manager.init();48 49 45 ITaskFactory taskFactory = new TaskFactory(); 50 46 ITaskBuilder treeBuilder = new TaskBuilder(); 51 47 52 TaskAndIterationComparisonRule rule = new TaskAndIterationComparisonRule( manager);48 TaskAndIterationComparisonRule rule = new TaskAndIterationComparisonRule(); 53 49 54 50 IEventType eventType1 = new StringEventType("eventType1"); -
trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskAndSelectionComparisonRuleTest.java
r1146 r1190 24 24 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskAndSelectionComparisonRule; 25 25 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager;27 26 import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 28 27 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskBuilder; … … 43 42 @Test 44 43 public void test() { 45 TaskEqualityRuleManager manager = new TaskEqualityRuleManager();46 manager.init();47 48 44 ITaskFactory taskFactory = new TaskFactory(); 49 45 ITaskBuilder treeBuilder = new TaskBuilder(); 50 46 51 TaskAndSelectionComparisonRule rule = new TaskAndSelectionComparisonRule( manager);47 TaskAndSelectionComparisonRule rule = new TaskAndSelectionComparisonRule(); 52 48 53 49 IEventType eventType1 = new StringEventType("eventType1"); -
trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/AbstractTemporalRelationshipTC.java
r1146 r1190 33 33 import de.ugoe.cs.autoquest.tasktrees.TaskTreeValidator; 34 34 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 35 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager;36 import de.ugoe.cs.autoquest.tasktrees.testutils.Utilities;37 35 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskInstanceList; 38 36 import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskBuilder; … … 62 60 private TaskTreeEncoder encoder = new TaskTreeEncoder(); 63 61 64 /** */65 private TaskEqualityRuleManager taskEqualityRuleManager =66 Utilities.getTaskEqualityRuleManagerForTests();67 68 62 /** 69 63 * … … 97 91 parameters.add(taskBuilder); 98 92 } 99 else if (TaskEqualityRuleManager.class.equals(type)) {100 parameters.add(taskEqualityRuleManager);101 }102 93 else if (TaskEquality.class.equals(type)) { 103 94 parameters.add(TaskEquality.LEXICALLY_EQUAL); … … 192 183 parameters.add(taskBuilder); 193 184 } 194 else if (TaskEqualityRuleManager.class.equals(type)) {195 parameters.add(taskEqualityRuleManager);196 }197 185 else if (TaskEquality.class.equals(type)) { 198 186 parameters.add(TaskEquality.LEXICALLY_EQUAL);
Note: See TracChangeset
for help on using the changeset viewer.