net.curre.prefcount.gui
Class GeneralTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.curre.prefcount.test.BaseTestCase
              extended by net.curre.prefcount.gui.GeneralTest
All Implemented Interfaces:
junit.framework.Test

public class GeneralTest
extends BaseTestCase

This is a junit test for testing main GUI functionality.

Created date: Nov 27, 2007

Author:
Yevgeny Nyden

Field Summary
 
Fields inherited from class net.curre.prefcount.test.BaseTestCase
SETTINGS_FILE
 
Constructor Summary
GeneralTest()
           
 
Method Summary
 void testAllBeforeDialog()
          Test functionality before starting the player dialog.
 void testAllForFourPlayers()
          Test GUI for the 4 players settings.
 void testAllForThreePlayers()
          Test GUI for the 3 players settings.
 void testMiscErrors()
          Test errors.
 
Methods inherited from class net.curre.prefcount.test.BaseTestCase
assertButtonValues, assertMapNotNullValues, assertMapNullValues, assertNotBlankAndVisible, assertNotVisible, assertNotVisible, assertTextBlank, assertTextNotBlank, assertValidResource, assertVisible, assertVisible, createPlayerStatHelper, deleteTestSettingsFile, setTextFields, setTextFields
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GeneralTest

public GeneralTest()
Method Detail

testMiscErrors

public void testMiscErrors()
                    throws java.lang.Exception
Test errors.

Throws:
java.lang.Exception - on error.

testAllBeforeDialog

public void testAllBeforeDialog()
                         throws java.lang.Exception
Test functionality before starting the player dialog.

Throws:
java.lang.Exception - on error.

testAllForThreePlayers

public void testAllForThreePlayers()
                            throws java.lang.Exception
Test GUI for the 3 players settings.

Throws:
java.lang.Exception - on error.

testAllForFourPlayers

public void testAllForFourPlayers()
                           throws java.lang.Exception
Test GUI for the 4 players settings.

Throws:
java.lang.Exception - on error.


Copyright © 2008. All Rights Reserved.