Fix notification dialog test

git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1899 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
mguessan 2012-02-06 20:19:55 +00:00
parent ddae179369
commit c5a46c176a
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ import java.io.IOException;
public class TestNotificationDialog extends TestCase {
public void testCreateNotificationFrame() throws IOException, ClassNotFoundException, UnsupportedLookAndFeelException, IllegalAccessException, InstantiationException {
UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
NotificationDialog notificationDialog = new NotificationDialog("to", "cc", "subject");
NotificationDialog notificationDialog = new NotificationDialog("to", "cc", "subject", "description");
notificationDialog.setVisible(true);
System.out.println(notificationDialog.getSendNotification());
}