1   package com.ozacc.mail.fetch.impl;
2   
3   import junit.framework.TestCase;
4   
5   import org.apache.log4j.BasicConfigurator;
6   
7   /***
8    * FetchMailImpl¥¯¥é¥¹¤Î¥Æ¥¹¥È¥±¡¼¥¹¡£¼ÂºÝ¤Ë¥á¡¼¥?¥µ¡¼¥Ð¤«¤é¼õ¿®¤·¤Æ³Îǧ¤¹¤?¥Æ¥¹¥È¤Ç¤¹¡£
9    * 
10   * @since 1.2
11   * @author Tomohiro Otsuka
12   * @version $Id: FetchMailImplRealTest.java,v 1.1.2.5 2005/01/23 06:52:04 otsuka Exp $
13   */
14  public class FetchMailImplRealTest extends TestCase {
15  
16  	private String username = "username";
17  
18  	private String password = "password";
19  
20  	private String protocol = "pop3";
21  
22  	private String host = "localhost";
23  
24  	private FetchMailImpl fetchMail;
25  
26  	/*
27  	 * @see TestCase#setUp()
28  	 */
29  	protected void setUp() throws Exception {
30  		super.setUp();
31  		BasicConfigurator.configure();
32  
33  		fetchMail = new FetchMailImpl();
34  		fetchMail.setHost(host);
35  		fetchMail.setProtocol(protocol);
36  		fetchMail.setUsername(username);
37  		fetchMail.setPassword(password);
38  	}
39  
40  	/*
41  	 * @see TestCase#tearDown()
42  	 */
43  	protected void tearDown() throws Exception {
44  		super.tearDown();
45  		BasicConfigurator.resetConfiguration();
46  	}
47  
48  	/*public void testGetMails() throws Exception {
49  	 ReceivedMail[] mails = fetchMail.getMails(true);
50  	 for (int i = 0; i < mails.length; i++) {
51  	 ReceivedMail mail = mails[i];
52  	 }
53  	 }*/
54  
55  	/***
56  	 * ¥Æ¥¹¥È¥±¡¼¥¹¤¬¤Ò¤È¤Ä¤â¤Ê¤¤¤È¥Ó¥?¥É»?¤Ë¥¨¥é¡¼¤Ë¤Ê¤?¤Î¤Ç¡¢¥À¥ß¡¼¡£
57  	 */
58  	public void testDummy() {
59  		assertTrue(true);
60  	}
61  }