Skip to content

Commit

Permalink
Reactivate tests eclipse-platform#525
Browse files Browse the repository at this point in the history
Reactivation of working tests that were forgotten after the corresponding bug was fixed.
Contributes to eclipse-platform#525
  • Loading branch information
Michael5601 committed Jul 28, 2023
1 parent f1c95af commit 0100c37
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,13 @@
import org.eclipse.core.filesystem.URIUtil;
import org.eclipse.core.internal.resources.Workspace;
import org.eclipse.core.internal.resources.projectvariables.ProjectLocationVariableResolver;
import org.eclipse.core.resources.*;
import org.eclipse.core.resources.IFile;
import org.eclipse.core.resources.IFolder;
import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IProjectDescription;
import org.eclipse.core.resources.IResource;
import org.eclipse.core.resources.IResourceStatus;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.IPath;

Expand Down Expand Up @@ -222,7 +228,7 @@ public void testFolderLinkedToNonExistent_Shallow() {
/**
* Tests bug 299024.
*/
public void _testMoveFolderWithLinksToNonExisitngLocations_withShallow() {
public void testMoveFolderWithLinksToNonExisitngLocations_withShallow() {
// create a folder
IFolder folderWithLinks = existingProject.getFolder(getUniqueString());
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
*/
public class Bug_029851 extends ResourceTest {

private final boolean DISABLED = true;

private Collection<String> createChildren(int breadth, int depth, IPath prefix) {
ArrayList<String> result = new ArrayList<>();
for (int i = 0; i < breadth; i++) {
Expand All @@ -53,10 +51,6 @@ public String[] defineHierarchy() {
}

public void test() {
// disable for now.
if (DISABLED) {
return;
}
createHierarchy();
final QualifiedName key = new QualifiedName("local", getUniqueString());
final String value = getUniqueString();
Expand Down

0 comments on commit 0100c37

Please sign in to comment.