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
File:
1 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 =  
Note: See TracChangeset for help on using the changeset viewer.