Author: vrubezhny
Date: 2011-04-28 12:14:11 -0400 (Thu, 28 Apr 2011)
New Revision: 30915
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
Log:
JBIDE-8805
Seam Component Search Dialog test cases fail
Issue is fixed
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
===================================================================
---
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2011-04-28
16:12:23 UTC (rev 30914)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2011-04-28
16:14:11 UTC (rev 30915)
@@ -56,7 +56,7 @@
try {
JobUtils.waitForIdle();
if(project != null){
- project.close(new NullProgressMonitor());
+ try {project.close(new NullProgressMonitor());} catch (Exception e)
{e.printStackTrace(System.out);}
project.delete(true, new NullProgressMonitor());
project = null;
JobUtils.waitForIdle();
@@ -104,6 +104,7 @@
assertNotNull("Component "+componentName+" not found with " +
pattern, component);
} finally {
dialog.okPressed();
+ dialog.close();
}
}
Show replies by date