Author: scabanovich
Date: 2011-04-08 20:04:53 -0400 (Fri, 08 Apr 2011)
New Revision: 30452
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BuiltInBeanInjectionTest.java
Log:
JBIDE-8697
https://issues.jboss.org/browse/JBIDE-8697
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BuiltInBeanInjectionTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BuiltInBeanInjectionTest.java 2011-04-09
00:03:52 UTC (rev 30451)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/BuiltInBeanInjectionTest.java 2011-04-09
00:04:53 UTC (rev 30452)
@@ -12,23 +12,10 @@
import java.util.Set;
-import org.eclipse.core.resources.IProject;
-import org.eclipse.jdt.core.IClassFile;
-import org.eclipse.jdt.core.IJavaProject;
-import org.eclipse.jdt.core.IMethod;
import org.eclipse.jdt.core.IType;
-import org.eclipse.jdt.core.compiler.IProblem;
-import org.jboss.tools.cdi.core.CDIConstants;
import org.jboss.tools.cdi.core.IBean;
-import org.jboss.tools.cdi.core.IInjectionPoint;
import org.jboss.tools.cdi.core.IInjectionPointField;
-import org.jboss.tools.cdi.core.IInjectionPointParameter;
-import org.jboss.tools.cdi.core.IObserverMethod;
-import org.jboss.tools.cdi.core.IParameter;
-import org.jboss.tools.cdi.core.IQualifier;
import org.jboss.tools.cdi.internal.core.impl.BuiltInBean;
-import org.jboss.tools.common.model.util.EclipseJavaUtil;
-import org.jboss.tools.common.model.util.EclipseResourceUtil;
/**
* @author Viacheslav Kabanovich
@@ -40,9 +27,6 @@
IInjectionPointField field =
getInjectionPointField("JavaSource/org/jboss/jsr299/tck/tests/implementation/builtin/UserTransactionInjectedBean.java",
"userTransaction");
assertNotNull(field);
- IProject p = cdiProject.getNature().getProject();
- IJavaProject jp = EclipseResourceUtil.getJavaProject(p);
-
Set<IBean> beans = field.getCDIProject().getBeans(false, field);
assertFalse(beans.isEmpty());