ty 24 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 27 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); ty 29 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 32 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 39 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 42 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); ty 44 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 47 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 49 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); ty 51 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_stop"); ty 54 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 61 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 64 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); ty 66 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 69 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 71 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-ip-192.168.122.132_start_0", &rsc, &ty, &ms)); ty 73 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 76 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 83 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 86 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); ty 88 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_from"); ty 91 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 93 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); ty 95 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); ty 98 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 100 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); ty 102 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "migrate_to"); ty 105 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 112 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 115 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("rsc_drbd_7788:1_post_notify_start_0", &rsc, &ty, &ms)); ty 117 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "post_notify_start"); ty 120 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 122 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("rabbitmq-bundle-clone_pre_notify_stop_0", &rsc, &ty, &ms)); ty 124 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "pre_notify_stop"); ty 127 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 129 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); ty 131 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "start"); ty 134 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 140 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 143 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); ty 144 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 146 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 165 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 167 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); ty 169 lib/common/tests/operations/parse_op_key_test.c assert_string_equal(ty, "monitor"); ty 171 lib/common/tests/operations/parse_op_key_test.c free(ty); ty 178 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 181 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("", &rsc, &ty, &ms)); ty 183 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 186 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key(NULL, &rsc, &ty, &ms)); ty 188 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 196 lib/common/tests/operations/parse_op_key_test.c char *ty = NULL; ty 199 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0", &rsc, &ty, &ms)); ty 201 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 204 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_monitor", &rsc, &ty, &ms)); ty 206 lib/common/tests/operations/parse_op_key_test.c assert_null(ty); ty 209 lib/common/tests/operations/parse_op_key_test.c assert_false(parse_op_key("httpd-bundle-0_30000", &rsc, &ty, &ms)); ty 211 lib/common/tests/operations/parse_op_key_test.c assert_null(ty);