Commit 82dd38df authored by Ricki Hirner's avatar Ricki Hirner 🐑

Test whether malformed REV is retained as an unknown property

parent 6eee71f9
Pipeline #5153081 passed with stage
in 10 minutes and 33 seconds
......@@ -355,4 +355,10 @@ public class ContactTest {
}
@Test
public void testStrangeREV() throws IOException {
Contact c = parseContact("strange-rev.vcf", null);
assertTrue(c.unknownProperties.contains("REV;VALUE=timestamp:2016-11-19T17:44:22.057Z"));
}
}
BEGIN:VCARD
VERSION:4.0
PRODID:+//IDN bitfire.at//DAVdroid/1.3.4.1-ose vcard4android ez-vcard/0.10.
0
REV;VALUE=timestamp:2016-11-19T17:44:22.057Z
UID:2e4f2d8d8a
FN:Name Name
N:Name;Name;;;
TEL;TYPE=fax:+49000000
TEL;TYPE=voice:+49000000
END:VCARD
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment