+ ok(bt_ctf_field_string_append_len(NULL, "oh noes", 3),
+ "bt_ctf_field_string_append_len correctly handles a NULL string field");
+ ok(bt_ctf_field_string_append_len(a_string_field, NULL, 3),
+ "bt_ctf_field_string_append_len correctly handles a NULL string value");
+ ok(!bt_ctf_field_string_append_len(a_string_field, test_string_3, 5),
+ "bt_ctf_field_string_append_len succeeds (append 5 characters)");
+ ok(!bt_ctf_field_string_append_len(a_string_field, test_string_4, 10),
+ "bt_ctf_field_string_append_len succeeds (append 4 characters)");
+ ok(!bt_ctf_field_string_append_len(a_string_field, &test_string_4[4], 3),
+ "bt_ctf_field_string_append_len succeeds (append 0 characters)");
+ ok(!bt_ctf_field_string_append_len(a_string_field, test_string_3, 0),
+ "bt_ctf_field_string_append_len succeeds (append 0 characters)");
+