org.eclipse.core.tests.resources
Class IProjectDescriptionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.eclipse.core.tests.harness.CoreTest
              extended by org.eclipse.core.tests.resources.ResourceTest
                  extended by org.eclipse.core.tests.resources.IProjectDescriptionTest
All Implemented Interfaces:
junit.framework.Test

public class IProjectDescriptionTest
extends ResourceTest

Tests protocol of IProjectDescription and other specified behavior that relates to the project description.


Field Summary
 
Fields inherited from class org.eclipse.core.tests.resources.ResourceTest
deltaListener, PI_RESOURCES_TESTS
 
Fields inherited from class org.eclipse.core.tests.harness.CoreTest
PI_HARNESS
 
Constructor Summary
IProjectDescriptionTest()
           
IProjectDescriptionTest(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testDescriptionConstant()
           
 void testDirtyBuildSpec()
          Tests that the description file is dirtied if the description has actually changed.
 void testDirtyDescription()
          Tests that the description file is not dirtied if the description has not actually changed.
 void testDynamicProjectReferences()
           
 void testProjectReferences()
          Tests IProjectDescription project references
 
Methods inherited from class org.eclipse.core.tests.resources.ResourceTest
assertDoesNotExistInFileSystem, assertDoesNotExistInFileSystem, assertDoesNotExistInFileSystem, assertDoesNotExistInFileSystem, assertDoesNotExistInWorkspace, assertDoesNotExistInWorkspace, assertDoesNotExistInWorkspace, assertDoesNotExistInWorkspace, assertExistsInFileSystem, assertExistsInFileSystem, assertExistsInFileSystem, assertExistsInFileSystem, assertExistsInWorkspace, assertExistsInWorkspace, assertExistsInWorkspace, assertExistsInWorkspace, assertExistsInWorkspace, assertExistsInWorkspace, assertExistsInWorkspace, assertExistsInWorkspace, buildResources, buildResources, compareContent, createFileInFileSystem, createFileInFileSystem, createFileInFileSystem, createFileInFileSystem, createHierarchy, defineHierarchy, ensureDoesNotExistInFileSystem, ensureDoesNotExistInFileSystem, ensureDoesNotExistInWorkspace, ensureDoesNotExistInWorkspace, ensureExistsInFileSystem, ensureExistsInFileSystem, ensureExistsInFileSystem, ensureExistsInWorkspace, ensureExistsInWorkspace, ensureExistsInWorkspace, ensureExistsInWorkspace, ensureOutOfSync, getUniqueString, getWorkspace
 
Methods inherited from class org.eclipse.core.tests.harness.CoreTest
createFileInFileSystem, debug, fail, getContents, getContents, getMonitor, getRandomContents, getRandomLocation, getRandomString, getTempDir, log, log, transferData, transferDataWithoutClose
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IProjectDescriptionTest

public IProjectDescriptionTest()

IProjectDescriptionTest

public IProjectDescriptionTest(java.lang.String name)
Method Detail

suite

public static junit.framework.Test suite()

testDescriptionConstant

public void testDescriptionConstant()

testDirtyDescription

public void testDirtyDescription()
Tests that the description file is not dirtied if the description has not actually changed.


testDirtyBuildSpec

public void testDirtyBuildSpec()
Tests that the description file is dirtied if the description has actually changed. This is a regression test for bug 64128.


testDynamicProjectReferences

public void testDynamicProjectReferences()

testProjectReferences

public void testProjectReferences()
Tests IProjectDescription project references