Author: scabanovich
Date: 2010-10-25 11:29:32 -0400 (Mon, 25 Oct 2010)
New Revision: 26034
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.verification.test/src/org/jboss/tools/jsf/verification/test/WebVerificationTest.java
Log:
JBIDE-7405
https://jira.jboss.org/browse/JBIDE-7405
Replaced string reference by constant reference.
Modified:
trunk/jsf/tests/org.jboss.tools.jsf.verification.test/src/org/jboss/tools/jsf/verification/test/WebVerificationTest.java
===================================================================
---
trunk/jsf/tests/org.jboss.tools.jsf.verification.test/src/org/jboss/tools/jsf/verification/test/WebVerificationTest.java 2010-10-25
14:55:46 UTC (rev 26033)
+++
trunk/jsf/tests/org.jboss.tools.jsf.verification.test/src/org/jboss/tools/jsf/verification/test/WebVerificationTest.java 2010-10-25
15:29:32 UTC (rev 26034)
@@ -18,6 +18,7 @@
import org.eclipse.core.resources.ResourcesPlugin;
import org.eclipse.core.runtime.CoreException;
import org.eclipse.core.runtime.Path;
+import org.jboss.tools.common.model.markers.ResourceMarkers;
import org.jboss.tools.test.util.JobUtils;
import org.jboss.tools.test.util.ResourcesUtils;
import org.jboss.tools.test.util.TestProjectProvider;
@@ -27,7 +28,7 @@
public class WebVerificationTest extends TestCase {
public static final String TEST_PROJECT_NAME = "Test";
- static String MARKER_TYPE = "org.jboss.tools.jst.web.ui.strutsmarker";
+ static String MARKER_TYPE = ResourceMarkers.JST_WEB_PROBLEM;
public static final String TEST_PROJECT_PATH = "/projects/" +
TEST_PROJECT_NAME;