[Schmitzm-commits] r1226 - trunk/src_junit/schmitzm/swing
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Wed Nov 3 18:35:01 CET 2010
Author: alfonx
Date: 2010-11-03 18:35:00 +0100 (Wed, 03 Nov 2010)
New Revision: 1226
Modified:
trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java
Log:
Modified: trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java
===================================================================
--- trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java 2010-11-03 17:05:42 UTC (rev 1225)
+++ trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java 2010-11-03 17:35:00 UTC (rev 1226)
@@ -30,12 +30,21 @@
}
});
}
-
@Test
+ public void testShowThrowableWithMailAndHTMLInEception() throws InterruptedException, InvocationTargetException {
+ ExceptionDialog.setMailDestinationAddress("tzeggai at wikisquare.de");
+ ExceptionDialog.setAdditionalAppInfo("more <html><i>Samolellen</i></html> information\nand more information");
+ // TODO automatisch schliessen
+ ExceptionDialog.show(new RuntimeException("Test <html><i>Samolellen</i></html>more info"));
+ }
+
+
+ @Test
public void testShowThrowableWithMail() throws InterruptedException, InvocationTargetException {
ExceptionDialog.setMailDestinationAddress("tzeggai at wikisquare.de");
ExceptionDialog.setAdditionalAppInfo("more information\nand more information");
+ // TODO automatisch schliessen
ExceptionDialog.show(new RuntimeException("Test with mail that conatins more info"));
}
More information about the Schmitzm-commits
mailing list