From b9d28f696c433b94c5ffbad8d7c87cf3acff4056 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 2 Jan 2013 22:49:58 -0600 Subject: [PATCH] [tests] Add set object to test-object.c --- test/api/test-object.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/test/api/test-object.c b/test/api/test-object.c index ae4d1cc..3afe6ae 100644 --- a/test/api/test-object.c +++ b/test/api/test-object.c @@ -53,6 +53,17 @@ create_buffer_inert (void) } static void * +create_set (void) +{ + return hb_set_create (); +} +static void * +create_set_inert (void) +{ + return NULL; +} + +static void * create_face (void) { hb_blob_t *blob = (hb_blob_t *) create_blob (); @@ -154,6 +165,7 @@ typedef struct { static const object_t objects[] = { OBJECT_WITHOUT_IMMUTABILITY (buffer), + OBJECT_WITHOUT_IMMUTABILITY (set), OBJECT_WITH_IMMUTABILITY (blob), OBJECT_WITH_IMMUTABILITY (face), OBJECT_WITH_IMMUTABILITY (font), -- 2.7.4