[jbosstools-commits] JBoss Tools SVN: r43190 - in branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test: template and 1 other directory.
jbosstools-commits at lists.jboss.org
jbosstools-commits at lists.jboss.org
Thu Aug 23 05:42:38 EDT 2012
Author: psuchy
Date: 2012-08-23 05:42:38 -0400 (Thu, 23 Aug 2012)
New Revision: 43190
Modified:
branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java
branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java
branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/RuntimeDetectionTestCase.java
Log:
debugging tests for Windows compatibility
Modified: branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java
===================================================================
--- branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java 2012-08-23 09:27:57 UTC (rev 43189)
+++ branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/dialog/preferences/SeamPreferencesDialog.java 2012-08-23 09:42:38 UTC (rev 43190)
@@ -50,6 +50,7 @@
} catch (AWTException e) {
e.printStackTrace();
}
+ robot.setAutoWaitForIdle(true);
robot.keyPress(KeyEvent.VK_RIGHT);
robot.keyRelease(KeyEvent.VK_RIGHT);
robot.keyPress(KeyEvent.VK_ENTER);
Modified: branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java
===================================================================
--- branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java 2012-08-23 09:27:57 UTC (rev 43189)
+++ branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/CheckSeamRuntimeTemplate.java 2012-08-23 09:42:38 UTC (rev 43190)
@@ -16,12 +16,6 @@
public void checkSeamRuntime(){
seamPreferences.open();
- System.err.println(seamPreferences.getRuntimes());
- System.err.println(seamPreferences.getRuntimes().get(0).getLocation().toString());
- System.err.println(seamPreferences.getRuntimes().get(0).getLocation().toPath().toString());
- System.err.println(seamPreferences.getRuntimes().get(1).getLocation().toString());
- System.err.println(seamPreferences.getRuntimes().get(1).getLocation().toPath().toString());
-
assertThat(seamPreferences.getRuntimes().size(), is(1));
assertThat(seamPreferences.getRuntimes().get(0), new RuntimeMatcher(getExpectedRuntime()));
}
Modified: branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/RuntimeDetectionTestCase.java
===================================================================
--- branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/RuntimeDetectionTestCase.java 2012-08-23 09:27:57 UTC (rev 43189)
+++ branches/jbosstools-3.3.x/runtime/tests/org.jboss.tools.runtime.as.ui.bot.test/src/org/jboss/tools/runtime/as/ui/bot/test/template/RuntimeDetectionTestCase.java 2012-08-23 09:42:38 UTC (rev 43190)
@@ -44,7 +44,9 @@
protected void removeAllSeamRuntimes(){
seamPreferences.open();
+ System.err.println(seamPreferences.getRuntimes());
seamPreferences.removeAllRuntimes();
+ assertThat(seamPreferences.getRuntimes().size(), is(0));
seamPreferences.ok();
}
More information about the jbosstools-commits
mailing list