}
public void xtestOutputIsResetCorrectly() throws IOException, InterruptedException, InvocationTargetException {
editor.setText("#{{{ Marathon\ndef test():\n");
editor.setData("filename", "dummy");
display.play(new StdOutConsole());
agentOutput("fire 1");
agentOutput("fire 2");
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
}
});
display.showResult(new PlaybackResult());
assertEquals("fire 1fire 2", view.getOutputPane().getText());
display.play(new StdOutConsole());
assertEquals("", view.getOutputPane().getText());
agentOutput("fire 3");
SwingUtilities.invokeAndWait(new Runnable() {
public void run() {
}