[jbosstools-commits] JBoss Tools SVN: r44128 - trunk/jsf/tests/org.jboss.tools.jsf.test/src/org/jboss/tools/jsf/test/validation.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Fri Sep 28 18:04:47 EDT 2012


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());



More information about the jbosstools-commits mailing list