$(srcdir)/data/vcards/custom-10.vcf \
$(srcdir)/data/vcards/custom-11.vcf \
$(srcdir)/data/vcards/custom-12.vcf \
+ $(srcdir)/data/vcards/custom-13.vcf \
+ $(srcdir)/data/vcards/custom-14.vcf \
+ $(srcdir)/data/vcards/custom-15.vcf \
$(NULL)
test_ebook_commit_contact_LDADD=$(TEST_LIBS)
# define CHECK_UNSUPPORTED_ERROR(data) (((ClientTestData *)(data))->phone_number_query != FALSE)
#endif
-#define N_CONTACTS 12
+#define N_CONTACTS 15
+
typedef struct {
ETestServerClosure parent;
* E_BOOK_QUERY_EQUALS_NATIONAL_PHONE_NUMBER *
*********************************************/
+ add_client_test (
+ suites[i].prefix,
+ "/EqPhone/National/WithoutCountry",
+ suites[i].func,
+ e_book_query_field_test (
+ E_CONTACT_TEL,
+ E_BOOK_QUERY_EQUALS_NATIONAL_PHONE_NUMBER,
+ "408 765-5050"),
+ 2,
+ suites[i].direct,
+ suites[i].custom,
+ TRUE);
+
+ add_client_test (
+ suites[i].prefix,
+ "/EqPhone/National/en_US",
+ suites[i].func,
+ e_book_query_field_test (
+ E_CONTACT_TEL,
+ E_BOOK_QUERY_EQUALS_NATIONAL_PHONE_NUMBER,
+ "+1 408 765-5050"),
+ 2,
+ suites[i].direct,
+ suites[i].custom,
+ TRUE);
+
+ add_client_test (
+ suites[i].prefix,
+ "/EqPhone/National/de_DE",
+ suites[i].func,
+ e_book_query_field_test (
+ E_CONTACT_TEL,
+ E_BOOK_QUERY_EQUALS_NATIONAL_PHONE_NUMBER,
+ "+49 408 765-5050"),
+ 1,
+ suites[i].direct,
+ suites[i].custom,
+ TRUE);
+
/* Test that a query term with no specified country returns
* all vCards that have the same national number regardless
* of country codes.