Author: scabanovich
Date: 2010-03-02 09:23:30 -0500 (Tue, 02 Mar 2010)
New Revision: 20565
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/DefinitionTest.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5973
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/DefinitionTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/DefinitionTest.java 2010-03-02
14:21:14 UTC (rev 20564)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/DefinitionTest.java 2010-03-02
14:23:30 UTC (rev 20565)
@@ -36,8 +36,8 @@
Set<ITypeDeclaration> declarations = bean.getAllTypeDeclarations();
assertEquals("There should be two type declarations in
org.jboss.jsr299.tck.tests.definition.bean.RedSnapper bean.", declarations.size(),
2);
// TODO use correct start position instead of 0.
- assertLocationEquals(declarations, 0, 10);
- assertLocationEquals(declarations, 0, 6);
+ assertLocationEquals(declarations, 936, 10);
+ assertLocationEquals(declarations, 958, 6);
}
/**