Package org.infinitest.intellij.plugin.swingui

Examples of org.infinitest.intellij.plugin.swingui.EventInfoFrame


import org.junit.*;

public class WhenInfoFrameIsShowing {
  @Test
  public void shouldCloseWithEscapeKey() {
    EventInfoFrame frame = new EventInfoFrame(withATest());
    assertEquals(frame.getRootPane().getActionMap().keys()[0], "ESCAPE");
  }
View Full Code Here


    assertEquals("50 more...", lines[50]);
  }

  public static void main(String[] args) {
    AssertionError assertionError = new AssertionError("This is a very long error message. Who would type such a message? It's crazy. This is much too long. This must be stopped. It cannot be allowed to continue.");
    EventInfoFrame frame = new EventInfoFrame(methodFailed("message", "", assertionError));
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setVisible(true);
  }
View Full Code Here

TOP

Related Classes of org.infinitest.intellij.plugin.swingui.EventInfoFrame

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.