Geary.Mime.ContentType: Rename ::deserialise to ::parse

Add unit tests.
This commit is contained in:
Michael Gratton 2019-11-23 10:38:40 +11:00 committed by Michael James Gratton
parent f77bb50b5c
commit 6d5f63692b
5 changed files with 32 additions and 7 deletions

View file

@ -61,7 +61,7 @@ class Geary.AttachmentTest : TestCase {
public override void set_up() {
try {
this.content_type = Mime.ContentType.deserialize(CONTENT_TYPE);
this.content_type = Mime.ContentType.parse(CONTENT_TYPE);
this.default_type = Mime.ContentType.ATTACHMENT_DEFAULT;
this.content_disposition = new Mime.ContentDisposition("attachment", null);