Author: scabanovich
Date: 2011-03-16 18:02:45 -0400 (Wed, 16 Mar 2011)
New Revision: 29831
Added:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/lib/some-weld.jar
Modified:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/.classpath
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/WeldJarTest.java
Log:
JBIDE-8578
https://issues.jboss.org/browse/JBIDE-8578
Modified:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/.classpath
===================================================================
---
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/.classpath 2011-03-16
21:47:52 UTC (rev 29830)
+++
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/.classpath 2011-03-16
22:02:45 UTC (rev 29831)
@@ -8,5 +8,6 @@
<classpathentry kind="lib" path="lib/weld-core.jar"/>
<classpathentry kind="lib" path="lib/weld-se.jar"/>
<classpathentry kind="lib" path="lib/weld-servlet.jar"/>
+ <classpathentry kind="lib" path="lib/some-weld.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>
Added:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/lib/some-weld.jar
===================================================================
(Binary files differ)
Property changes on:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/projects/CDITest1/lib/some-weld.jar
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified:
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/WeldJarTest.java
===================================================================
---
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/WeldJarTest.java 2011-03-16
21:47:52 UTC (rev 29830)
+++
branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/WeldJarTest.java 2011-03-16
22:02:45 UTC (rev 29831)
@@ -52,6 +52,10 @@
p = ps.iterator().next();
inbs = cdi.getBeans(false, p);
assertFalse(inbs.isEmpty());
+
+ //Find bean defined in some-weld.jar
+ bs = cdi.getBeans("beanInWeldJar", false);
+ assertEquals(1, bs.size());
}
public void tearDown() throws Exception {