projects
/
platform
/
upstream
/
evolution-data-server.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ESourceRegistry: Do not mandate builtin sources.
[platform/upstream/evolution-data-server.git]
/
tests
/
libebook
/
test-string.c
1
#include <stdlib.h>
2
#include <string.h>
3
#include <libebook/libebook.h>
4
5
#define TEST_ID "test-uid"
6
7
gint
8
main (gint argc,
9
gchar **argv)
10
{
11
EContact *contact;
12
13
g_type_init ();
14
15
contact = e_contact_new ();
16
17
e_contact_set (contact, E_CONTACT_UID, TEST_ID);
18
19
if (!strcmp (e_contact_get_const (contact, E_CONTACT_UID), TEST_ID))
20
printf ("passed\n");
21
else
22
printf ("failed\n");
23
24
return 0;
25
}