Author: scabanovich
Date: 2011-04-21 16:07:15 -0400 (Thu, 21 Apr 2011)
New Revision: 30721
Modified:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/wizard/NewCDIWizardTest.java
Log:
JBIDE-8771
https://issues.jboss.org/browse/JBIDE-8771
Modified:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/wizard/NewCDIWizardTest.java
===================================================================
---
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/wizard/NewCDIWizardTest.java 2011-04-21
20:05:22 UTC (rev 30720)
+++
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/wizard/NewCDIWizardTest.java 2011-04-21
20:07:15 UTC (rev 30721)
@@ -21,6 +21,7 @@
import org.eclipse.core.resources.IncrementalProjectBuilder;
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
+import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.IPackageFragment;
import org.eclipse.jdt.core.IType;
@@ -289,7 +290,10 @@
}
}
- public void testNewInterceptorBindingWizardWithBinding() {
+ public void testNewInterceptorBindingWizardWithBinding() throws CoreException {
+ IProject tck = ResourcesPlugin.getWorkspace().getRoot().getProject("tck");
+ tck.build(IncrementalProjectBuilder.FULL_BUILD, new NullProgressMonitor());
+
WizardContext context = new WizardContext();
context.init("org.jboss.tools.cdi.ui.wizard.NewInterceptorBindingCreationWizard",
PACK_NAME, INTERCEPTOR_BINDING2_NAME);