Author: akazakov
Date: 2010-06-28 14:59:14 -0400 (Mon, 28 Jun 2010)
New Revision: 23067
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java
Log:
https://jira.jboss.org/browse/JBIDE-6550
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java 2010-06-28
18:33:41 UTC (rev 23066)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java 2010-06-28
18:59:14 UTC (rev 23067)
@@ -26,8 +26,8 @@
* b) An interceptor binding declared by a stereotype are inherited by any bean that
declares that stereotype.
* @throws JavaModelException
*/
- public void testBeanTypesNonEmpty() throws JavaModelException {
- Set<IBean> beans =
getBeans("org.jboss.jsr299.tck.tests.interceptors.definition.FileLogger");
+ public void testStereotypeInterceptorBindings() throws JavaModelException {
+ Set<IBean> beans =
getBeans("org.jboss.jsr299.tck.tests.interceptors.definition.SecureTransaction");
assertEquals("Wrong number of the beans", 1, beans.size());
IBean bean = beans.iterator().next();
assertTrue("The bean should be an interceptor", bean instanceof
IInterceptor);