Author: scabanovich
Date: 2010-10-07 12:02:55 -0400 (Thu, 07 Oct 2010)
New Revision: 25569
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/WEB-INF/pages.xml
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
JBIDE-7245
https://jira.jboss.org/browse/JBIDE-7245
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/WEB-INF/pages.xml
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/WEB-INF/pages.xml 2010-10-07
16:01:01 UTC (rev 25568)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/projects/SeamWebWarTestProject/WebContent/WEB-INF/pages.xml 2010-10-07
16:02:55 UTC (rev 25569)
@@ -19,6 +19,10 @@
</navigation>
</page>
+ <page view-id="/home1.xhtml"
+ no-conversation-view-id="/home2.xhtml">
+ </page>
+
<exception class="org.jboss.seam.framework.EntityNotFoundException">
<redirect view-id="/error.xhtml">
<message>Not found</message>
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 2010-10-07
16:01:01 UTC (rev 25568)
+++
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2010-10-07
16:02:55 UTC (rev 25569)
@@ -817,6 +817,18 @@
SeamValidationMessages.UNRESOLVED_VIEW_ID,
new Object[] {"/home2.xhtml"},
17);
+ assertMarkerIsCreatedForLine(
+ seamValidator,
+ "WebContent/WEB-INF/pages.xml",
+ SeamValidationMessages.UNRESOLVED_VIEW_ID,
+ new Object[] {"/home1.xhtml"},
+ 22);
+ assertMarkerIsCreatedForLine(
+ seamValidator,
+ "WebContent/WEB-INF/pages.xml",
+ SeamValidationMessages.UNRESOLVED_VIEW_ID,
+ new Object[] {"/home2.xhtml"},
+ 23);
}
public static int getMarkersNumber(IResource resource) {