- ok (!bt_component_class_query(NULL, "get-something", params),
- "bt_component_class_query() handles NULL (component class)");
- ok (!bt_component_class_query(filter_comp_class, NULL, params),
- "bt_component_class_query() handles NULL (object)");
- ok (!bt_component_class_query(filter_comp_class, "get-something", NULL),
- "bt_component_class_query() handles NULL (parameters)");
- results = bt_component_class_query(filter_comp_class,
- "get-something", params);
- ok(results, "bt_component_class_query() succeeds");
+ ret = bt_query_executor_query(NULL, filter_comp_class, "object",
+ params, &results);
+ ok (ret, "bt_query_executor_query() handles NULL (query executor)");
+ ret = bt_query_executor_query(query_exec, NULL, "object",
+ params, &results);
+ ok (ret, "bt_query_executor_query() handles NULL (component class)");
+ ret = bt_query_executor_query(query_exec, filter_comp_class, NULL,
+ params, &results);
+ ok (ret, "bt_query_executor_query() handles NULL (object)");
+ ret = bt_query_executor_query(query_exec, filter_comp_class,
+ "get-something", params, &results);
+ ok(ret == 0 && results, "bt_query_executor_query() succeeds");