Java Doc for EmailTest.java in  » Net » apache-common-Email » org » apache » commons » mail » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Net » apache common Email » org.apache.commons.mail 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.commons.mail.BaseEmailTestCase
   org.apache.commons.mail.EmailTest

EmailTest
public class EmailTest extends BaseEmailTestCase (Code)
JUnit test case for Email Class
since:
   1.0
author:
   Corey Scott
version:
   $Id: EmailTest.java 279300 2005-09-07 11:43:52Z henning $


Field Summary
final public static  String[]ARR_VALID_EMAILS
    

Constructor Summary
public  EmailTest(String name)
    

Method Summary
protected  voidsetUp()
    
public  voidtestAddBcc()
    
public  voidtestAddBcc2()
    
public  voidtestAddBccWithEncoding()
    
public  voidtestAddCc()
    
public  voidtestAddCc2()
    
public  voidtestAddCcWithEncoding()
    
public  voidtestAddHeader()
    
public  voidtestAddHeaderEx()
    
public  voidtestAddReplyTo()
    
public  voidtestAddReplyTo2()
    
public  voidtestAddReplyToWithEncoding()
    
public  voidtestAddTo()
    
public  voidtestAddTo2()
    
public  voidtestAddToWithEncoding()
    
public  voidtestGetSetAuthentication()
    
public  voidtestGetSetAuthenticator()
    
public  voidtestGetSetCharset()
    
public  voidtestGetSetDebug()
    
public  voidtestGetSetHostName()
    
public  voidtestGetSetSentDate()
    
public  voidtestGetSetSession()
    
public  voidtestGetSetSmtpPort()
    
public  voidtestSendEx()
    
public  voidtestSetBcc()
    
public  voidtestSetCc()
    
public  voidtestSetContentMimeMultipart()
    
public  voidtestSetContentObject()
    
public  voidtestSetFrom()
    
public  voidtestSetFrom2()
    
public  voidtestSetFromWithEnconding()
    
public  voidtestSetHeaders()
    
public  voidtestSetHeadersEx()
    
public  voidtestSetPopBeforeSmtp()
    
public  voidtestSetSubject()
    
public  voidtestSetTo()
    
public  voidtestToInternetAddressArray()
    

Field Detail
ARR_VALID_EMAILS
final public static String[] ARR_VALID_EMAILS(Code)




Constructor Detail
EmailTest
public EmailTest(String name)(Code)

Parameters:
  name - name




Method Detail
setUp
protected void setUp()(Code)



testAddBcc
public void testAddBcc()(Code)



testAddBcc2
public void testAddBcc2()(Code)



testAddBccWithEncoding
public void testAddBccWithEncoding()(Code)



testAddCc
public void testAddCc()(Code)



testAddCc2
public void testAddCc2()(Code)



testAddCcWithEncoding
public void testAddCcWithEncoding()(Code)



testAddHeader
public void testAddHeader()(Code)



testAddHeaderEx
public void testAddHeaderEx()(Code)



testAddReplyTo
public void testAddReplyTo()(Code)



testAddReplyTo2
public void testAddReplyTo2()(Code)



testAddReplyToWithEncoding
public void testAddReplyToWithEncoding()(Code)



testAddTo
public void testAddTo()(Code)



testAddTo2
public void testAddTo2()(Code)



testAddToWithEncoding
public void testAddToWithEncoding()(Code)



testGetSetAuthentication
public void testGetSetAuthentication()(Code)



testGetSetAuthenticator
public void testGetSetAuthenticator()(Code)



testGetSetCharset
public void testGetSetCharset()(Code)



testGetSetDebug
public void testGetSetDebug()(Code)



testGetSetHostName
public void testGetSetHostName()(Code)



testGetSetSentDate
public void testGetSetSentDate()(Code)



testGetSetSession
public void testGetSetSession() throws Exception(Code)

throws:
  Exception - Exception



testGetSetSmtpPort
public void testGetSetSmtpPort()(Code)



testSendEx
public void testSendEx()(Code)



testSetBcc
public void testSetBcc()(Code)



testSetCc
public void testSetCc()(Code)



testSetContentMimeMultipart
public void testSetContentMimeMultipart()(Code)



testSetContentObject
public void testSetContentObject()(Code)



testSetFrom
public void testSetFrom() throws Exception(Code)

throws:
  Exception - Exception



testSetFrom2
public void testSetFrom2() throws Exception(Code)

throws:
  Exception - Exception



testSetFromWithEnconding
public void testSetFromWithEnconding() throws Exception(Code)

throws:
  Exception - Exception



testSetHeaders
public void testSetHeaders()(Code)



testSetHeadersEx
public void testSetHeadersEx()(Code)



testSetPopBeforeSmtp
public void testSetPopBeforeSmtp()(Code)



testSetSubject
public void testSetSubject()(Code)



testSetTo
public void testSetTo()(Code)



testToInternetAddressArray
public void testToInternetAddressArray()(Code)



Fields inherited from org.apache.commons.mail.BaseEmailTestCase
final public static int BODY_END_PAD(Code)(Java Doc)
final public static int BODY_START_PAD(Code)(Java Doc)
protected SimpleSmtpServer fakeMailServer(Code)(Java Doc)
protected String strTestMailFrom(Code)(Java Doc)
protected String strTestMailServer(Code)(Java Doc)
protected String strTestMailTo(Code)(Java Doc)
protected String strTestPasswd(Code)(Java Doc)
protected String strTestURL(Code)(Java Doc)
protected String strTestUser(Code)(Java Doc)
protected String[] testCharsNotValid(Code)(Java Doc)
protected String[] testCharsValid(Code)(Java Doc)

Methods inherited from org.apache.commons.mail.BaseEmailTestCase
public void getMailServer()(Code)(Java Doc)
protected int getMailServerPort()(Code)(Java Doc)
public String getMessageAsString(int intMsgNo)(Code)(Java Doc)
protected void saveEmailToFile(SmtpMessage email) throws IOException(Code)(Java Doc)
protected void setUp()(Code)(Java Doc)
protected void tearDown()(Code)(Java Doc)
protected SmtpMessage validateSend(SimpleSmtpServer mailServer, String strSubject, InternetAddress fromAdd, List toAdd, List ccAdd, List bccAdd, boolean boolSaveToFile) throws IOException(Code)(Java Doc)
protected void validateSend(SimpleSmtpServer mailServer, String strSubject, Multipart content, InternetAddress fromAdd, List toAdd, List ccAdd, List bccAdd, boolean boolSaveToFile) throws IOException(Code)(Java Doc)
protected void validateSend(SimpleSmtpServer mailServer, String strSubject, String strMessage, InternetAddress fromAdd, List toAdd, List ccAdd, List bccAdd, boolean boolSaveToFile) throws IOException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.