james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r682372 [2/2] - in /james/mime4j/trunk/src: main/java/org/apache/james/mime4j/ main/java/org/apache/james/mime4j/decoder/ main/java/org/apache/james/mime4j/descriptor/ main/java/org/apache/james/mime4j/message/ main/java/org/apache/james/mi...
Date Mon, 04 Aug 2008 12:58:03 GMT
Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/CodecUtilTest.java
(from r680972, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/CodecUtilTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/CodecUtilTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/CodecUtilTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/CodecUtilTest.java&r1=680972&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/CodecUtilTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/CodecUtilTest.java Mon
Aug  4 05:57:59 2008
@@ -17,10 +17,11 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j.util;
+package org.apache.james.mime4j.decoder;
 
 import org.apache.james.mime4j.ExampleMail;
 import org.apache.james.mime4j.decoder.Base64InputStream;
+import org.apache.james.mime4j.decoder.CodecUtil;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/LineBreakingOutputStreamTest.java
(from r680984, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/LineBreakingOutputStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/LineBreakingOutputStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/LineBreakingOutputStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/LineBreakingOutputStreamTest.java&r1=680984&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/LineBreakingOutputStreamTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/LineBreakingOutputStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,9 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j.util;
+package org.apache.james.mime4j.decoder;
+
+import org.apache.james.mime4j.decoder.LineBreakingOutputStream;
 
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/LineBreakingOutputStreamTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/LineBreakingOutputStreamTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableEncodeTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/QuotedPrintableEncodeTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableEncodeTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableEncodeTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/QuotedPrintableEncodeTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/QuotedPrintableEncodeTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableEncodeTest.java
Mon Aug  4 05:57:59 2008
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j.util;
+package org.apache.james.mime4j.decoder;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
@@ -25,6 +25,7 @@
 import java.util.Arrays;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.decoder.CodecUtil;
 import org.apache.james.mime4j.decoder.QuotedPrintableInputStream;
 
 import junit.framework.TestCase;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableTextEncodeTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/QuotedPrintableTextEncodeTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableTextEncodeTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableTextEncodeTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/QuotedPrintableTextEncodeTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/QuotedPrintableTextEncodeTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/decoder/QuotedPrintableTextEncodeTest.java
Mon Aug  4 05:57:59 2008
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j.util;
+package org.apache.james.mime4j.decoder;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
@@ -25,6 +25,7 @@
 import java.util.Arrays;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.decoder.CodecUtil;
 import org.apache.james.mime4j.decoder.QuotedPrintableInputStream;
 
 import junit.framework.TestCase;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/DefaultBodyDescriptorTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/DefaultBodyDescriptorTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/DefaultBodyDescriptorTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/DefaultBodyDescriptorTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/DefaultBodyDescriptorTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/DefaultBodyDescriptorTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/DefaultBodyDescriptorTest.java
Mon Aug  4 05:57:59 2008
@@ -16,7 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.descriptor;
+
+import org.apache.james.mime4j.BaseTestForBodyDescriptors;
+import org.apache.james.mime4j.BodyDescriptor;
+import org.apache.james.mime4j.MutableBodyDescriptor;
+import org.apache.james.mime4j.descriptor.DefaultBodyDescriptor;
 
 public class DefaultBodyDescriptorTest extends BaseTestForBodyDescriptors {
     protected MutableBodyDescriptor newBodyDescriptor() {

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/MaximalBodyDescriptorTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MaximalBodyDescriptorTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/MaximalBodyDescriptorTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/MaximalBodyDescriptorTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MaximalBodyDescriptorTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MaximalBodyDescriptorTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/descriptor/MaximalBodyDescriptorTest.java
Mon Aug  4 05:57:59 2008
@@ -16,11 +16,21 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.descriptor;
 
 import java.io.ByteArrayInputStream;
 
+import org.apache.james.mime4j.BaseTestForBodyDescriptors;
+import org.apache.james.mime4j.BodyDescriptor;
+import org.apache.james.mime4j.ExampleMail;
+import org.apache.james.mime4j.MutableBodyDescriptor;
+import org.apache.james.mime4j.descriptor.MaximalBodyDescriptor;
+import org.apache.james.mime4j.descriptor.RFC1864ContentMD5Descriptor;
+import org.apache.james.mime4j.descriptor.RFC2183ContentDispositionDescriptor;
+import org.apache.james.mime4j.descriptor.RFC2557ContentLocationDescriptor;
+import org.apache.james.mime4j.descriptor.RFC3066ContentLanguageDescriptor;
 import org.apache.james.mime4j.field.datetime.DateTime;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 public class MaximalBodyDescriptorTest extends BaseTestForBodyDescriptors {
 

Modified: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java?rev=682372&r1=682371&r2=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
Mon Aug  4 05:57:59 2008
@@ -19,8 +19,8 @@
 
 package org.apache.james.mime4j.message;
 
+import org.apache.james.mime4j.decoder.CodecUtil;
 import org.apache.james.mime4j.message.Message;
-import org.apache.james.mime4j.util.CodecUtil;
 import org.apache.james.mime4j.util.MessageUtils;
 import org.apache.log4j.BasicConfigurator;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeEntityTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeEntityTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeEntityTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeEntityTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeEntityTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeEntityTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeEntityTest.java Mon
Aug  4 05:57:59 2008
@@ -17,11 +17,17 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
 
 import java.io.ByteArrayInputStream;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.parser.EntityStateMachine;
+import org.apache.james.mime4j.parser.EntityStates;
+import org.apache.james.mime4j.parser.MimeEntity;
+import org.apache.james.mime4j.parser.RecursionMode;
+import org.apache.james.mime4j.stream.BufferedLineReaderInputStream;
+import org.apache.james.mime4j.stream.RootInputStream;
 
 import junit.framework.TestCase;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamParserExampleMessagesTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamParserExampleMessagesTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamParserExampleMessagesTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
Mon Aug  4 05:57:59 2008
@@ -17,9 +17,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.parser.MimeStreamParser;
 import org.apache.log4j.BasicConfigurator;
 
 import java.io.File;

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamParserTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamParserTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamParserTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserTest.java
Mon Aug  4 05:57:59 2008
@@ -17,8 +17,11 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
 
+import org.apache.james.mime4j.BodyDescriptor;
+import org.apache.james.mime4j.parser.AbstractContentHandler;
+import org.apache.james.mime4j.parser.MimeStreamParser;
 import org.apache.log4j.BasicConfigurator;
 
 import java.io.ByteArrayInputStream;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamTokenMessageRfc822Test.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamTokenMessageRfc822Test.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamTokenMessageRfc822Test.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamTokenMessageRfc822Test.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamTokenMessageRfc822Test.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeStreamTokenMessageRfc822Test.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeStreamTokenMessageRfc822Test.java
Mon Aug  4 05:57:59 2008
@@ -16,11 +16,13 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.ExampleMail;
+import org.apache.james.mime4j.parser.MimeTokenStream;
+import org.apache.james.mime4j.parser.RecursionMode;
 
 import java.io.ByteArrayInputStream;
-import java.io.InputStream;
-import java.nio.charset.Charset;
 
 import junit.framework.TestCase;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenEmbeddedMessageTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenEmbeddedMessageTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenEmbeddedMessageTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenEmbeddedMessageTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenEmbeddedMessageTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenEmbeddedMessageTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenEmbeddedMessageTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.ExampleMail;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenNoRecurseTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenNoRecurseTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenNoRecurseTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenNoRecurseTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenNoRecurseTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenNoRecurseTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenNoRecurseTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,9 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import java.io.ByteArrayInputStream;
 import java.io.InputStream;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamBodyDescriptorTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamBodyDescriptorTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamBodyDescriptorTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamBodyDescriptorTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamBodyDescriptorTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamBodyDescriptorTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamBodyDescriptorTest.java
Mon Aug  4 05:57:59 2008
@@ -16,7 +16,11 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.BodyDescriptor;
+import org.apache.james.mime4j.ExampleMail;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import java.io.ByteArrayInputStream;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamReaderTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamReaderTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamReaderTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamReaderTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamReaderTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamReaderTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamReaderTest.java
Mon Aug  4 05:57:59 2008
@@ -16,7 +16,7 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
@@ -24,6 +24,9 @@
 import java.io.Reader;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.ExampleMail;
+import org.apache.james.mime4j.MimeException;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import junit.framework.TestCase;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeTokenStreamTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MimeTokenStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -16,7 +16,12 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.ExampleMail;
+import org.apache.james.mime4j.parser.EntityStates;
+import org.apache.james.mime4j.parser.MimeTokenStream;
+import org.apache.james.mime4j.parser.RecursionMode;
 
 import java.io.ByteArrayInputStream;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MultipartStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MultipartStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MultipartStreamTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,7 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
@@ -25,6 +25,8 @@
 import java.nio.charset.Charset;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.MimeException;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import junit.framework.TestCase;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartTokensTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MultipartTokensTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartTokensTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartTokensTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MultipartTokensTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MultipartTokensTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/MultipartTokensTest.java
Mon Aug  4 05:57:59 2008
@@ -17,13 +17,15 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import java.nio.charset.Charset;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.MimeException;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import junit.framework.TestCase;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/StrictMimeTokenStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/StrictMimeTokenStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/StrictMimeTokenStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/StrictMimeTokenStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/StrictMimeTokenStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/StrictMimeTokenStreamTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/StrictMimeTokenStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,11 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.parser.Event;
+import org.apache.james.mime4j.parser.MimeParseEventException;
+import org.apache.james.mime4j.parser.MimeTokenStream;
 
 import java.io.ByteArrayInputStream;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/TestHandler.java (from
r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestHandler.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/TestHandler.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/TestHandler.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestHandler.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestHandler.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/TestHandler.java Mon Aug
 4 05:57:59 2008
@@ -17,7 +17,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.parser;
+
+import org.apache.james.mime4j.BodyDescriptor;
+import org.apache.james.mime4j.parser.ContentHandler;
 
 import java.io.IOException;
 import java.io.InputStream;

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/TestHandler.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/parser/TestHandler.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamBufferTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/BufferedLineReaderInputStreamBufferTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamBufferTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamBufferTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/BufferedLineReaderInputStreamBufferTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/BufferedLineReaderInputStreamBufferTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamBufferTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,9 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.stream;
+
+import org.apache.james.mime4j.stream.BufferedLineReaderInputStream;
 
 import java.io.ByteArrayInputStream;
 

Propchange: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamBufferTest.java
------------------------------------------------------------------------------
    svn:mergeinfo = 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/BufferedLineReaderInputStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/BufferedLineReaderInputStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/BufferedLineReaderInputStreamTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/BufferedLineReaderInputStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,11 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.stream;
+
+import org.apache.james.mime4j.stream.BufferedLineReaderInputStream;
+import org.apache.james.mime4j.stream.LineReaderInputStream;
+import org.apache.james.mime4j.util.ByteArrayBuffer;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/EOLConvertingInputStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/EOLConvertingInputStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/EOLConvertingInputStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/EOLConvertingInputStreamTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/EOLConvertingInputStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,13 +17,13 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.stream;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 import java.io.UnsupportedEncodingException;
 
-import org.apache.james.mime4j.EOLConvertingInputStream;
+import org.apache.james.mime4j.stream.EOLConvertingInputStream;
 
 
 import junit.framework.TestCase;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/LineReaderInputStreamAdaptorTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/LineReaderInputStreamAdaptorTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/LineReaderInputStreamAdaptorTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/LineReaderInputStreamAdaptorTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/LineReaderInputStreamAdaptorTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/LineReaderInputStreamAdaptorTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/LineReaderInputStreamAdaptorTest.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.stream;
+
+import org.apache.james.mime4j.stream.LineReaderInputStreamAdaptor;
+import org.apache.james.mime4j.util.ByteArrayBuffer;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/MimeBoundaryInputStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeBoundaryInputStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/MimeBoundaryInputStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/MimeBoundaryInputStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeBoundaryInputStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/MimeBoundaryInputStreamTest.java
(original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/MimeBoundaryInputStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,14 +17,17 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.stream;
 
 import java.io.ByteArrayInputStream;
 import java.io.ByteArrayOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 
-import org.apache.james.mime4j.MimeBoundaryInputStream;
+import org.apache.james.mime4j.stream.BufferedLineReaderInputStream;
+import org.apache.james.mime4j.stream.LineReaderInputStream;
+import org.apache.james.mime4j.stream.MimeBoundaryInputStream;
+import org.apache.james.mime4j.util.ByteArrayBuffer;
 
 
 import junit.framework.TestCase;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/RootInputStreamTest.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/RootInputStreamTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/RootInputStreamTest.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/RootInputStreamTest.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/RootInputStreamTest.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/RootInputStreamTest.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/stream/RootInputStreamTest.java
Mon Aug  4 05:57:59 2008
@@ -17,12 +17,12 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.stream;
 
 import java.io.ByteArrayInputStream;
 import java.io.IOException;
 
-import org.apache.james.mime4j.RootInputStream;
+import org.apache.james.mime4j.stream.RootInputStream;
 
 
 import junit.framework.TestCase;

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestByteArrayBuffer.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestByteArrayBuffer.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestByteArrayBuffer.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestByteArrayBuffer.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestByteArrayBuffer.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestByteArrayBuffer.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestByteArrayBuffer.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,9 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.util;
+
+import org.apache.james.mime4j.util.ByteArrayBuffer;
 
 import junit.framework.TestCase;
 

Copied: james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestCharArrayBuffer.java
(from r680968, james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestCharArrayBuffer.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestCharArrayBuffer.java?p2=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestCharArrayBuffer.java&p1=james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestCharArrayBuffer.java&r1=680968&r2=682372&rev=682372&view=diff
==============================================================================
--- james/mime4j/trunk/src/test/java/org/apache/james/mime4j/TestCharArrayBuffer.java (original)
+++ james/mime4j/trunk/src/test/java/org/apache/james/mime4j/util/TestCharArrayBuffer.java
Mon Aug  4 05:57:59 2008
@@ -17,7 +17,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j;
+package org.apache.james.mime4j.util;
+
+import org.apache.james.mime4j.util.ByteArrayBuffer;
+import org.apache.james.mime4j.util.CharArrayBuffer;
 
 import junit.framework.Test;
 import junit.framework.TestCase;



---------------------------------------------------------------------
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