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
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
42
43 protected void tearDown() throws Exception {
44 super.tearDown();
45 BasicConfigurator.resetConfiguration();
46 }
47
48
49
50
51
52
53
54
55 /***
56 * テストケースがひとつもないとビ�?ド�?にエラーにな�?ので、ダミー。
57 */
58 public void testDummy() {
59 assertTrue(true);
60 }
61 }