X-Git-Url: https://git.efficios.com/?a=blobdiff_plain;f=tests%2Flib%2Ftest_plugin.c;h=a2fc129aac4ac4fb007114138473b7b5eba5c711;hb=d3e4dcd8e7a601e0aa063455147f29fbe051582b;hp=9b4ea84f706ccb4beda87832b6ed6734a85e5453;hpb=d1b057f5b2954339b0b48fdc5973ec59a641f5a9;p=babeltrace.git diff --git a/tests/lib/test_plugin.c b/tests/lib/test_plugin.c index 9b4ea84f..a2fc129a 100644 --- a/tests/lib/test_plugin.c +++ b/tests/lib/test_plugin.c @@ -144,22 +144,22 @@ static void test_sfs(const char *plugin_dir) "bt_plugin_get_component_class_count() returns the expected value"); source_comp_class = bt_plugin_get_component_class_by_name_and_type( - plugin, "source", BT_COMPONENT_TYPE_SOURCE); + plugin, "source", BT_COMPONENT_CLASS_TYPE_SOURCE); ok(source_comp_class, "bt_plugin_get_component_class_by_name_and_type() finds a source component class"); sink_comp_class = bt_plugin_get_component_class_by_name_and_type( - plugin, "sink", BT_COMPONENT_TYPE_SINK); + plugin, "sink", BT_COMPONENT_CLASS_TYPE_SINK); ok(sink_comp_class, "bt_plugin_get_component_class_by_name_and_type() finds a sink component class"); filter_comp_class = bt_plugin_get_component_class_by_name_and_type( - plugin, "filter", BT_COMPONENT_TYPE_FILTER); + plugin, "filter", BT_COMPONENT_CLASS_TYPE_FILTER); ok(filter_comp_class, "bt_plugin_get_component_class_by_name_and_type() finds a filter component class"); ok(!bt_plugin_get_component_class_by_name_and_type(plugin, "filter", - BT_COMPONENT_TYPE_SOURCE), + BT_COMPONENT_CLASS_TYPE_SOURCE), "bt_plugin_get_component_class_by_name_and_type() does not find a component class given the wrong type"); diag("> putting the plugin object here");