Author: dazarov
Date: 2008-03-17 12:43:01 -0400 (Mon, 17 Mar 2008)
New Revision: 6971
Modified:
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java
Log:
http://jira.jboss.com/jira/browse/JBIDE-1878
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 2008-03-17
15:22:29 UTC (rev 6970)
+++
trunk/seam/tests/org.jboss.tools.seam.ui.test/src/org/jboss/tools/seam/ui/test/wizard/OpenSeamComponentDialogTest.java 2008-03-17
16:43:01 UTC (rev 6971)
@@ -40,8 +40,8 @@
@Override
protected void tearDown() throws Exception {
- ResourcesUtils.deleteProject("TestComponentView");
- EditorTestHelper.joinBackgroundActivities();
+ //ResourcesUtils.deleteProject("TestComponentView");
+ //EditorTestHelper.joinBackgroundActivities();
}
public void testOpenSeamComponentDialogSearch() {
@@ -70,7 +70,7 @@
dialog.beginTest();
if(wait){
try{
- Thread.sleep(30000);
+ EditorTestHelper.joinBackgroundActivities();
}catch(Exception ex){
ex.printStackTrace();
}
@@ -78,7 +78,6 @@
dialog.endTest();
Object[] objects = dialog.getResult();
-
assertNotNull("Search dialog returned null when searching for " + pattern,
objects);
assertTrue("Component "+componentName+" not found", objects.length
!= 0);