Author: akazakov
Date: 2010-03-03 14:51:49 -0500 (Wed, 03 Mar 2010)
New Revision: 20627
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/DefinitionTest.java
Log:
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-03
19:38:05 UTC (rev 20626)
+++
trunk/cdi/tests/org.jboss.tools.cdi.core.test/src/org/jboss/tools/cdi/core/test/tck/DefinitionTest.java 2010-03-03
19:51:49 UTC (rev 20627)
@@ -93,7 +93,7 @@
assertEquals("org.jboss.jsr299.tck.tests.definition.name.Moose should have the
only bean.", 1, beans.size());
IBean bean = beans.iterator().next();
assertEquals("Wrong EL name of org.jboss.jsr299.tck.tests.definition.name.Moose
bean.", "aMoose", bean.getName());
- assertLocationEquals(bean.getNameLocation(), 918, 6);
+ assertLocationEquals(bean.getNameLocation(), 918, 16);
}
/**
@@ -122,7 +122,7 @@
}
private void assertLocationEquals(ITextSourceReference reference, int startPosition, int
length) {
- assertEquals("Wrong start position", reference.getStartPosition(),
startPosition);
- assertEquals("Wrong length", reference.getLength(), length);
+ assertEquals("Wrong start position", startPosition,
reference.getStartPosition());
+ assertEquals("Wrong length", length, reference.getLength());
}
}
\ No newline at end of file
Show replies by date