edu.rice.cs.drjava.ui
Class ProjectMenuTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by edu.rice.cs.drjava.DrJavaTestCase
              extended by edu.rice.cs.drjava.model.MultiThreadedTestCase
                  extended by edu.rice.cs.drjava.ui.ProjectMenuTest
All Implemented Interfaces:
Test

public final class ProjectMenuTest
extends MultiThreadedTestCase

Test functions of Project Facility working through the main frame and model.


Field Summary
 
Fields inherited from class edu.rice.cs.drjava.model.MultiThreadedTestCase
_testFailed
 
Fields inherited from class edu.rice.cs.drjava.DrJavaTestCase
TEST_DRJAVA_CONFIG_PROPERTY
 
Constructor Summary
ProjectMenuTest()
           
 
Method Summary
 void setUp()
          Setup method for each JUnit test case in this Test class.
 void tearDown()
          If any test failed, print a message saying that some test failed in another thread (not the testing thread).
 void testCloseAllClosesProject()
           
 void testSaveProject()
           
 void testSetBuildDirectory()
           
 
Methods inherited from class edu.rice.cs.drjava.model.MultiThreadedTestCase
join, listenerFail, wait
 
Methods inherited from class edu.rice.cs.drjava.DrJavaTestCase
setConfigSetting, setDocText
 
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, 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

ProjectMenuTest

public ProjectMenuTest()
Method Detail

setUp

public void setUp()
           throws Exception
Setup method for each JUnit test case in this Test class.

Overrides:
setUp in class MultiThreadedTestCase
Throws:
Exception - This convention is mandated by the JUnit TestClass which is an ancestor of this class.

tearDown

public void tearDown()
              throws Exception
Description copied from class: MultiThreadedTestCase
If any test failed, print a message saying that some test failed in another thread (not the testing thread).

Overrides:
tearDown in class MultiThreadedTestCase
Throws:
Exception

testSetBuildDirectory

public void testSetBuildDirectory()
                           throws MalformedProjectFileException,
                                  IOException
Throws:
MalformedProjectFileException
IOException

testCloseAllClosesProject

public void testCloseAllClosesProject()
                               throws MalformedProjectFileException,
                                      IOException
Throws:
MalformedProjectFileException
IOException

testSaveProject

public void testSaveProject()
                     throws IOException,
                            MalformedProjectFileException
Throws:
IOException
MalformedProjectFileException