directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From seelm...@apache.org
Subject svn commit: r888149 - /directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/AutomatedSuite.java
Date Mon, 07 Dec 2009 21:54:16 GMT
Author: seelmann
Date: Mon Dec  7 21:54:16 2009
New Revision: 888149

URL: http://svn.apache.org/viewvc?rev=888149&view=rev
Log:
Added PreferencesTest to suite, added some delay for the suite

Modified:
    directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/AutomatedSuite.java

Modified: directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/AutomatedSuite.java
URL: http://svn.apache.org/viewvc/directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/AutomatedSuite.java?rev=888149&r1=888148&r2=888149&view=diff
==============================================================================
--- directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/AutomatedSuite.java
(original)
+++ directory/studio/trunk/test-integration-ui/src/main/java/org/apache/directory/studio/test/integration/ui/AutomatedSuite.java
Mon Dec  7 21:54:16 2009
@@ -24,6 +24,8 @@
 import org.apache.directory.server.core.integ.SetupMode;
 import org.apache.directory.server.core.integ.annotations.CleanupLevel;
 import org.apache.directory.server.core.integ.annotations.Mode;
+import org.eclipse.jface.dialogs.ErrorDialog;
+import org.eclipse.swtbot.swt.finder.utils.SWTBotPreferences;
 import org.junit.runner.RunWith;
 import org.junit.runners.Suite;
 
@@ -37,10 +39,16 @@
 @RunWith(Suite.class)
 @Suite.SuiteClasses(
     { BrowserTest.class, EntryEditorTest.class, ImportExportTest.class, NewConnectionWizardTest.class,
-        NewEntryWizardTest.class, ReferralDialogTest.class, RenameEntryDialogTest.class,
SearchTest.class })
+        NewEntryWizardTest.class, PreferencesTest.class, ReferralDialogTest.class, RenameEntryDialogTest.class,
+        SearchTest.class })
 @CleanupLevel(Level.SUITE)
 @Mode(SetupMode.ROLLBACK)
 public class AutomatedSuite
 {
+    static
+    {
+        ErrorDialog.AUTOMATED_MODE = false;
+        SWTBotPreferences.PLAYBACK_DELAY = 50;
+    }
 
 }



Mime
View raw message