public void testDoubleClear() throws Exception {
ConsoleViewImpl console = myConsole;
Alarm alarm = new Alarm(Alarm.ThreadToUse.SHARED_THREAD);
public void testDoubleClear() throws Exception {
ConsoleViewImpl console = myConsole;
Alarm alarm = new Alarm(Alarm.ThreadToUse.SHARED_THREAD);
ConsoleViewImpl console = myConsole;
console.clear();
EditorActionManager actionManager = EditorActionManager.getInstance();
ConsoleViewImpl console = myConsole;
console.clear();
EditorActionManager actionManager = EditorActionManager.getInstance();
TypedAction action = actionManager.getTypedAction();
action.actionPerformed(console.getEditor(), 'h', dataContext);
assertEquals(1, console.getContentSize());
TypedAction action = actionManager.getTypedAction();
action.actionPerformed(console.getEditor(), 'h', dataContext);
assertEquals(1, console.getContentSize());