Author: akazakov
Date: 2011-05-02 15:15:11 -0400 (Mon, 02 May 2011)
New Revision: 31010
Modified:
branches/jbosstools-3.2.x/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java
Log:
https://issues.jboss.org/browse/JBIDE-8818
Modified:
branches/jbosstools-3.2.x/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java
===================================================================
---
branches/jbosstools-3.2.x/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java 2011-05-02
19:12:22 UTC (rev 31009)
+++
branches/jbosstools-3.2.x/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/refactoring/SeamComponentRefactoringTest.java 2011-05-02
19:15:11 UTC (rev 31010)
@@ -4,6 +4,7 @@
import java.util.List;
import org.eclipse.core.resources.IFile;
+import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.ltk.core.refactoring.CompositeChange;
@@ -128,7 +129,11 @@
JobUtils.waitForIdle(delay);
else
JobUtils.waitForIdle();
-
+
+ seamProject.getProject().build(IncrementalProjectBuilder.INCREMENTAL_BUILD, new
NullProgressMonitor());
+
+ JobUtils.waitForIdle();
+
// Test results
assertNotNull("Can't load component " + newName,
seamProject.getComponent(newName));
for(TestChangeStructure changeStructure : changeList){