[Schmitzm-commits] r1198 - trunk/src_junit/schmitzm/swing

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Tue Nov 2 16:27:47 CET 2010


Author: alfonx
Date: 2010-11-02 16:27:46 +0100 (Tue, 02 Nov 2010)
New Revision: 1198

Modified:
   trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java
Log:
Added a test to sedn exception per mail

Modified: trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java
===================================================================
--- trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java	2010-11-02 14:57:21 UTC (rev 1197)
+++ trunk/src_junit/schmitzm/swing/ExceptionDialogTest.java	2010-11-02 15:27:46 UTC (rev 1198)
@@ -30,5 +30,13 @@
 			}
 		});
 	}
+	
 
+	@Test
+	public void testShowThrowableWithMail() throws InterruptedException, InvocationTargetException {
+		ExceptionDialog.setMailDestinationAddress("tzeggai at wikisquare.de");
+		ExceptionDialog.setAdditionalAppInfo("more information\nand more information");
+		ExceptionDialog.show(new RuntimeException("Test with mail that conatins more info"));
+	}
+
 }



More information about the Schmitzm-commits mailing list