Lines Matching full:interface

49 static void check_interface(const char *interface)  in check_interface()  argument
51 g_assert_cmpint(qos_graph_has_machine(interface), ==, FALSE); in check_interface()
52 g_assert_nonnull(qos_graph_get_node(interface)); in check_interface()
53 g_assert_cmpint(qos_graph_has_node(interface), ==, TRUE); in check_interface()
54 g_assert_cmpint(qos_graph_get_node_type(interface), ==, QNODE_INTERFACE); in check_interface()
55 qos_graph_node_set_availability(interface, TRUE); in check_interface()
56 g_assert_cmpint(qos_graph_get_node_availability(interface), ==, TRUE); in check_interface()
83 static void check_produces(const char *machine, const char *interface) in check_produces() argument
87 qos_node_produces(machine, interface); in check_produces()
88 check_interface(interface); in check_produces()
89 edge = qos_graph_get_edge(machine, interface); in check_produces()
93 g_assert_cmpint(qos_graph_has_edge(machine, interface), ==, TRUE); in check_produces()
96 static void check_consumes(const char *driver, const char *interface) in check_consumes() argument
100 qos_node_consumes(driver, interface, NULL); in check_consumes()
101 check_interface(interface); in check_consumes()
102 edge = qos_graph_get_edge(interface, driver); in check_consumes()
105 g_assert_cmpint(qos_graph_has_edge(interface, driver), ==, TRUE); in check_consumes()
120 static void check_test(const char *test, const char *interface) in check_test() argument
123 char *full_name = g_strdup_printf("%s-tests/%s", interface, test); in check_test()
125 qos_add_test(test, interface, testfunct, NULL); in check_test()
131 edge = qos_graph_get_edge(interface, full_name); in check_test()
135 g_assert_cmpint(qos_graph_has_edge(interface, full_name), ==, TRUE); in check_test()