frysk.gui.test
Class GuiTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by frysk.junit.TestCase
              extended by frysk.gui.test.GuiTestCase
All Implemented Interfaces:
Test
Direct Known Subclasses:
StressTestJGMemory, TestJGMemory, TestObserverSaveLoad, TestPrototypeCopying, TestSessionSaveLoad, TestTagsetSaveLoad, TestWindowFactorization

public class GuiTestCase
extends TestCase


Field Summary
static File OBSERVERS_TEST_DIR
           
static File SESSIONS_TEST_DIR
           
static File TAGSETS_TEST_DIR
           
static File TEST_DIR
           
 
Constructor Summary
GuiTestCase()
           
 
Method Summary
 void cleanDir(File dir)
           
private  File getFryskTestDir()
          FIXME: Should have a frysk.testbed.TearDownDirectory factory that handles all this.
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 
Methods inherited from class frysk.junit.TestCase
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, getTimeoutMilliseconds, getTimeoutSeconds, missing32or64, unresolved, unresolvedOffUtrace, unresolvedOn32On64, unresolvedOnIA32, unresolvedOnPPC, unresolvedOnUtrace, unresolvedOnx8664, unsupported
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TEST_DIR

public static File TEST_DIR

OBSERVERS_TEST_DIR

public static File OBSERVERS_TEST_DIR

SESSIONS_TEST_DIR

public static File SESSIONS_TEST_DIR

TAGSETS_TEST_DIR

public static File TAGSETS_TEST_DIR
Constructor Detail

GuiTestCase

public GuiTestCase()
Method Detail

getFryskTestDir

private File getFryskTestDir()
                      throws Exception
FIXME: Should have a frysk.testbed.TearDownDirectory factory that handles all this.

Throws:
Exception

setUp

protected void setUp()
              throws Exception
Description copied from class: TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class TestCase
Throws:
Exception

tearDown

protected void tearDown()
                 throws Exception
Description copied from class: TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Overrides:
tearDown in class TestCase
Throws:
Exception

cleanDir

public void cleanDir(File dir)