Ejemplo n.º 1
0
 /** Test method for {@link gui.view.GUIFrame#GUIFrame(gui.controller.GUIAppController)}. */
 @Test
 public void testGUIFrame() {
   assertTrue(testFrame.getContentPane() instanceof HipsterPanel);
   assertTrue(testFrame.isVisible());
   assertTrue(testFrame.getWidth() > 100);
   assertTrue(testFrame.getHeight() > 100);
 }
Ejemplo n.º 2
0
 /** Test method for {@link gui.view.GUIFrame#getBaseController()}. */
 @Test
 public void testGetBaseController() {
   assertNotNull(testFrame.getBaseController());
   assertTrue(testFrame.getBaseController() instanceof HipsterController);
 }