Lines Matching defs:test_data
38 CommandAndResult test_data[] = {
152 expected_conn_num = test_data[iteration].expected_queue[i];
344 i = test_data[iteration].expected_queue[0];
352 i = test_data[iteration - 1].expected_queue[0];
357 i = test_data[iteration].expected_queue[0];
403 test_data_len = sizeof (test_data) / sizeof (CommandAndResult);
498 if (test_data[i].command == ADD_CONNECTION)
500 result = dbus_bus_request_name (conn[test_data[i].connection_number],
502 test_data[i].flags,
512 else if (test_data[i].command == REMOVE_CONNECTION)
514 result = dbus_bus_release_name (conn[test_data[i].connection_number],
520 test_data[i].connection_number,
529 fprintf (stderr, "Command #%i not a valid command!\n", test_data[i].command);
534 if (result != test_data[i].expected_result)
538 test_data[i].expected_result,