You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2006/03/26 16:34:28 UTC
svn commit: r388910 -
/james/server/trunk/src/test/org/apache/james/transport/mailets/AddFooterTest.java
Author: bago
Date: Sun Mar 26 06:34:26 2006
New Revision: 388910
URL: http://svn.apache.org/viewcvs?rev=388910&view=rev
Log:
Junit tests fix by Bernd (compatibility with different environment: different newline, different default charsets) (part 2)
Modified:
james/server/trunk/src/test/org/apache/james/transport/mailets/AddFooterTest.java
Modified: james/server/trunk/src/test/org/apache/james/transport/mailets/AddFooterTest.java
URL: http://svn.apache.org/viewcvs/james/server/trunk/src/test/org/apache/james/transport/mailets/AddFooterTest.java?rev=388910&r1=388909&r2=388910&view=diff
==============================================================================
--- james/server/trunk/src/test/org/apache/james/transport/mailets/AddFooterTest.java (original)
+++ james/server/trunk/src/test/org/apache/james/transport/mailets/AddFooterTest.java Sun Mar 26 06:34:26 2006
@@ -206,12 +206,12 @@
/*
* Class under test for String getSubject()
*/
- public void testAddFooterTextPlainCP1252toISO8859() throws MessagingException, IOException {
+ public void testAddFooterTextPlainISO8859() throws MessagingException, IOException {
// quoted printable mimemessage text/plain
- String asciisource = "Subject: test\r\nContent-Type: text/plain; charset=CP1252\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\nTest=E0 and one =80\r\n";
+ String asciisource = "Subject: test\r\nContent-Type: text/plain; charset=iso-8859-15\r\nMIME-Version: 1.0\r\nContent-Transfer-Encoding: quoted-printable\r\n\r\nTest=E0 and one =A4\r\n";
- String iso885915qpheader = "------ my footer =E0/=80 ------";
+ String iso885915qpheader = "------ my footer =E0/=A4 ------";
String footer = "------ my footer \u00E0/\u20AC ------";
String res = processAddFooter(asciisource, footer);
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org