[jbosstools-commits] JBoss Tools SVN: r31020 - branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/marker.

jbosstools-commits at lists.jboss.org jbosstools-commits at lists.jboss.org
Mon May 2 19:41:17 EDT 2011


Author: akazakov
Date: 2011-05-02 19:41:17 -0400 (Mon, 02 May 2011)
New Revision: 31020

Modified:
   branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/marker/CDIMarkerResolutionTest.java
Log:
https://issues.jboss.org/browse/JBIDE-8798

Modified: branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/marker/CDIMarkerResolutionTest.java
===================================================================
--- branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/marker/CDIMarkerResolutionTest.java	2011-05-02 23:19:38 UTC (rev 31019)
+++ branches/jbosstools-3.2.x/cdi/tests/org.jboss.tools.cdi.ui.test/src/org/jboss/tools/cdi/ui/test/marker/CDIMarkerResolutionTest.java	2011-05-02 23:41:17 UTC (rev 31020)
@@ -52,14 +52,16 @@
 	
 	private void checkResolution(IProject project, String[] fileNames, String[] results, String markerType, String idName, int id, Class<? extends IMarkerResolution> resolutionClass) throws CoreException {
 		IFile file = project.getFile(fileNames[0]);
-		
+
 		assertTrue("File - "+file.getFullPath()+" must be exist",file.exists());
-		
+
 		copyFiles(project, fileNames);
-		
+
+		tckProject.build(IncrementalProjectBuilder.INCREMENTAL_BUILD, null);
+
 		try{
 			IMarker[] markers = file.findMarkers(markerType, true,	IResource.DEPTH_INFINITE);
-			
+
 			for (int i = 0; i < markers.length; i++) {
 				IMarker marker = markers[i];
 				Integer attribute = ((Integer) marker



More information about the jbosstools-commits mailing list