[tests] Add set object to test-object.c

This commit is contained in:
Behdad Esfahbod 2013-01-02 22:49:58 -06:00
parent 11d2956553
commit b9d28f696c
1 changed files with 12 additions and 0 deletions

View File

@ -52,6 +52,17 @@ create_buffer_inert (void)
return NULL; return NULL;
} }
static void *
create_set (void)
{
return hb_set_create ();
}
static void *
create_set_inert (void)
{
return NULL;
}
static void * static void *
create_face (void) create_face (void)
{ {
@ -154,6 +165,7 @@ typedef struct {
static const object_t objects[] = static const object_t objects[] =
{ {
OBJECT_WITHOUT_IMMUTABILITY (buffer), OBJECT_WITHOUT_IMMUTABILITY (buffer),
OBJECT_WITHOUT_IMMUTABILITY (set),
OBJECT_WITH_IMMUTABILITY (blob), OBJECT_WITH_IMMUTABILITY (blob),
OBJECT_WITH_IMMUTABILITY (face), OBJECT_WITH_IMMUTABILITY (face),
OBJECT_WITH_IMMUTABILITY (font), OBJECT_WITH_IMMUTABILITY (font),