Author: bago
Date: Thu Dec 31 01:27:48 2009
New Revision: 894752
URL: http://svn.apache.org/viewvc?rev=894752&view=rev
Log:
Added test messages (from the MIME4J-58 issue) to show differences between
malformedHeaderStartsBody set to true or false. Updated testsuite runners so
that when a testmessage name starts with "malformedHeaderStartsBody" then the
option is set to true before starting tests (we could do this to test other
options too).
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.msg
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.out
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.msg
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.out
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded_1.txt
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.msg
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.out
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.msg
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.out
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml
(with props)
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt
(with props)
Modified:
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/MessageParserTest.java
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
Modified:
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java?rev=894752&r1=894751&r2=894752&view=diff
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
(original)
+++
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/ExampleMessagesRoundtripTest.java
Thu Dec 31 01:27:48 2009
@@ -63,6 +63,9 @@
@Override
protected void runTest() throws Throwable {
MimeEntityConfig config = new MimeEntityConfig();
+ if (getName().startsWith("malformedHeaderStartsBody")) {
+ config.setMalformedHeaderStartsBody(true);
+ }
config.setMaxLineLen(-1);
Message inputMessage = new Message(new FileInputStream(file), config);
ByteArrayOutputStream out = new ByteArrayOutputStream();
Modified:
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/MessageParserTest.java
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/MessageParserTest.java?rev=894752&r1=894751&r2=894752&view=diff
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/MessageParserTest.java
(original)
+++
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/message/MessageParserTest.java
Thu Dec 31 01:27:48 2009
@@ -97,6 +97,9 @@
System.out.println("Parsing " + f.getName());
MimeEntityConfig config = new MimeEntityConfig();
+ if (getName().startsWith("malformedHeaderStartsBody")) {
+ config.setMalformedHeaderStartsBody(true);
+ }
config.setMaxLineLen(-1);
Message m = new Message(new FileInputStream(f), config);
Modified:
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java?rev=894752&r1=894751&r2=894752&view=diff
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
(original)
+++
james/mime4j/branches/cycleclean/core/src/test/java/org/apache/james/mime4j/parser/MimeStreamParserExampleMessagesTest.java
Thu Dec 31 01:27:48 2009
@@ -63,6 +63,9 @@
MimeStreamParser parser = null;
TestHandler handler = null;
MimeEntityConfig config = new MimeEntityConfig();
+ if (getName().startsWith("malformedHeaderStartsBody")) {
+ config.setMalformedHeaderStartsBody(true);
+ }
config.setMaxLineLen(-1);
parser = new MimeStreamParser(config);
handler = new TestHandler();
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.msg
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.msg?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.msg
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.msg
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,5 @@
+Subject: this is a subject
+This is an invalid header
+AnotherHeader: is this an header or the first part of the body?
+
+Body text
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.out
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.out?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.out
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.out
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,4 @@
+Subject: this is a subject
+AnotherHeader: is this an header or the first part of the body?
+
+Body text
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,11 @@
+<message>
+<header>
+<field>
+Subject: this is a subject</field>
+<field>
+AnotherHeader: is this an header or the first part of the body?</field>
+</header>
+<body>
+Body text
+</body>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,9 @@
+<message>
+<header>
+<field>
+Subject: this is a subject</field>
+<field>
+AnotherHeader: is this an header or the first part of the body?</field>
+</header>
+<text-body name="malformedHeader-nocrlfcrlf_decoded_1.txt"/>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt
Thu Dec 31 01:27:48 2009
@@ -0,0 +1 @@
+Body text
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-nocrlfcrlf_decoded_1.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.msg
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.msg?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.msg
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.msg
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,2 @@
+This is a simple message not having headers.
+The whole text should be recognized as body.
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.out
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.out?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.out
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.out
Thu Dec 31 01:27:48 2009
@@ -0,0 +1 @@
+
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,6 @@
+<message>
+<header>
+</header>
+<body>
+</body>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,5 @@
+<message>
+<header>
+</header>
+<text-body name="malformedHeader-noheader_decoded_1.txt"/>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded_1.txt
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded_1.txt?rev=894752&view=auto
==============================================================================
(empty)
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded_1.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeader-noheader_decoded_1.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.msg
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.msg?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.msg
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.msg
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,5 @@
+Subject: this is a subject
+This is an invalid header
+AnotherHeader: is this an header or the first part of the body?
+
+Body text
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.out
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.out?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.out
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.out
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,5 @@
+Subject: this is a subject
+
+This is an invalid header
+
+Body text
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,11 @@
+<message>
+<header>
+<field>
+Subject: this is a subject</field>
+</header>
+<body>
+This is an invalid header
+
+Body text
+</body>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,7 @@
+<message>
+<header>
+<field>
+Subject: this is a subject</field>
+</header>
+<text-body name="malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt"/>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,3 @@
+This is an invalid header
+
+Body text
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-nocrlfcrlf_decoded_1.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.msg
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.msg?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.msg
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.msg
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,2 @@
+This is a simple message not having headers.
+The whole text should be recognized as body.
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.out
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.out?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.out
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.out
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,2 @@
+
+This is a simple message not having headers.
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,7 @@
+<message>
+<header>
+</header>
+<body>
+This is a simple message not having headers.
+</body>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml
Thu Dec 31 01:27:48 2009
@@ -0,0 +1,5 @@
+<message>
+<header>
+</header>
+<text-body name="malformedHeaderStartsBody-noheader_decoded_1.txt"/>
+</message>
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt
URL:
http://svn.apache.org/viewvc/james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt?rev=894752&view=auto
==============================================================================
---
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt
(added)
+++
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt
Thu Dec 31 01:27:48 2009
@@ -0,0 +1 @@
+This is a simple message not having headers.
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange:
james/mime4j/branches/cycleclean/core/src/test/resources/testmsgs/malformedHeaderStartsBody-noheader_decoded_1.txt
------------------------------------------------------------------------------
svn:mime-type = text/plain