[jbosstools-commits] JBoss Tools SVN: r35555 - trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Tue Oct 11 16:20:56 EDT 2011
Author: akazakov
Date: 2011-10-11 16:20:56 -0400 (Tue, 11 Oct 2011)
New Revision: 35555
Modified:
trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
Log:
https://issues.jboss.org/browse/JBIDE-9880 org.jboss.tools.seam.core.test.SeamValidatorsTest failure
Modified: trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java
===================================================================
--- trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2011-10-11 20:17:39 UTC (rev 35554)
+++ trunk/seam/tests/org.jboss.tools.seam.core.test/src/org/jboss/tools/seam/core/test/SeamValidatorsTest.java 2011-10-11 20:20:56 UTC (rev 35555)
@@ -62,6 +62,7 @@
assertTrue(newContentFile.exists());
super.copyContentsFile(originalFile, newContentFile);
if("xml".equalsIgnoreCase(originalFile.getFileExtension())) {
+ // Workaroud for an issue in XModel. If we change a XML to fast then its timestamp may not be changed. So XModel may not load the changed file.
originalFile.setLocalTimeStamp(originalFile.getModificationStamp() + 3000);
}
project.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, null);
@@ -242,14 +243,6 @@
validator.validate(targetFile);
assertTrue("Error marker not found", validator.isMessageCreated(markerTemplate, parameters));
assertTrue("Error marker has wrong line number", validator.isMessageCreatedOnLine(markerTemplate, parameters,lineNumber));
-//if(!validator.isMessageCreated(markerTemplate, parameters)) {
-// System.out.println("!!!");
-//// testDuplicateComponents();
-//}
-//if(!validator.isMessageCreatedOnLine(markerTemplate, parameters,lineNumber)) {
-// System.out.println("!!!");
-//// validator.validate(targetFile);
-//}
}
private void assertMarkerIsNotCreatedForFile(String target, String newContent, String markerTemplate,
More information about the jbosstools-commits
mailing list