Author: snjeza
Date: 2012-01-06 16:11:31 -0500 (Fri, 06 Jan 2012)
New Revision: 37701
Modified:
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java
Log:
JBIDE-10602 Project Examples tests fail
Modified:
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java
===================================================================
---
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java 2012-01-06
21:01:40 UTC (rev 37700)
+++
trunk/examples/tests/org.jboss.tools.project.examples.test/src/org/jboss/tools/project/examples/test/ProjectTest.java 2012-01-06
21:11:31 UTC (rev 37701)
@@ -210,6 +210,10 @@
for (int i = 0; i < projectMarkers.length; i++) {
if (projectMarkers[i].getAttribute(IMarker.SEVERITY,
IMarker.SEVERITY_ERROR) == IMarker.SEVERITY_ERROR) {
+ // ignore XHTML errors
+ if
("org.jboss.tools.jsf.xhtmlsyntaxproblem".equals(projectMarkers[i].getType()))
{
+ continue;
+ }
String message = projectMarkers[i].getAttribute(IMarker.MESSAGE, null);
String location = projectMarkers[i].getAttribute(IMarker.LOCATION, null);
String lineNumber = projectMarkers[i].getAttribute(IMarker.LINE_NUMBER, null);