james-mime4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b...@apache.org
Subject svn commit: r1094991 [16/16] - in /james/mime4j/trunk: ./ core/src/test/java/org/apache/james/mime4j/parser/ core/src/test/resources/mimetools-testmsgs/ dom/src/test/java/org/apache/james/mime4j/dom/
Date Tue, 19 Apr 2011 10:12:26 GMT
Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.msg
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.msg?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.msg (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.msg Tue Apr 19 10:12:19 2011
@@ -0,0 +1,168 @@
+From - Fri Jun  9 23:17:56 2000
+Return-Path: <support@webmail.uwohali.com>
+Received: from virtual.mrf.mail.rcn.net ([207.172.4.103])
+          by mta02.mrf.mail.rcn.net
+          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
+          id <20000425112650.ZPUD516.mta02.mrf.mail.rcn.net@virtual.mrf.mail.rcn.net>
+          for <eryq@mta.mrf.mail.rcn.net>; Tue, 25 Apr 2000 07:26:50 -0400
+Received: from [205.139.141.226] (helo=webmail.uwohali.com ident=root)
+	by virtual.mrf.mail.rcn.net with esmtp (Exim 2.12 #3)
+	id 12k3VX-00012G-00
+	for eryq@zeegee.com; Tue, 25 Apr 2000 07:27:59 -0400
+Received: from webmail.uwohali.com (nobody@localhost [127.0.0.1])
+	by webmail.uwohali.com (8.8.7/8.8.7) with SMTP id GAA10264
+	for <eryq@zeegee.com>; Tue, 25 Apr 2000 06:34:43 -0500
+Date: Tue, 25 Apr 2000 06:34:43 -0500
+Message-Id: <200004251134.GAA10264@webmail.uwohali.com>
+From: "ADJE Webmail Tech Support" <support@webmail.uwohali.com>
+To: eryq@zeegee.com
+Subject: mime::parser
+Content-type: multipart/mixed; boundary="---------------------------7d033e3733c"
+Mime-Version: 1.0
+X-Mozilla-Status: 8001
+
+-----------------------------7d033e3733c
+Content-Type: text/plain
+
+Eryq -
+
+I occasionally receive an email (see below) like this one, which
+MIME::Parser does not parse.  Any ideas?  Is this a valid way to send
+an attachment, or is the problem on the "sender's" side?  Thanks for
+your time!
+
+   Mike
+
+-->> Promote YOUR web site!  FREE Perl CGI scripts add WEB ACCESS to your
+-->> E-Mail accounts! Download today!! http://webmail.uwohali.com
+
+-----------------------------7d033e3733c
+
+Here's what he's talking about.  I've uuencoded the ZeeGee
+logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY:Y1*8YQ">V-C8WM:
+M8Z5"<Y12:Z5*:WMC8ZU*:VMK:ZU*<ZU*>X1C:Y1:<WMK:Z52>ZU2<Z5::[52
+M<W-S<XQK:ZU:<ZU:A+5:A*UC<XQS<ZUC>WM[>Y1S<ZUCA)QS<ZUK>[UC>XQ[
+M>YQS>[5K>[UCE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SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&8IP1`<$`.P``
+`
+end
+
+
+
+
+-----------------------------7d033e3733c--
+
+

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.out
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.out?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.out (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.out Tue Apr 19 10:12:19 2011
@@ -0,0 +1,167 @@
+Return-Path: <support@webmail.uwohali.com>
+Received: from virtual.mrf.mail.rcn.net ([207.172.4.103])
+          by mta02.mrf.mail.rcn.net
+          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
+          id <20000425112650.ZPUD516.mta02.mrf.mail.rcn.net@virtual.mrf.mail.rcn.net>
+          for <eryq@mta.mrf.mail.rcn.net>; Tue, 25 Apr 2000 07:26:50 -0400
+Received: from [205.139.141.226] (helo=webmail.uwohali.com ident=root)
+	by virtual.mrf.mail.rcn.net with esmtp (Exim 2.12 #3)
+	id 12k3VX-00012G-00
+	for eryq@zeegee.com; Tue, 25 Apr 2000 07:27:59 -0400
+Received: from webmail.uwohali.com (nobody@localhost [127.0.0.1])
+	by webmail.uwohali.com (8.8.7/8.8.7) with SMTP id GAA10264
+	for <eryq@zeegee.com>; Tue, 25 Apr 2000 06:34:43 -0500
+Date: Tue, 25 Apr 2000 06:34:43 -0500
+Message-Id: <200004251134.GAA10264@webmail.uwohali.com>
+From: "ADJE Webmail Tech Support" <support@webmail.uwohali.com>
+To: eryq@zeegee.com
+Subject: mime::parser
+Content-type: multipart/mixed; boundary="---------------------------7d033e3733c"
+Mime-Version: 1.0
+X-Mozilla-Status: 8001
+
+-----------------------------7d033e3733c
+Content-Type: text/plain
+
+Eryq -
+
+I occasionally receive an email (see below) like this one, which
+MIME::Parser does not parse.  Any ideas?  Is this a valid way to send
+an attachment, or is the problem on the "sender's" side?  Thanks for
+your time!
+
+   Mike
+
+-->> Promote YOUR web site!  FREE Perl CGI scripts add WEB ACCESS to your
+-->> E-Mail accounts! Download today!! http://webmail.uwohali.com
+
+-----------------------------7d033e3733c
+
+Here's what he's talking about.  I've uuencoded the ZeeGee
+logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY:Y1*8YQ">V-C8WM:
+M8Z5"<Y12:Z5*:WMC8ZU*:VMK:ZU*<ZU*>X1C:Y1:<WMK:Z52>ZU2<Z5::[52
+M<W-S<XQK:ZU:<ZU:A+5:A*UC<XQS<ZUC>WM[>Y1S<ZUCA)QS<ZUK>[UC>XQ[
+M>YQS>[5K>[UCE)Q[>X2$A+UKA)Q[E*5[>[UKC*5[A*5[E)R$>[USC*5[G-YC
+MC(R,C*U[G*6$A,YKE+U[C*V$A+5[G,YSC*V$C+5[I=YKE)24E*V,C+6$I;V$
+M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unk/core/src/test/resources/mimetools-testmsgs/uu-junk.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,192 @@
+<message>
+<header>
+<field>
+Return-Path: &lt;support@webmail.uwohali.com&gt;</field>
+<field>
+Received: from virtual.mrf.mail.rcn.net ([207.172.4.103])
+          by mta02.mrf.mail.rcn.net
+          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
+          id &lt;20000425112650.ZPUD516.mta02.mrf.mail.rcn.net@virtual.mrf.mail.rcn.net&gt;
+          for &lt;eryq@mta.mrf.mail.rcn.net&gt;; Tue, 25 Apr 2000 07:26:50 -0400</field>
+<field>
+Received: from [205.139.141.226] (helo=webmail.uwohali.com ident=root)
+	by virtual.mrf.mail.rcn.net with esmtp (Exim 2.12 #3)
+	id 12k3VX-00012G-00
+	for eryq@zeegee.com; Tue, 25 Apr 2000 07:27:59 -0400</field>
+<field>
+Received: from webmail.uwohali.com (nobody@localhost [127.0.0.1])
+	by webmail.uwohali.com (8.8.7/8.8.7) with SMTP id GAA10264
+	for &lt;eryq@zeegee.com&gt;; Tue, 25 Apr 2000 06:34:43 -0500</field>
+<field>
+Date: Tue, 25 Apr 2000 06:34:43 -0500</field>
+<field>
+Message-Id: &lt;200004251134.GAA10264@webmail.uwohali.com&gt;</field>
+<field>
+From: "ADJE Webmail Tech Support" &lt;support@webmail.uwohali.com&gt;</field>
+<field>
+To: eryq@zeegee.com</field>
+<field>
+Subject: mime::parser</field>
+<field>
+Content-type: multipart/mixed; boundary="---------------------------7d033e3733c"</field>
+<field>
+Mime-Version: 1.0</field>
+<field>
+X-Mozilla-Status: 8001</field>
+</header>
+<multipart>
+<body-part>
+<header>
+<field>
+Content-Type: text/plain</field>
+</header>
+<body>
+Eryq -
+
+I occasionally receive an email (see below) like this one, which
+MIME::Parser does not parse.  Any ideas?  Is this a valid way to send
+an attachment, or is the problem on the "sender's" side?  Thanks for
+your time!
+
+   Mike
+
+--&gt;&gt; Promote YOUR web site!  FREE Perl CGI scripts add WEB ACCESS to your
+--&gt;&gt; E-Mail accounts! Download today!! http://webmail.uwohali.com
+</body>
+</body-part>
+<body-part>
+<header>
+</header>
+<body>
+Here's what he's talking about.  I've uuencoded the ZeeGee
+logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&amp;.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F&lt;'MSTQ0
+M%(@)YMB\;W%)@$&lt;.(*:5W2F2@&lt;=F8]&gt;LH4P[7)P.T&amp;NZI7Z,(&amp;JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&amp;.#=A6P!P`/&lt;```````@("!`0$#D`(3D`*4(`*1@8&amp;$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y&lt;YQ"8XQ*:ZTY:Y1*8YQ"&gt;V-C8WM:
+M8Z5"&lt;Y12:Z5*:WMC8ZU*:VMK:ZU*&lt;ZU*&gt;X1C:Y1:&lt;WMK:Z52&gt;ZU2&lt;Z5::[52
+M&lt;W-S&lt;XQK:ZU:&lt;ZU:A+5:A*UC&lt;XQS&lt;ZUC&gt;WM[&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FQ!?$*7SL//_C#;:@/_SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&amp;8IP1`&lt;$`.P``
+`
+end
+
+
+
+</body>
+</body-part>
+<epilogue>
+
+
+</epilogue>
+</multipart>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,55 @@
+<message>
+<header>
+<field>
+Return-Path: &lt;support@webmail.uwohali.com&gt;</field>
+<field>
+Received: from virtual.mrf.mail.rcn.net ([207.172.4.103])
+          by mta02.mrf.mail.rcn.net
+          (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
+          id &lt;20000425112650.ZPUD516.mta02.mrf.mail.rcn.net@virtual.mrf.mail.rcn.net&gt;
+          for &lt;eryq@mta.mrf.mail.rcn.net&gt;; Tue, 25 Apr 2000 07:26:50 -0400</field>
+<field>
+Received: from [205.139.141.226] (helo=webmail.uwohali.com ident=root)
+	by virtual.mrf.mail.rcn.net with esmtp (Exim 2.12 #3)
+	id 12k3VX-00012G-00
+	for eryq@zeegee.com; Tue, 25 Apr 2000 07:27:59 -0400</field>
+<field>
+Received: from webmail.uwohali.com (nobody@localhost [127.0.0.1])
+	by webmail.uwohali.com (8.8.7/8.8.7) with SMTP id GAA10264
+	for &lt;eryq@zeegee.com&gt;; Tue, 25 Apr 2000 06:34:43 -0500</field>
+<field>
+Date: Tue, 25 Apr 2000 06:34:43 -0500</field>
+<field>
+Message-Id: &lt;200004251134.GAA10264@webmail.uwohali.com&gt;</field>
+<field>
+From: "ADJE Webmail Tech Support" &lt;support@webmail.uwohali.com&gt;</field>
+<field>
+To: eryq@zeegee.com</field>
+<field>
+Subject: mime::parser</field>
+<field>
+Content-type: multipart/mixed; boundary="---------------------------7d033e3733c"</field>
+<field>
+Mime-Version: 1.0</field>
+<field>
+X-Mozilla-Status: 8001</field>
+</header>
+<multipart>
+<body-part>
+<header>
+<field>
+Content-Type: text/plain</field>
+</header>
+<text-body name="uu-junk_decoded_1_1.txt"/>
+</body-part>
+<body-part>
+<header>
+</header>
+<text-body name="uu-junk_decoded_1_2.txt"/>
+</body-part>
+<epilogue>
+
+
+</epilogue>
+</multipart>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_1.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_1.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_1.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_1.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,11 @@
+Eryq -
+
+I occasionally receive an email (see below) like this one, which
+MIME::Parser does not parse.  Any ideas?  Is this a valid way to send
+an attachment, or is the problem on the "sender's" side?  Thanks for
+your time!
+
+   Mike
+
+-->> Promote YOUR web site!  FREE Perl CGI scripts add WEB ACCESS to your
+-->> E-Mail accounts! Download today!! http://webmail.uwohali.com

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_1.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_2.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_2.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_2.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_2.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,124 @@
+Here's what he's talking about.  I've uuencoded the ZeeGee
+logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY:Y1*8YQ">V-C8WM:
+M8Z5"<Y12:Z5*:WMC8ZU*:VMK:ZU*<ZU*>X1C:Y1:<WMK:Z52>ZU2<Z5::[52
+M<W-S<XQK:ZU:<ZU:A+5:A*UC<XQS<ZUC>WM[>Y1S<ZUCA)QS<ZUK>[UC>XQ[
+M>YQS>[5K>[UCE)Q[>X2$A+UKA)Q[E*5[>[UKC*5[A*5[E)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)S%
+36KS%7-S%7OS%8!S&8IP1`<$`.P``
+`
+end
+
+
+

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-junk_decoded_1_2.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.msg
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.msg?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.msg (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.msg Tue Apr 19 10:12:19 2011
@@ -0,0 +1,125 @@
+From: me
+To: you
+Subject: uudecoding
+
+I've uuencoded the ZeeGee logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY:Y1*8YQ">V-C8WM:
+M8Z5"<Y12:Z5*:WMC8ZU*:VMK:ZU*<ZU*>X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A^U:<)#&``LAM]\\BI!3%_Y9F?
+MFS@0;4H0Y0BS=UO`#>RB*/F=_R<`J&J^+VF3!(&(=FB>*'#!!G&"FL"X2]@&
+M61FQ!?$*7SL//_C#;:@/_SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&8IP1`<$`.P``
+`
+end
+

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.out
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.out?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.out (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.out Tue Apr 19 10:12:19 2011
@@ -0,0 +1,125 @@
+From: me
+To: you
+Subject: uudecoding
+
+I've uuencoded the ZeeGee logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY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Q^N\CCA_#-M]^%>.D_L/
+M\&B^`T&!4BH0%%@&OS<-3=A^4PH`Z7N^'2A^U:<)#&``LAM]\\BI!3%_Y9F?
+MFS@0;4H0Y0BS=UO`#>RB*/F=_R<`J&J^+VF3!(&(=FB>*'#!!G&"FL"X2]@&
+M61FQ!?$*7SL//_C#;:@/_SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&8IP1`<$`.P``
+`
+end
+

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,133 @@
+<message>
+<header>
+<field>
+From: me</field>
+<field>
+To: you</field>
+<field>
+Subject: uudecoding</field>
+</header>
+<body>
+I've uuencoded the ZeeGee logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&amp;.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F&lt;'MSTQ0
+M%(@)YMB\;W%)@$&lt;.(*:5W2F2@&lt;=F8]&gt;LH4P[7)P.T&amp;NZI7Z,(&amp;JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&amp;.#=A6P!P`/&lt;```````@("!`0$#D`(3D`*4(`*1@8&amp;$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0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)^X7;F!#NT*5.NWMD*7YJ"H8#\;*U.ZYM2Q`H,)79%P#P.A"KQ\FL
+MLZ@/8X@"_U"\ZXJT6`M_7^@-!A"U"/&amp;&amp;6Q"%\Y&gt;WQ^N\CCA_#-M]^%&gt;.D_L/
+M\&amp;B^`T&amp;!4BH0%%@&amp;OS&lt;-3=A^4PH`Z7N^'2A^U:&lt;)#&amp;``LAM]\\BI!3%_Y9F?
+MFS@0;4H0Y0BS=UO`#&gt;RB*/F=_R&lt;`J&amp;J^+VF3!(&amp;(=FB&gt;*'#!!G&amp;"FL"X2]@&amp;
+M61FQ!?$*7SL//_C#;:@/_SN'6_"3@P!]M_"EB.J`@_"36T#"5EK%5GS%6)S%
+36KS%7-S%7OS%8!S&amp;8IP1`&lt;$`.P``
+`
+end
+
+</body>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,11 @@
+<message>
+<header>
+<field>
+From: me</field>
+<field>
+To: you</field>
+<field>
+Subject: uudecoding</field>
+</header>
+<text-body name="uu-zeegee_decoded_1.txt"/>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded_1.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded_1.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded_1.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/uu-zeegee_decoded_1.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,121 @@
+I've uuencoded the ZeeGee logo and another GIF file below.
+
+begin 644 up.gif
+M1TE&.#=A$P`3`*$``/___P```("`@,#`P"P`````$P`3```"1X2/F<'MSTQ0
+M%(@)YMB\;W%)@$<.(*:5W2F2@<=F8]>LH4P[7)P.T&NZI7Z,(&JF^@B121Y3
+4Y4SNEJ"J]8JZ:JTH(K$"/A0``#L`
+`
+end
+
+begin 644 zeegee.gif
+M1TE&.#=A6P!P`/<```````@("!`0$#D`(3D`*4(`*1@8&$H`*4H`,5(`,5(`
+M.5H`,2$A(5H`.5((,6,`.6,`0EH(.6L`0F,(.6,(0BDI*5H0.6L(0FL(2F,0
+M.6,00G,(2C$Q,4(I,6L02GL(4G,04G,02FL80H0(4H0(6E(I.7,80HP(6CDY
+M.6LA0D(Y.90(6I0(8XP06G,A2H084H086I008U(Y0GLA4D)"0G,I2H0A2G,I
+M4H0A4H0A6H0I4I0A8TI*2FLY4GLQ6G,Y4I0I8U)24F-*4EI22I0Q8Y0Q:YPQ
+M:Y0Y6I0Y8X1"6I0Y:UI:6HQ"6H1*8Z4Y<YQ"8XQ*:ZTY:Y1*8YQ">V-C8WM:
+M8Z5"<Y12:Z5*:WMC8ZU*:VMK:ZU*<ZU*>X1C:Y1:<WMK:Z52>ZU2<Z5::[52
+M<W-S<XQK:ZU:<ZU:A+5:A*UC<XQS<ZUC>WM[>Y1S<ZUCA)QS<ZUK>[UC>XQ[
+M>YQS>[5K>[UCE)Q[>X2$A+UKA)Q[E*5[>[UKC*5[A*5[E)R$>[USC*5[G-YC
+MC(R,C*U[G*6$A,YKE+U[C*V$A+5[G,YSC*V$C+5[I=YKE)24E*V,C+6$I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msgs/uu-zeegee_decoded_1.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.msg
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.msg?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.msg (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.msg Tue Apr 19 10:12:19 2011
@@ -0,0 +1,13 @@
+Content-Type: text/plain; name=".signature"
+Content-Disposition: inline; filename=".signature"
+Content-Transfer-Encoding: x-gzip64
+Mime-Version: 1.0
+X-Mailer: MIME-tools 3.204  (ME 3.204 )
+Subject: Testing!
+Content-Length: 281
+
+H4sIAJ+A5jIAA0VPTWvDMAy9+1e8nbpCsS877bRS1vayXdJDDwURbJEEEqez
+VdKC6W+fnQ0iwdN7ktAHQEQAzV7irAv9DI8fvHLGD/bCobai7TisFUyuXxJW
+lDB70aucxfHWtBxRnc4bfG+rrTmMztXBobrWlrHvu6YV7LwErVLZZP4n0IJA
+K3J9N2aaJj3YqD2LeZYzFC75tlTaCtsg/SGRwmJZklnI1wOxa3wtt8Dgu2V2
+EdIyAudnBvaOHd7Qd57ji/oFWju6Pg4BAAA=

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.out
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.out?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.out (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.out Tue Apr 19 10:12:19 2011
@@ -0,0 +1,13 @@
+Content-Type: text/plain; name=".signature"
+Content-Disposition: inline; filename=".signature"
+Content-Transfer-Encoding: x-gzip64
+Mime-Version: 1.0
+X-Mailer: MIME-tools 3.204  (ME 3.204 )
+Subject: Testing!
+Content-Length: 281
+
+H4sIAJ+A5jIAA0VPTWvDMAy9+1e8nbpCsS877bRS1vayXdJDDwURbJEEEqez
+VdKC6W+fnQ0iwdN7ktAHQEQAzV7irAv9DI8fvHLGD/bCobai7TisFUyuXxJW
+lDB70aucxfHWtBxRnc4bfG+rrTmMztXBobrWlrHvu6YV7LwErVLZZP4n0IJA
+K3J9N2aaJj3YqD2LeZYzFC75tlTaCtsg/SGRwmJZklnI1wOxa3wtt8Dgu2V2
+EdIyAudnBvaOHd7Qd57ji/oFWju6Pg4BAAA=

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,25 @@
+<message>
+<header>
+<field>
+Content-Type: text/plain; name=".signature"</field>
+<field>
+Content-Disposition: inline; filename=".signature"</field>
+<field>
+Content-Transfer-Encoding: x-gzip64</field>
+<field>
+Mime-Version: 1.0</field>
+<field>
+X-Mailer: MIME-tools 3.204  (ME 3.204 )</field>
+<field>
+Subject: Testing!</field>
+<field>
+Content-Length: 281</field>
+</header>
+<body>
+H4sIAJ+A5jIAA0VPTWvDMAy9+1e8nbpCsS877bRS1vayXdJDDwURbJEEEqez
+VdKC6W+fnQ0iwdN7ktAHQEQAzV7irAv9DI8fvHLGD/bCobai7TisFUyuXxJW
+lDB70aucxfHWtBxRnc4bfG+rrTmMztXBobrWlrHvu6YV7LwErVLZZP4n0IJA
+K3J9N2aaJj3YqD2LeZYzFC75tlTaCtsg/SGRwmJZklnI1wOxa3wtt8Dgu2V2
+EdIyAudnBvaOHd7Qd57ji/oFWju6Pg4BAAA=
+</body>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded.xml?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded.xml (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded.xml Tue Apr 19 10:12:19 2011
@@ -0,0 +1,19 @@
+<message>
+<header>
+<field>
+Content-Type: text/plain; name=".signature"</field>
+<field>
+Content-Disposition: inline; filename=".signature"</field>
+<field>
+Content-Transfer-Encoding: x-gzip64</field>
+<field>
+Mime-Version: 1.0</field>
+<field>
+X-Mailer: MIME-tools 3.204  (ME 3.204 )</field>
+<field>
+Subject: Testing!</field>
+<field>
+Content-Length: 281</field>
+</header>
+<text-body name="x-gzip64_decoded_1.txt"/>
+</message>

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded.xml
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded_1.txt
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded_1.txt?rev=1094991&view=auto
==============================================================================
--- james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded_1.txt (added)
+++ james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded_1.txt Tue Apr 19 10:12:19 2011
@@ -0,0 +1,5 @@
+H4sIAJ+A5jIAA0VPTWvDMAy9+1e8nbpCsS877bRS1vayXdJDDwURbJEEEqez
+VdKC6W+fnQ0iwdN7ktAHQEQAzV7irAv9DI8fvHLGD/bCobai7TisFUyuXxJW
+lDB70aucxfHWtBxRnc4bfG+rrTmMztXBobrWlrHvu6YV7LwErVLZZP4n0IJA
+K3J9N2aaJj3YqD2LeZYzFC75tlTaCtsg/SGRwmJZklnI1wOxa3wtt8Dgu2V2
+EdIyAudnBvaOHd7Qd57ji/oFWju6Pg4BAAA=

Propchange: james/mime4j/trunk/core/src/test/resources/mimetools-testmsgs/x-gzip64_decoded_1.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Modified: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/ExampleMessagesRoundtripTest.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/ExampleMessagesRoundtripTest.java?rev=1094991&r1=1094990&r2=1094991&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/ExampleMessagesRoundtripTest.java (original)
+++ james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/ExampleMessagesRoundtripTest.java Tue Apr 19 10:12:19 2011
@@ -21,8 +21,11 @@ package org.apache.james.mime4j.dom;
 
 import java.io.ByteArrayOutputStream;
 import java.io.File;
+import java.io.FileNotFoundException;
+import java.io.FileOutputStream;
 import java.io.IOException;
 import java.net.JarURLConnection;
+import java.net.MalformedURLException;
 import java.net.URISyntaxException;
 import java.net.URL;
 import java.util.Enumeration;
@@ -65,10 +68,16 @@ public class ExampleMessagesRoundtripTes
         
         String s = url.toString();
         URL msgout = new URL(s.substring(0, s.lastIndexOf('.')) + ".out");
-        
-        ByteArrayOutputStream expectedstream = new ByteArrayOutputStream();
-        CodecUtil.copy(msgout.openStream(), expectedstream);
-        assertEquals("Wrong Expected result", new String(expectedstream.toByteArray()), new String(out.toByteArray()));
+        try {
+	        ByteArrayOutputStream expectedstream = new ByteArrayOutputStream();
+	        CodecUtil.copy(msgout.openStream(), expectedstream);
+	        assertEquals("Wrong Expected result", new String(expectedstream.toByteArray()), new String(out.toByteArray()));
+        } catch (FileNotFoundException e) {
+        	FileOutputStream fos = new FileOutputStream(msgout.getPath()+".expected");
+	        MimeWriter.DEFAULT.writeMessage(inputMessage, fos);
+        	fos.close();
+        	fail("Expected file created");
+        }
     }
 
     public static Test suite() throws IOException, URISyntaxException {
@@ -78,11 +87,15 @@ public class ExampleMessagesRoundtripTes
     
     static class ExampleMessagesRountripTestSuite extends TestSuite {
 
-        private static final String TESTS_FOLDER = "/testmsgs";
-
         public ExampleMessagesRountripTestSuite() throws IOException, URISyntaxException {
             super();
-            URL resource = ExampleMessagesRountripTestSuite.class.getResource(TESTS_FOLDER);
+            addTests("/testmsgs");
+            addTests("/mimetools-testmsgs");
+        }
+
+		private void addTests(String testsFolder) throws URISyntaxException,
+				MalformedURLException, IOException {
+			URL resource = ExampleMessagesRountripTestSuite.class.getResource(testsFolder);
             if (resource != null) {
                 if (resource.getProtocol().equalsIgnoreCase("file")) {
                     File dir = new File(resource.toURI());
@@ -91,7 +104,7 @@ public class ExampleMessagesRoundtripTes
                     for (File f : files) {
                         if (f.getName().endsWith(".msg")) {
                             addTest(new ExampleMessagesRoundtripTest(f.getName(), 
-                                    f.toURL()));
+                                    f.toURI().toURL()));
                         }
                     }
                 } else if (resource.getProtocol().equalsIgnoreCase("jar")) {
@@ -101,14 +114,14 @@ public class ExampleMessagesRoundtripTes
                         JarEntry entry = it.nextElement();
                         String s = "/" + entry.toString();
                         File f = new File(s);
-                        if (s.startsWith(TESTS_FOLDER) && s.endsWith(".msg")) {
+                        if (s.startsWith(testsFolder) && s.endsWith(".msg")) {
                             addTest(new ExampleMessagesRoundtripTest(f.getName(), 
                                     new URL("jar:file:" + jar.getName() + "!" + s)));
                         }
                     }
                 }
             }
-        }
+		}
         
     }
 }

Modified: james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageParserTest.java
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageParserTest.java?rev=1094991&r1=1094990&r2=1094991&view=diff
==============================================================================
--- james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageParserTest.java (original)
+++ james/mime4j/trunk/dom/src/test/java/org/apache/james/mime4j/dom/MessageParserTest.java Tue Apr 19 10:12:19 2011
@@ -25,6 +25,7 @@ import java.io.FileOutputStream;
 import java.io.IOException;
 import java.io.InputStream;
 import java.net.JarURLConnection;
+import java.net.MalformedURLException;
 import java.net.URISyntaxException;
 import java.net.URL;
 import java.util.Enumeration;
@@ -63,10 +64,14 @@ public class MessageParserTest extends T
     
     static class MessageParserTestSuite extends TestSuite {
         
-        private static final String TESTS_FOLDER = "/testmsgs";
-
         public MessageParserTestSuite() throws IOException, URISyntaxException {
-            URL resource = MessageParserTestSuite.class.getResource(TESTS_FOLDER);
+            addTests("/testmsgs");
+            addTests("/mimetools-testmsgs");
+        }
+
+		private void addTests(String testsFolder) throws URISyntaxException,
+				MalformedURLException, IOException {
+			URL resource = MessageParserTestSuite.class.getResource(testsFolder);
             if (resource != null) {
                 if (resource.getProtocol().equalsIgnoreCase("file")) {
                     File dir = new File(resource.toURI());
@@ -75,7 +80,7 @@ public class MessageParserTest extends T
                     for (File f : files) {
                         if (f.getName().endsWith(".msg")) {
                             addTest(new MessageParserTest(f.getName(), 
-                                    f.toURL()));
+                                    f.toURI().toURL()));
                         }
                     }
                 } else if (resource.getProtocol().equalsIgnoreCase("jar")) {
@@ -85,14 +90,14 @@ public class MessageParserTest extends T
                         JarEntry entry = it.nextElement();
                         String s = "/" + entry.toString();
                         File f = new File(s);
-                        if (s.startsWith(TESTS_FOLDER) && s.endsWith(".msg")) {
+                        if (s.startsWith(testsFolder) && s.endsWith(".msg")) {
                             addTest(new MessageParserTest(f.getName(), 
                                     new URL("jar:file:" + jar.getName() + "!" + s)));
                         }
                     }
                 }
             }
-        }
+		}
         
     }
     
@@ -114,7 +119,7 @@ public class MessageParserTest extends T
 	        String expected = IOUtils.toString(xmlFileUrl.openStream(), "ISO8859-1");
 	        assertEquals(expected, result);
         } catch (FileNotFoundException ex) {
-        	IOUtils.write(result, new FileOutputStream(xmlFileUrl.getPath()+".expected"));
+        	IOUtils.write(result, new FileOutputStream(xmlFileUrl.getPath()+".expected"), "ISO8859-1");
         	fail("Expected file created.");
         }
     }

Modified: james/mime4j/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/mime4j/trunk/pom.xml?rev=1094991&r1=1094990&r2=1094991&view=diff
==============================================================================
--- james/mime4j/trunk/pom.xml (original)
+++ james/mime4j/trunk/pom.xml Tue Apr 19 10:12:19 2011
@@ -177,6 +177,7 @@
                 <exclude>**/main/resources/long-multipart.msg</exclude>
                 <exclude>**/main/resources/META-INF/services/org.apache.james.mime4j.dom.MessageServiceFactory</exclude>
                 <exclude>**/test/resources/testmsgs/*</exclude>
+                <exclude>**/test/resources/mimetools-testmsgs/*</exclude>
                 <!-- Generated by Maven -->
                 <exclude>release.properties</exclude>
                 <exclude>dist/**/*</exclude>
@@ -382,6 +383,7 @@
                   <exclude>**/main/resources/long-multipart.msg</exclude>
                   <exclude>**/main/resources/META-INF/services/org.apache.james.mime4j.dom.MessageServiceFactory</exclude>
                   <exclude>**/test/resources/testmsgs/*</exclude>
+                  <exclude>**/test/resources/mimetools-testmsgs/*</exclude>
                   <!-- Generated by Maven -->
                   <exclude>release.properties</exclude>
                   <exclude>dist/**/*</exclude>
@@ -525,6 +527,7 @@
           <excludes>
             <!- test resources created by JAMES committers / we can't include ALv2 headers there ->
             <exclude>core/src/test/resources/testmsgs/*</exclude>
+            <exclude>core/src/test/resources/mimetools-testmsgs/*</exclude>
             <exclude>core/benchmarks/resources/*.msg</exclude>
             <exclude>release.properties</exclude>
             <exclude>**/.*/**/*</exclude>



Mime
View raw message