Author: scabanovich
Date: 2011-10-20 20:20:00 -0400 (Thu, 20 Oct 2011)
New Revision: 35881
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/DefaultBeanValidationTest.java
Log:
JBIDE-9244
https://issues.jboss.org/browse/JBIDE-9244
Tests.
Modified:
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/DefaultBeanValidationTest.java
===================================================================
---
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/DefaultBeanValidationTest.java 2011-10-21
00:13:25 UTC (rev 35880)
+++
trunk/cdi/tests/org.jboss.tools.cdi.seam.solder.core.test/src/org/jboss/tools/cdi/seam/solder/core/test/DefaultBeanValidationTest.java 2011-10-21
00:20:00 UTC (rev 35881)
@@ -31,8 +31,12 @@
}
public void testIdenticalDefaultBeans() throws CoreException {
+ String messageMask = SeamSolderValidationMessages.IDENTICAL_DEFAULT_BEANS.substring(0,
50) + ".*";
IFile file = getTestProject().getFile(new
Path("src/org/jboss/defaultbean/IdenticalDefaultBeans.java"));
- AbstractResourceMarkerTest.assertMarkerIsCreated(file,
SeamSolderValidationMessages.IDENTICAL_DEFAULT_BEANS.substring(0, 50) + ".*", 7,
12, 17);
+ AbstractResourceMarkerTest.assertMarkerIsCreated(file, messageMask, 7, 12, 17);
+
+ file = getTestProject().getFile(new
Path("src/org/jboss/defaultbean/validation/Test3.java"));
+ AbstractResourceMarkerTest.assertMarkerIsCreated(file, messageMask, 7, 13, 17);
}
public void testIncrementalValidationForIdenticalDefaultBeans() throws CoreException {