[tests] Add set object to test-object.c
authorBehdad Esfahbod <behdad@behdad.org>
Thu, 3 Jan 2013 04:49:58 +0000 (22:49 -0600)
committerBehdad Esfahbod <behdad@behdad.org>
Thu, 3 Jan 2013 04:49:58 +0000 (22:49 -0600)
test/api/test-object.c

index ae4d1cc..3afe6ae 100644 (file)
@@ -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),