X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=tests%2Flib%2Ftest-plugin-plugins%2Fsfs.c;h=6fbd76dc3ec589b2199383ca736df1945996c441;hb=5ce9818ba4e76858b2ef12c81ba75c1306f195d3;hp=cd44e7936055b9cba208692a0a566e9ae4aec4df;hpb=0235b0db7de5bcacdb3650c92461f2ce5eb2143d;p=babeltrace.git diff --git a/tests/lib/test-plugin-plugins/sfs.c b/tests/lib/test-plugin-plugins/sfs.c index cd44e793..6fbd76dc 100644 --- a/tests/lib/test-plugin-plugins/sfs.c +++ b/tests/lib/test-plugin-plugins/sfs.c @@ -13,6 +13,17 @@ static bt_component_class_sink_consume_method_status sink_consume( return BT_COMPONENT_CLASS_SINK_CONSUME_METHOD_STATUS_OK; } +static bt_component_class_get_supported_mip_versions_method_status +sink_get_supported_mip_versions( + bt_self_component_class_sink *source_component_class, + const bt_value *params, void *initialize_method_data, + bt_logging_level logging_level, + bt_integer_range_set_unsigned *supported_versions) +{ + return (int) bt_integer_range_set_unsigned_add_range( + supported_versions, 0, 0); +} + static bt_message_iterator_class_initialize_method_status src_dummy_iterator_init_method( bt_self_message_iterator *self_msg_iter, @@ -90,6 +101,8 @@ BT_PLUGIN_SINK_COMPONENT_CLASS_HELP(sink, "venison tenderloin cow tail. Beef short loin shoulder meatball, sirloin\n" "ground round brisket salami cupim pork bresaola turkey bacon boudin.\n" ); +BT_PLUGIN_SINK_COMPONENT_CLASS_GET_SUPPORTED_MIP_VERSIONS_METHOD(sink, + sink_get_supported_mip_versions); BT_PLUGIN_FILTER_COMPONENT_CLASS(filter, dummy_iterator_next_method); BT_PLUGIN_FILTER_COMPONENT_CLASS_DESCRIPTION(filter, "A filter.");