mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-12 10:42:21 -05:00
Carddav: add haspicture to test case
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1197 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
325aa81ab3
commit
c657051a08
@ -189,8 +189,9 @@ public class TestExchangeSessionContact extends AbstractExchangeSessionTestCase
|
|||||||
assertEquals("spousecn", contact.get("spousecn"));
|
assertEquals("spousecn", contact.get("spousecn"));
|
||||||
assertEquals("keywords", contact.get("keywords"));
|
assertEquals("keywords", contact.get("keywords"));
|
||||||
|
|
||||||
assertEquals("1", contact.get("private"));
|
assertEquals("true", contact.get("private"));
|
||||||
|
|
||||||
|
assertEquals("true", contact.get("haspicture"));
|
||||||
assertNotNull(session.getContactPhoto(contact));
|
assertNotNull(session.getContactPhoto(contact));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -270,6 +271,8 @@ public class TestExchangeSessionContact extends AbstractExchangeSessionTestCase
|
|||||||
|
|
||||||
assertNull(contact.get("private"));
|
assertNull(contact.get("private"));
|
||||||
|
|
||||||
|
assertNull(contact.get("haspicture"));
|
||||||
|
|
||||||
assertNull(session.getContactPhoto(contact));
|
assertNull(session.getContactPhoto(contact));
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user