org.eclipse.core.tests.resources
Class ResourceAttributeTest

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.ResourceAttributeTest
All Implemented Interfaces:
junit.framework.Test

public class ResourceAttributeTest
extends ResourceTest


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
ResourceAttributeTest()
           
ResourceAttributeTest(java.lang.String name)
           
 
Method Summary
static junit.framework.Test suite()
           
 void testAttributeArchive()
           
 void testAttributeExecutable()
           
 void testAttributeHidden()
           
 void testAttributeReadOnly()
           
 void testAttributeSymlink()
           
 void testClosedProject()
          Attributes of a closed project should be null.
 void testNonExistingResource()
           
 void testRefreshExecutableOnFolder()
          When the executable bit is cleared on a folder, it effectively causes the children of that folder to be removed from the workspace because the folder contents can no longer be listed.
 
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

ResourceAttributeTest

public ResourceAttributeTest()

ResourceAttributeTest

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

suite

public static junit.framework.Test suite()

testAttributeArchive

public void testAttributeArchive()

testAttributeExecutable

public void testAttributeExecutable()

testAttributeHidden

public void testAttributeHidden()

testAttributeReadOnly

public void testAttributeReadOnly()

testClosedProject

public void testClosedProject()
Attributes of a closed project should be null.


testNonExistingResource

public void testNonExistingResource()

testRefreshExecutableOnFolder

public void testRefreshExecutableOnFolder()
When the executable bit is cleared on a folder, it effectively causes the children of that folder to be removed from the workspace because the folder contents can no longer be listed. A refresh should happen automatically when the executable bit on a folder is changed. See bug 109979 for details.


testAttributeSymlink

public void testAttributeSymlink()