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