Author: akazakov
Date: 2010-06-28 15:55:57 -0400 (Mon, 28 Jun 2010)
New Revision: 23068
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:59:14 UTC (rev 23067)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/InterceptorDefinitionTest.java 2010-06-28
19:55:57 UTC (rev 23068)
@@ -14,7 +14,7 @@
import org.eclipse.jdt.core.JavaModelException;
import org.jboss.tools.cdi.core.IBean;
-import org.jboss.tools.cdi.core.IInterceptor;
+import org.jboss.tools.cdi.core.IClassBean;
/**
* @author Alexey Kazakov
@@ -30,8 +30,8 @@
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);
- IInterceptor interceptor = (IInterceptor)bean;
+ assertTrue("The bean should be an interceptor", bean instanceof IClassBean);
+ IClassBean interceptor = (IClassBean)bean;
assertFalse("The intercpetor should inherites interceptor bindings",
interceptor.getInterceptorBindings().isEmpty());
}
}
\ No newline at end of file