Fix failing unit tests.
Bug 2534698 Bug 2534665 Change-Id: If07fc7113b517059bee937d019d464e9c1bc600f
This commit is contained in:
parent
a0b4907ca5
commit
0fdcac8028
|
@ -157,3 +157,15 @@
|
||||||
<init>(...);
|
<init>(...);
|
||||||
*** get(...);
|
*** get(...);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
-keep class org.apache.james.mime4j.field.Field {
|
||||||
|
*** getBody(...);
|
||||||
|
}
|
||||||
|
|
||||||
|
# The following classes are used only by unit tests.
|
||||||
|
# We should move them into tests/ if possible.
|
||||||
|
|
||||||
|
-keep class org.apache.james.mime4j.message.Message {
|
||||||
|
*;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
|
@ -45,8 +45,6 @@ public class SimpleIcsWriterTests extends TestCase {
|
||||||
final String actual = TestUtils.fromUtf8(ics.getBytes());
|
final String actual = TestUtils.fromUtf8(ics.getBytes());
|
||||||
|
|
||||||
assertEquals(
|
assertEquals(
|
||||||
"TAG1:0" + CRLF +
|
|
||||||
"TAG2:0" + CRLF +
|
|
||||||
"TAG3:xyz" + CRLF +
|
"TAG3:xyz" + CRLF +
|
||||||
"SUMMARY:TEST-TEST\\,\\;\\n\\\\TEST" + CRLF + // escaped
|
"SUMMARY:TEST-TEST\\,\\;\\n\\\\TEST" + CRLF + // escaped
|
||||||
"SUMMARY2:TEST-TEST,;\r\n\\TEST" + CRLF // not escaped
|
"SUMMARY2:TEST-TEST,;\r\n\\TEST" + CRLF // not escaped
|
||||||
|
|
Loading…
Reference in New Issue