- BT_ASSERT(bool_obj && integer_obj && real_obj && string_obj &&
- array_obj && map_obj);
-
- status = bt_value_array_append_element(array_obj,
- bool_obj);
- BT_ASSERT(status == BT_VALUE_STATUS_OK);
- status = bt_value_array_append_element(array_obj,
- integer_obj);
- BT_ASSERT(status == BT_VALUE_STATUS_OK);
- status = bt_value_array_append_element(array_obj,
- real_obj);
- BT_ASSERT(status == BT_VALUE_STATUS_OK);
- status = bt_value_array_append_element(array_obj,
- bt_value_null);
- BT_ASSERT(status == BT_VALUE_STATUS_OK);
- status = bt_value_map_insert_entry(map_obj, "array",
- array_obj);
- BT_ASSERT(status == BT_VALUE_STATUS_OK);
- status = bt_value_map_insert_entry(map_obj, "string",
- string_obj);
- BT_ASSERT(status == BT_VALUE_STATUS_OK);
-
- status = bt_value_copy(map_obj, &map_copy_obj);
- ok(status == BT_VALUE_STATUS_OK && map_copy_obj,
+ BT_ASSERT(bool_obj && unsigned_integer_obj && signed_integer_obj &&
+ real_obj && string_obj && array_obj && map_obj);
+
+ append_status = bt_value_array_append_element(array_obj, bool_obj);
+ BT_ASSERT(append_status == BT_VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK);
+ append_status = bt_value_array_append_element(array_obj, unsigned_integer_obj);
+ BT_ASSERT(append_status == BT_VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK);
+ append_status = bt_value_array_append_element(array_obj, signed_integer_obj);
+ BT_ASSERT(append_status == BT_VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK);
+ append_status = bt_value_array_append_element(array_obj, real_obj);
+ BT_ASSERT(append_status == BT_VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK);
+ append_status = bt_value_array_append_element(array_obj, bt_value_null);
+ BT_ASSERT(append_status == BT_VALUE_ARRAY_APPEND_ELEMENT_STATUS_OK);
+ insert_status = bt_value_map_insert_entry(map_obj, "array", array_obj);
+ BT_ASSERT(insert_status == BT_VALUE_MAP_INSERT_ENTRY_STATUS_OK);
+ insert_status = bt_value_map_insert_entry(map_obj, "string", string_obj);
+ BT_ASSERT(insert_status == BT_VALUE_MAP_INSERT_ENTRY_STATUS_OK);
+
+ copy_status = bt_value_copy(map_obj, &map_copy_obj);
+ ok(copy_status == BT_VALUE_COPY_STATUS_OK && map_copy_obj,