Geary.Mime.ContentType: Rename ::deserialise to ::parse
Add unit tests.
This commit is contained in:
parent
f77bb50b5c
commit
6d5f63692b
5 changed files with 32 additions and 7 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue