org.eclipse.core.tests.resources
Class ISynchronizerTest

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

public class ISynchronizerTest
extends ResourceTest


Field Summary
static int NUMBER_OF_PARTNERS
           
 IResource[] resources
           
 
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
ISynchronizerTest()
           
ISynchronizerTest(java.lang.String name)
           
 
Method Summary
 java.lang.String[] defineHierarchy()
          Return a string array which defines the hierarchy of a tree.
 void setUp()
          The environment should be set-up in the main method.
static junit.framework.Test suite()
           
 void tearDown()
           
 void testDeleteResources()
           
 void testDeleteResources2()
           
 void testMoveResource()
           
 void testMoveResource2()
           
 void testPhantomRemoval()
          Removes resources, sets sync info to null and ensures the phantoms do not exist any more (see bug 3024)
 void testRegistration()
           
 void testSave()
           
 void testSnap()
           
 void testSyncInfo()
           
 
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, 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
 

Field Detail

NUMBER_OF_PARTNERS

public static int NUMBER_OF_PARTNERS

resources

public IResource[] resources
Constructor Detail

ISynchronizerTest

public ISynchronizerTest()

ISynchronizerTest

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

defineHierarchy

public java.lang.String[] defineHierarchy()
Return a string array which defines the hierarchy of a tree. Folder resources must have a trailing slash.

Overrides:
defineHierarchy in class ResourceTest

setUp

public void setUp()
           throws java.lang.Exception
Description copied from class: ResourceTest
The environment should be set-up in the main method.

Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()

tearDown

public void tearDown()
              throws java.lang.Exception
Throws:
java.lang.Exception

testDeleteResources

public void testDeleteResources()

testDeleteResources2

public void testDeleteResources2()

testMoveResource

public void testMoveResource()

testMoveResource2

public void testMoveResource2()

testRegistration

public void testRegistration()

testSave

public void testSave()

testSnap

public void testSnap()

testSyncInfo

public void testSyncInfo()

testPhantomRemoval

public void testPhantomRemoval()
Removes resources, sets sync info to null and ensures the phantoms do not exist any more (see bug 3024)