Community
Participate
Working Groups
We need to ensure that we have a test in the following scenerio: - create folder structure on disk - create IFile handle to leaf child which exists on disk but not in workspace - (ensure parent' doesn't exist in workspace either) - refresh the child - IResource.refreshLocal says that if a resource is discovered on disk then all the parents are created in the workspace tree
John, please create this test case (or check to see if we already have one) for this test pass. Thanks. See related bug 18969.
Added RefreshLocalTest#testFileDiscovery to test this exact case. Test passes. Of course this won't work if the resource's project doesn't exist, since we don't "discover" projects on disk. The javadoc isn't clear on that point.