EDS testing: allow EDS to add additional phone parameters
authorPatrick Ohly <patrick.ohly@intel.com>
Mon, 25 Mar 2013 14:39:33 +0000 (15:39 +0100)
committerPatrick Ohly <patrick.ohly@intel.com>
Tue, 26 Mar 2013 14:13:46 +0000 (15:13 +0100)
commit4a5d0e0694995e9bb7db69d6b70452f883c2ccf5
tree25132741e78b27ffb6372c1bd3145f1daf672792
parentf7035a7e21ef37329cf4fea9fb569d94185d5751
EDS testing: allow EDS to add additional phone parameters

When EDS is compiled with libphonenumber support, it automatically
computes a normalized E.164 representation of each phone number and
returns it as an additional X-EVOLUTION-E164 parameter.

This broke the strict phone_fd.equals check in set-phones, because it
compared against a PhoneFieldDetails without that parameter. Now the
test only looks for a phone number with "1234" as value and checks for
the expected type after returning from the event loop.
tests/eds/set-phones.vala