Skip to content

Commit

Permalink
use fullBuild
Browse files Browse the repository at this point in the history
  • Loading branch information
LorenzoBettini committed Jan 21, 2025
1 parent 27b3677 commit a53ee7b
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import java.util.Collections;

import org.eclipse.core.resources.IProject;
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.emf.common.util.URI;
Expand Down Expand Up @@ -42,12 +41,12 @@ public void testDisabledProject() throws CoreException {
URI uri = URI.createURI("platform:/resource/org.eclipse.emf.ecore/model/Ecore.ecore");
assertNull(descriptions.getResourceDescription(uri));

IProject foo = createPluginProject("foo", false, null);
foo.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
createPluginProject("foo", false, null);
fullBuild();
assertNull(descriptions.getResourceDescription(uri));

createPluginProject("bar", true, "foo");
foo.getWorkspace().build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
fullBuild();
assertNotNull(descriptions.getResourceDescription(uri));
}

Expand Down

0 comments on commit a53ee7b

Please sign in to comment.