Author: scabanovich
Date: 2012-09-28 18:04:47 -0400 (Fri, 28 Sep 2012)
New Revision: 44128
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java
Log:
JBIDE-12538
https://issues.jboss.org/browse/JBIDE-12538
Setting problem type to instance of ELValidator created in tests.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java 2012-09-28
21:56:00 UTC (rev 44127)
+++
trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation/ELValidatorTest.java 2012-09-28
22:04:47 UTC (rev 44128)
@@ -322,6 +322,7 @@
try {
ELValidator validator = new ELValidator();
+ validator.setProblemType(EL_VALIDATOR_MARKER_TYPE);
ContextValidationHelper helper = new ContextValidationHelper();
helper.setProject(project);
@@ -354,6 +355,7 @@
private ELValidator getElValidator(Set<String> fileNames) {
ELValidator validator = new ELValidator();
+ validator.setProblemType(EL_VALIDATOR_MARKER_TYPE);
ValidatorManager manager = new ValidatorManager();
WorkbenchReporter reporter = new WorkbenchReporter(project, new
NullProgressMonitor());