[seam-commits] Seam SVN: r11225 - branches/enterprise/JBPAPP_5_0/src/test/unit/org/jboss/seam/test/unit.
seam-commits at lists.jboss.org
seam-commits at lists.jboss.org
Wed Jul 1 04:52:26 EDT 2009
Author: manaRH
Date: 2009-07-01 04:52:26 -0400 (Wed, 01 Jul 2009)
New Revision: 11225
Modified:
branches/enterprise/JBPAPP_5_0/src/test/unit/org/jboss/seam/test/unit/MailTest.java
Log:
JBPAPP-2154 - missed removed Meldware classes
Modified: branches/enterprise/JBPAPP_5_0/src/test/unit/org/jboss/seam/test/unit/MailTest.java
===================================================================
--- branches/enterprise/JBPAPP_5_0/src/test/unit/org/jboss/seam/test/unit/MailTest.java 2009-06-30 14:07:07 UTC (rev 11224)
+++ branches/enterprise/JBPAPP_5_0/src/test/unit/org/jboss/seam/test/unit/MailTest.java 2009-07-01 08:52:26 UTC (rev 11225)
@@ -1,13 +1,12 @@
package org.jboss.seam.test.unit;
-import java.util.ArrayList;
+//import java.util.ArrayList;
import javax.mail.NoSuchProviderException;
import javax.mail.Session;
import javax.naming.NamingException;
import org.jboss.seam.mail.MailSession;
-import org.jboss.seam.mail.MeldwareUser;
import org.testng.annotations.Test;
import com.sun.mail.smtp.SMTPSSLTransport;
@@ -30,7 +29,7 @@
private static final String PASSWORD = "letmein";
- private static final String EMAIL = "pete.muir at jboss.org";
+// private static final String EMAIL = "pete.muir at jboss.org";
@Test
public void testBasicMailSession()
@@ -367,34 +366,34 @@
assert failure;
}
- @Test
- public void testMeldwareUser()
- {
- MeldwareUser meldwareUser = new MeldwareUser();
- meldwareUser.setUsername(USERNAME);
- meldwareUser.setPassword(PASSWORD);
- meldwareUser.getAliases().add(EMAIL);
-
- assert USERNAME.equals(meldwareUser.getUsername());
- assert PASSWORD.equals(meldwareUser.getPassword());
- assert meldwareUser.getAliases() != null;
- assert meldwareUser.getAliases().contains(EMAIL);
- assert meldwareUser.getRoles().contains("calendaruser");
- assert !meldwareUser.getRoles().contains("adminuser");
-
- meldwareUser.setAliases(new ArrayList<String>());
- assert meldwareUser.getAliases().isEmpty();
- }
+// @Test
+// public void testMeldwareUser()
+// {
+// MeldwareUser meldwareUser = new MeldwareUser();
+// meldwareUser.setUsername(USERNAME);
+// meldwareUser.setPassword(PASSWORD);
+// meldwareUser.getAliases().add(EMAIL);
+//
+// assert USERNAME.equals(meldwareUser.getUsername());
+// assert PASSWORD.equals(meldwareUser.getPassword());
+// assert meldwareUser.getAliases() != null;
+// assert meldwareUser.getAliases().contains(EMAIL);
+// assert meldwareUser.getRoles().contains("calendaruser");
+// assert !meldwareUser.getRoles().contains("adminuser");
+//
+// meldwareUser.setAliases(new ArrayList<String>());
+// assert meldwareUser.getAliases().isEmpty();
+// }
- @Test
- public void testAdminMeldwareUser()
- {
- MeldwareUser meldwareUser = new MeldwareUser();
- meldwareUser.setAdministrator(true);
-
- assert meldwareUser.getRoles().contains("calendaruser");
- assert meldwareUser.getRoles().contains("adminuser");
- }
+// @Test
+// public void testAdminMeldwareUser()
+// {
+// MeldwareUser meldwareUser = new MeldwareUser();
+// meldwareUser.setAdministrator(true);
+//
+// assert meldwareUser.getRoles().contains("calendaruser");
+// assert meldwareUser.getRoles().contains("adminuser");
+// }
// TODO Write tests for Meldware
More information about the seam-commits
mailing list