X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Flib%2Ftest_trace_ir_ref.c;h=5051fa6d1d00aa9550ef3f7f7a6ee669816d3019;hp=53eaca01a4923f45fd7c95d7c01935521b8e0ec2;hb=d24d56638469189904fb6ddbb3c725817b3e9417;hpb=15caa1ca4fac30bd196602bd136e48fda3892de2 diff --git a/tests/lib/test_trace_ir_ref.c b/tests/lib/test_trace_ir_ref.c index 53eaca01..5051fa6d 100644 --- a/tests/lib/test_trace_ir_ref.c +++ b/tests/lib/test_trace_ir_ref.c @@ -442,21 +442,21 @@ static void test_example_scenario(bt_self_component_source *self_comp) } static -bt_self_component_status src_init( +bt_component_class_init_method_status src_init( bt_self_component_source *self_comp, const bt_value *params, void *init_method_data) { test_example_scenario(self_comp); - return BT_SELF_COMPONENT_STATUS_OK; + return BT_COMPONENT_CLASS_INIT_METHOD_STATUS_OK; } static -bt_self_message_iterator_status src_iter_next( +bt_component_class_message_iterator_next_method_status src_iter_next( bt_self_message_iterator *self_iterator, bt_message_array_const msgs, uint64_t capacity, uint64_t *count) { - return BT_SELF_MESSAGE_ITERATOR_STATUS_ERROR; + return BT_COMPONENT_CLASS_MESSAGE_ITERATOR_NEXT_METHOD_STATUS_ERROR; } static void test_example_scenario_in_graph(void)