james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bernd Fondermann <bf_...@brainlounge.de>
Subject Re: svn commit: r405795 [2/5] - in /james/server/trunk: ./ src/test/org/apache/james/ src/test/org/apache/james/core/ src/test/org/apache/james/mailrepository/ src/test/org/apache/james/pop3server/ src/test/org/apache/james/remotemanager/ src/test/org/apac...
Date Fri, 12 May 2006 22:18:26 GMT
Hi Stefano,

JDBCMailRepositoryTest is not quite finished, isn't it? At least, it 
fails for my local copy ;-)

   Bernd

bago@apache.org wrote:
> Added: james/server/trunk/src/test/org/apache/james/mailrepository/JDBCMailRepositoryTest.java
> URL: http://svn.apache.org/viewcvs/james/server/trunk/src/test/org/apache/james/mailrepository/JDBCMailRepositoryTest.java?rev=405795&view=auto
> ==============================================================================
> --- james/server/trunk/src/test/org/apache/james/mailrepository/JDBCMailRepositoryTest.java
(added)
> +++ james/server/trunk/src/test/org/apache/james/mailrepository/JDBCMailRepositoryTest.java
Wed May 10 09:46:54 2006
> @@ -0,0 +1,304 @@
> +package org.apache.james.mailrepository;
> +
> +import org.apache.avalon.cornerstone.blocks.datasources.DefaultDataSourceSelector;
> +import org.apache.avalon.cornerstone.services.datasources.DataSourceSelector;
> +import org.apache.avalon.cornerstone.services.store.Store;
> +import org.apache.avalon.framework.configuration.DefaultConfiguration;
> +import org.apache.avalon.framework.context.ContextException;
> +import org.apache.james.context.AvalonContextConstants;
> +import org.apache.james.core.MailImpl;
> +import org.apache.james.mailrepository.filepair.File_Persistent_Stream_Repository;
> +import org.apache.james.remotemanager.RemoteManagerTestConfiguration;
> +import org.apache.james.test.mock.avalon.MockContext;
> +import org.apache.james.test.mock.avalon.MockLogger;
> +import org.apache.james.test.mock.avalon.MockServiceManager;
> +import org.apache.james.test.mock.avalon.MockStore;
> +import org.apache.james.util.io.IOUtil;
> +import org.apache.mailet.Mail;
> +import org.apache.mailet.MailAddress;
> +
> +import javax.mail.Session;
> +import javax.mail.internet.MimeMessage;
> +import javax.mail.util.SharedFileInputStream;
> +
> +import java.io.File;
> +import java.io.FileOutputStream;
> +//import java.lang.management.ManagementFactory;
> +//import java.lang.management.MemoryMXBean;
> +//import java.lang.management.MemoryUsage;
> +import java.util.Arrays;
> +import java.util.Properties;
> +
> +import junit.framework.TestCase;
> +
> +/**
> + * test for the JDBCMailRepository
> + */
> +public class JDBCMailRepositoryTest extends TestCase {
> +
> +    protected JDBCMailRepository mailRepository;
> +    protected JDBCMailRepository mailRepository2;
[snipped]

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message