[Schmitzm-commits] r1464 - in trunk/schmitzm-core/src/test/java/de/schmitzm: i18n swing
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Thu Jan 27 19:21:10 CET 2011
Author: alfonx
Date: 2011-01-27 19:21:10 +0100 (Thu, 27 Jan 2011)
New Revision: 1464
Modified:
trunk/schmitzm-core/src/test/java/de/schmitzm/i18n/SwitchLanguageDialogTest.java
trunk/schmitzm-core/src/test/java/de/schmitzm/swing/ExceptionDialogTest.java
Log:
Modified: trunk/schmitzm-core/src/test/java/de/schmitzm/i18n/SwitchLanguageDialogTest.java
===================================================================
--- trunk/schmitzm-core/src/test/java/de/schmitzm/i18n/SwitchLanguageDialogTest.java 2011-01-27 18:18:57 UTC (rev 1463)
+++ trunk/schmitzm-core/src/test/java/de/schmitzm/i18n/SwitchLanguageDialogTest.java 2011-01-27 18:21:10 UTC (rev 1464)
@@ -53,7 +53,7 @@
langs.add("tr");
langs.add("fr");
langs.add("kj");
- TestingUtil.testGui(new SwitchLanguageDialog(null, langs, false), 20);
+ TestingUtil.testGui(new SwitchLanguageDialog(null, langs, false));
}
@Test
@@ -67,7 +67,7 @@
langs.add("fr");
long startTime = System.currentTimeMillis();
- TestingUtil.testGui(new SwitchLanguageDialog(null, langs, false), 2);
+ TestingUtil.testGui(new SwitchLanguageDialog(null, langs, false));
assertTrue("dialog did pop up incorrectly", System.currentTimeMillis()
- startTime < 1000);
}
Modified: trunk/schmitzm-core/src/test/java/de/schmitzm/swing/ExceptionDialogTest.java
===================================================================
--- trunk/schmitzm-core/src/test/java/de/schmitzm/swing/ExceptionDialogTest.java 2011-01-27 18:18:57 UTC (rev 1463)
+++ trunk/schmitzm-core/src/test/java/de/schmitzm/swing/ExceptionDialogTest.java 2011-01-27 18:21:10 UTC (rev 1464)
@@ -6,9 +6,11 @@
import org.junit.After;
import org.junit.Before;
+import org.junit.Ignore;
import org.junit.Test;
import de.schmitzm.testing.TestingClass;
+
public class ExceptionDialogTest extends TestingClass {
@Before
@@ -20,6 +22,7 @@
}
@Test
+ @Ignore
public void testShowThrowable() throws InterruptedException,
InvocationTargetException {
ExceptionDialog
@@ -36,17 +39,19 @@
}
@Test
+ @Ignore
public void testShowThrowableWithMailAndHTMLInEception()
throws InterruptedException, InvocationTargetException {
ExceptionDialog.setMailDestinationAddress("tzeggai at wikisquare.de");
ExceptionDialog
- .addAdditionalAppInfo("more <html><i>Samolellen</i></html> information\nand more information");
+ .addAdditionalAppInfo("<html><i>Samolellen</i> information\nand more information</html>");
// TODO automatisch schliessen
ExceptionDialog.show(new RuntimeException(
"Test <html><i>Samolellen</i></html>more info"));
}
@Test
+ @Ignore
public void testShowThrowableWithMail() throws InterruptedException,
InvocationTargetException {
ExceptionDialog.setMailDestinationAddress("tzeggai at wikisquare.de");
More information about the Schmitzm-commits
mailing list