Changeset 707


Ignore:
Timestamp:
08/30/12 13:34:30 (12 years ago)
Author:
sherbold
Message:
  • changed MFCLogParserTest to use CMDgenerateReplayfile directly instead of using the CommandExecutor?
  • removed dependency on quest-ui-core from quest-ui-swt
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/quest-plugin-mfc-test/src/test/java/de/ugoe/cs/quest/plugin/mfc/MFCLogParserTest.java

    r706 r707  
    1111import java.io.InputStreamReader; 
    1212import java.io.PrintStream; 
     13import java.util.ArrayList; 
    1314import java.util.Collection; 
    1415import java.util.List; 
     
    2021import de.ugoe.cs.quest.eventcore.Event; 
    2122import de.ugoe.cs.quest.eventcore.guimodel.GUIModel; 
    22 import de.ugoe.cs.util.console.CommandExecuter; 
     23import de.ugoe.cs.quest.ui.commands.CMDgenerateReplayfile; 
    2324import de.ugoe.cs.util.console.Console; 
    2425import de.ugoe.cs.util.console.GlobalDataContainer; 
     
    141142        GlobalDataContainer.getInstance().addData("seqs",  parser.getSequences()); 
    142143         
    143         CommandExecuter.getInstance().exec("generateReplayfile " + tmpFile.getAbsolutePath() + " seqs"); 
     144        List<Object> parameters = new ArrayList<Object>(); 
     145        parameters.add(tmpFile.getAbsolutePath()); 
     146        parameters.add("seqs"); 
     147         
     148        CMDgenerateReplayfile cmd = new CMDgenerateReplayfile(); 
     149        cmd.run(parameters); 
    144150         
    145151        InputStreamReader reader1 =  
  • trunk/quest-ui-swt/pom.xml

    r526 r707  
    3737                        <groupId>de.ugoe.cs.quest</groupId> 
    3838                        <artifactId>quest-core-usageprofiles</artifactId> 
    39                         <version>0.0.1-SNAPSHOT</version> 
    40                 </dependency> 
    41                 <dependency> 
    42                         <groupId>de.ugoe.cs.quest</groupId> 
    43                         <artifactId>quest-ui-core</artifactId> 
    4439                        <version>0.0.1-SNAPSHOT</version> 
    4540                </dependency> 
Note: See TracChangeset for help on using the changeset viewer.