Author: dgolovin
Date: 2008-11-03 16:14:11 -0500 (Mon, 03 Nov 2008)
New Revision: 11493
Modified:
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
increase delay for a second to check if that helps fix seam core validation Junit tests
errors
Modified:
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
===================================================================
---
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2008-11-03
20:58:23 UTC (rev 11492)
+++
branches/jbosstools-3.0.0.Beta1/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2008-11-03
21:14:11 UTC (rev 11493)
@@ -94,6 +94,8 @@
public void testJBIDE1318() throws CoreException {
getSeamProject(project);
IFile testJSP = project.getFile("WebContent/test.jsp");
+ testJSP.touch(null);
+ refreshProject(project);
assertMarkerIsNotCreated(testJSP, null, "actor cannot be resolved");
}
@@ -125,6 +127,8 @@
public void testJiraJbide1631() throws CoreException {
// Test for
http://jira.jboss.com/jira/browse/JBIDE-1631
IFile jbide1631XHTMLFile = project.getFile("WebContent/JBIDE-1631.xhtml");
+ jbide1631XHTMLFile.touch(null);
+ JobUtils.waitForIdle();
refreshProject(project);
assertMarkerIsCreated(jbide1631XHTMLFile, null, "\"foo1\" cannot be
resolved", 16 );
assertMarkerIsCreated(jbide1631XHTMLFile, null, "\"foo2\" cannot be
resolved", 16 );
@@ -845,6 +849,6 @@
private void refreshProject(IProject project){
JobUtils.delay(1000);
JobUtils.waitForIdle();
- JobUtils.delay(500);
+ JobUtils.delay(1500);
}
}
\ No newline at end of file