Ignore:
Timestamp:
04/29/13 16:43:17 (12 years ago)
Author:
pharms
Message:
  • remove a find bugs warning
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  
    2424import de.ugoe.cs.autoquest.tasktrees.taskequality.IterationComparisonRule; 
    2525import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 
    26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager; 
    2726import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 
    2827import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 
     
    4443    @Test 
    4544    public void test() { 
    46         TaskEqualityRuleManager manager = new TaskEqualityRuleManager(); 
    47         manager.init(); 
    48          
    4945        ITaskFactory taskFactory = new TaskFactory(); 
    5046        ITaskBuilder treeBuilder = new TaskBuilder(); 
    5147         
    52         IterationComparisonRule rule = new IterationComparisonRule(manager); 
     48        IterationComparisonRule rule = new IterationComparisonRule(); 
    5349         
    5450        IEventType eventType1 = new StringEventType("eventType1"); 
  • trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/SelectionComparisonRuleTest.java

    r1146 r1190  
    2424import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 
    2525import de.ugoe.cs.autoquest.tasktrees.taskequality.SelectionComparisonRule; 
    26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager; 
    2726import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 
    2827import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 
     
    4443    @Test 
    4544    public void test() { 
    46         TaskEqualityRuleManager manager = new TaskEqualityRuleManager(); 
    47         manager.init(); 
    48          
    4945        ITaskFactory taskFactory = new TaskFactory(); 
    5046        ITaskBuilder treeBuilder = new TaskBuilder(); 
    5147         
    52         SelectionComparisonRule rule = new SelectionComparisonRule(manager); 
     48        SelectionComparisonRule rule = new SelectionComparisonRule(); 
    5349         
    5450        IEventType eventType1 = new StringEventType("eventType1"); 
  • trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/SequenceComparisonRuleTest.java

    r1146 r1190  
    2424import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 
    2525import de.ugoe.cs.autoquest.tasktrees.taskequality.SequenceComparisonRule; 
    26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager; 
    2726import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 
    2827import de.ugoe.cs.autoquest.tasktrees.treeifc.ISequence; 
     
    4443    @Test 
    4544    public void test() { 
    46         TaskEqualityRuleManager manager = new TaskEqualityRuleManager(); 
    47         manager.init(); 
    48          
    4945        ITaskFactory taskFactory = new TaskFactory(); 
    5046        ITaskBuilder treeBuilder = new TaskBuilder(); 
    5147         
    52         SequenceComparisonRule rule = new SequenceComparisonRule(manager); 
     48        SequenceComparisonRule rule = new SequenceComparisonRule(); 
    5349         
    5450        IEventType eventType1 = new StringEventType("eventType1"); 
  • trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskAndIterationComparisonRuleTest.java

    r1146 r1190  
    2424import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskAndIterationComparisonRule; 
    2525import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 
    26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager; 
    2726import de.ugoe.cs.autoquest.tasktrees.treeifc.IIteration; 
    2827import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 
     
    4443    @Test 
    4544    public void test() { 
    46         TaskEqualityRuleManager manager = new TaskEqualityRuleManager(); 
    47         manager.init(); 
    48          
    4945        ITaskFactory taskFactory = new TaskFactory(); 
    5046        ITaskBuilder treeBuilder = new TaskBuilder(); 
    5147         
    52         TaskAndIterationComparisonRule rule = new TaskAndIterationComparisonRule(manager); 
     48        TaskAndIterationComparisonRule rule = new TaskAndIterationComparisonRule(); 
    5349         
    5450        IEventType eventType1 = new StringEventType("eventType1"); 
  • trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/taskequality/TaskAndSelectionComparisonRuleTest.java

    r1146 r1190  
    2424import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskAndSelectionComparisonRule; 
    2525import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEquality; 
    26 import de.ugoe.cs.autoquest.tasktrees.taskequality.TaskEqualityRuleManager; 
    2726import de.ugoe.cs.autoquest.tasktrees.treeifc.ISelection; 
    2827import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskBuilder; 
     
    4342    @Test 
    4443    public void test() { 
    45         TaskEqualityRuleManager manager = new TaskEqualityRuleManager(); 
    46         manager.init(); 
    47          
    4844        ITaskFactory taskFactory = new TaskFactory(); 
    4945        ITaskBuilder treeBuilder = new TaskBuilder(); 
    5046         
    51         TaskAndSelectionComparisonRule rule = new TaskAndSelectionComparisonRule(manager); 
     47        TaskAndSelectionComparisonRule rule = new TaskAndSelectionComparisonRule(); 
    5248         
    5349        IEventType eventType1 = new StringEventType("eventType1"); 
  • trunk/autoquest-core-tasktrees-test/src/test/java/de/ugoe/cs/autoquest/tasktrees/temporalrelation/AbstractTemporalRelationshipTC.java

    r1146 r1190  
    3333import de.ugoe.cs.autoquest.tasktrees.TaskTreeValidator; 
    3434import 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; 
    3735import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskInstanceList; 
    3836import de.ugoe.cs.autoquest.tasktrees.treeifc.ITaskBuilder; 
     
    6260    private TaskTreeEncoder encoder = new TaskTreeEncoder(); 
    6361     
    64     /** */ 
    65     private TaskEqualityRuleManager taskEqualityRuleManager = 
    66         Utilities.getTaskEqualityRuleManagerForTests(); 
    67  
    6862    /** 
    6963     * 
     
    9791                    parameters.add(taskBuilder); 
    9892                } 
    99                 else if (TaskEqualityRuleManager.class.equals(type)) { 
    100                     parameters.add(taskEqualityRuleManager); 
    101                 } 
    10293                else if (TaskEquality.class.equals(type)) { 
    10394                    parameters.add(TaskEquality.LEXICALLY_EQUAL); 
     
    192183                    parameters.add(taskBuilder); 
    193184                } 
    194                 else if (TaskEqualityRuleManager.class.equals(type)) { 
    195                     parameters.add(taskEqualityRuleManager); 
    196                 } 
    197185                else if (TaskEquality.class.equals(type)) { 
    198186                    parameters.add(TaskEquality.LEXICALLY_EQUAL); 
Note: See TracChangeset for help on using the changeset viewer.