Ignore:
Timestamp:
08/30/12 13:29:50 (12 years ago)
Author:
sherbold
Message:
  • removed class ReplayGenerator? and moved its functionality to the command generateReplayfile.
  • removed command generateRandomReplay. It was redundant with the combination of of generateReplayfile and generateRandomSequences
File:
1 edited

Legend:

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

    r655 r706  
    1818import org.junit.Test; 
    1919 
    20 import de.ugoe.cs.quest.ReplayGenerator; 
    2120import de.ugoe.cs.quest.eventcore.Event; 
    2221import de.ugoe.cs.quest.eventcore.guimodel.GUIModel; 
     22import de.ugoe.cs.util.console.CommandExecuter; 
    2323import de.ugoe.cs.util.console.Console; 
     24import de.ugoe.cs.util.console.GlobalDataContainer; 
    2425import de.ugoe.cs.util.console.listener.IOutputListener; 
    2526 
     
    137138        guiModel.dump(System.err); 
    138139 
    139         ReplayGenerator generator = new ReplayGenerator(); 
    140         generator.createLogfileMultipleSessions(parser.getSequences(), tmpFile.getAbsolutePath()); 
     140         
     141        GlobalDataContainer.getInstance().addData("seqs",  parser.getSequences()); 
     142         
     143        CommandExecuter.getInstance().exec("generateReplayfile " + tmpFile.getAbsolutePath() + " seqs"); 
    141144         
    142145        InputStreamReader reader1 =  
Note: See TracChangeset for help on using the changeset viewer.