james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1618037 - in /james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j: dom/EntityTest.java dom/HeaderTest.java dom/MessageTest.java message/EntityImplTest.java message/HeaderImplTest.java message/MessageImplTest.java
Date Thu, 14 Aug 2014 19:58:42 GMT
Author: olegk
Date: Thu Aug 14 19:58:42 2014
New Revision: 1618037

URL: http://svn.apache.org/r1618037
Log:
Moved Message, Header and Entity implementation test cases

Added:
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java
  (contents, props changed)
      - copied, changed from r1618036, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/EntityTest.java
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java
  (contents, props changed)
      - copied, changed from r1618036, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/HeaderTest.java
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java
  (contents, props changed)
      - copied, changed from r1618036, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageTest.java
Removed:
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/EntityTest.java
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/HeaderTest.java
    james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageTest.java

Copied: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java
(from r1618036, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/EntityTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java?p2=james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java&p1=james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/EntityTest.java&r1=1618036&r2=1618037&rev=1618037&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/EntityTest.java (original)
+++ james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java
Thu Aug 14 19:58:42 2014
@@ -17,8 +17,11 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j.dom;
+package org.apache.james.mime4j.message;
 
+import org.apache.james.mime4j.dom.Body;
+import org.apache.james.mime4j.dom.Entity;
+import org.apache.james.mime4j.dom.Header;
 import org.apache.james.mime4j.field.DefaultFieldParser;
 import org.apache.james.mime4j.message.BasicBodyFactory;
 import org.apache.james.mime4j.message.BodyPart;
@@ -26,7 +29,7 @@ import org.apache.james.mime4j.message.H
 import org.junit.Assert;
 import org.junit.Test;
 
-public class EntityTest {
+public class EntityImplTest {
 
     @Test
     public void testSetBody() throws Exception {

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/EntityImplTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java
(from r1618036, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/HeaderTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java?p2=james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java&p1=james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/HeaderTest.java&r1=1618036&r2=1618037&rev=1618037&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/HeaderTest.java (original)
+++ james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java
Thu Aug 14 19:58:42 2014
@@ -17,9 +17,10 @@
  * under the License.                                           *
  ****************************************************************/
 
-package org.apache.james.mime4j.dom;
+package org.apache.james.mime4j.message;
 
 import org.apache.commons.io.output.ByteArrayOutputStream;
+import org.apache.james.mime4j.dom.Header;
 import org.apache.james.mime4j.field.DefaultFieldParser;
 import org.apache.james.mime4j.message.DefaultMessageWriter;
 import org.apache.james.mime4j.message.HeaderImpl;
@@ -29,7 +30,7 @@ import org.apache.james.mime4j.util.Cont
 import org.junit.Assert;
 import org.junit.Test;
 
-public class HeaderTest {
+public class HeaderImplTest {
 
     public static final String SUBJECT = "Subject: test";
 

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/HeaderImplTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Copied: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java
(from r1618036, james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageTest.java)
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java?p2=james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java&p1=james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageTest.java&r1=1618036&r2=1618037&rev=1618037&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageTest.java (original)
+++ james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java
Thu Aug 14 19:58:42 2014
@@ -17,7 +17,7 @@
 * under the License.                                           *
 ****************************************************************/
 
-package org.apache.james.mime4j.dom;
+package org.apache.james.mime4j.message;
 
 import java.io.BufferedReader;
 import java.io.ByteArrayInputStream;
@@ -29,6 +29,10 @@ import java.util.Date;
 import java.util.List;
 
 import org.apache.commons.io.IOUtils;
+import org.apache.james.mime4j.dom.Header;
+import org.apache.james.mime4j.dom.Message;
+import org.apache.james.mime4j.dom.Multipart;
+import org.apache.james.mime4j.dom.SingleBody;
 import org.apache.james.mime4j.dom.address.Mailbox;
 import org.apache.james.mime4j.dom.field.FieldName;
 import org.apache.james.mime4j.dom.field.MimeVersionField;
@@ -43,7 +47,7 @@ import org.junit.Assert;
 import org.junit.Before;
 import org.junit.Test;
 
-public class MessageTest {
+public class MessageImplTest {
     private Header headerTextPlain = null;
     private Header headerMessageRFC822 = null;
     private Header headerEmpty = null;

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/message/MessageImplTest.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain



Mime
View raw message