Author: akazakov
Date: 2008-06-20 08:27:29 -0400 (Fri, 20 Jun 2008)
New Revision: 8869
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
Fixed JUnit test
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2008-06-20
12:00:41 UTC (rev 8868)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2008-06-20
12:27:29 UTC (rev 8869)
@@ -290,7 +290,7 @@
assertFalse("Problem marker 'Component class does not contain setter for
property' not found' not found' not found", number == 0);
messages = getMarkersMessage(componentsFile);
- assertTrue("Problem marker 'Component class does not contain setter for
property' not found", "Class \"StatefulComponent\" of component
\"statefulComponent\" does not contain setter for property
\"abc\"".equals(messages[0]));
+ assertTrue("Problem marker 'Component class does not have a setter or a field
for the property' not found", "Class \"StatefulComponent\" of
component \"statefulComponent\" does not have a setter or a field for the
property \"abc\"".equals(messages[0]));
lineNumbers = getMarkersNumbersOfLine(componentsFile);
Show replies by date