Example #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);
 }
Example #2
0
 /** Test method for {@link gui.view.GUIFrame#getBaseController()}. */
 @Test
 public void testGetBaseController() {
   assertNotNull(testFrame.getBaseController());
   assertTrue(testFrame.getBaseController() instanceof GuiController2);
 }