assert_true 24 lib/common/tests/acl/pcmk_acl_required_test.c assert_true(pcmk_acl_required("123")); assert_true 59 lib/common/tests/acl/xml_acl_denied_test.c assert_true(xml_acl_denied(test_xml)); assert_true 59 lib/common/tests/acl/xml_acl_enabled_test.c assert_true(xml_acl_enabled(test_xml)); assert_true 29 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_ACTION_LIMIT)); assert_true 30 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_DELAY_BASE)); assert_true 31 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_DELAY_MAX)); assert_true 32 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_ARGUMENT)); assert_true 33 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_CHECK)); assert_true 34 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_LIST)); assert_true 35 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_HOST_MAP)); assert_true 36 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_PROVIDES)); assert_true 37 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param(PCMK_STONITH_STONITH_TIMEOUT)); assert_true 47 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param("pcmk_on_action")); assert_true 48 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param("pcmk_on_timeout")); assert_true 49 lib/common/tests/agents/pcmk_stonith_param_test.c assert_true(pcmk_stonith_param("pcmk_on_retries")); assert_true 21 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_all_flags_set(0x00f, 0x003)); assert_true 24 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_all_flags_set(0x000, 0x000)); assert_true 25 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_all_flags_set(0x00f, 0x000)); assert_true 31 lib/common/tests/flags/pcmk_all_flags_set_test.c assert_true(pcmk_is_set(0x00f, 0x001)); assert_true 22 lib/common/tests/flags/pcmk_any_flags_set_test.c assert_true(pcmk_any_flags_set(0x00f, 0x001)); assert_true 24 lib/common/tests/flags/pcmk_any_flags_set_test.c assert_true(pcmk_any_flags_set(0x00f, 0x011)); assert_true 22 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("none")); assert_true 23 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("None")); assert_true 24 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("NONE")); assert_true 25 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("NoNe")); assert_true 26 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("migrate-on-red")); assert_true 27 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("only-green")); assert_true 28 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("progressive")); assert_true 29 lib/common/tests/health/pcmk__validate_health_strategy_test.c assert_true(pcmk__validate_health_strategy("custom")); assert_true 47 lib/common/tests/nvpair/pcmk__xe_attr_is_true_test.c assert_true(pcmk__xe_attr_is_true(node, "a")); assert_true 54 lib/common/tests/nvpair/pcmk__xe_get_bool_attr_test.c assert_true(value); assert_true 27 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, &ms)); assert_true 42 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("ClusterIP:0_start_0", &rsc, &ty, &ms)); assert_true 49 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("imagestoreclone:1_post_notify_stop_0", &rsc, &ty, &ms)); assert_true 64 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("httpd-bundle-0_monitor_30000", &rsc, &ty, &ms)); assert_true 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)); assert_true 86 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_from_0", &rsc, &ty, &ms)); assert_true 93 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_migrate_to_0", &rsc, &ty, &ms)); assert_true 100 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("vm_idcc_devel_migrate_to_0", &rsc, &ty, &ms)); assert_true 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)); assert_true 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)); assert_true 129 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("post_notify_start_0", &rsc, &ty, &ms)); assert_true 143 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", NULL, &ty, &ms)); assert_true 155 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, NULL, &ms)); assert_true 167 lib/common/tests/operations/parse_op_key_test.c assert_true(parse_op_key("Fencing_monitor_60000", &rsc, &ty, NULL)); assert_true 26 lib/common/tests/operations/pcmk_is_probe_test.c assert_true(pcmk_is_probe("monitor", 0)); assert_true 43 lib/common/tests/operations/pcmk_xe_is_probe_test.c assert_true(pcmk_xe_is_probe(node)); assert_true 55 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 64 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 68 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 81 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 85 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 94 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 98 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 115 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 119 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 136 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 140 lib/common/tests/operations/pcmk_xe_mask_probe_failure_test.c assert_true(pcmk_xe_mask_probe_failure(node)); assert_true 25 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("true")); assert_true 26 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("TrUe")); assert_true 27 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("on")); assert_true 28 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("ON")); assert_true 29 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("yes")); assert_true 30 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("yES")); assert_true 31 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("y")); assert_true 32 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("Y")); assert_true 33 lib/common/tests/strings/crm_is_true_test.c assert_true(crm_is_true("1")); assert_true 30 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 32 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 34 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 36 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 38 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 40 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 42 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 44 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 46 lib/common/tests/strings/crm_str_to_boolean_test.c assert_true(ret); assert_true 28 lib/common/tests/strings/pcmk__char_in_any_str_test.c assert_true(pcmk__char_in_any_str('\0', "xxx", "yyy", NULL)); assert_true 29 lib/common/tests/strings/pcmk__char_in_any_str_test.c assert_true(pcmk__char_in_any_str('\0', "", NULL)); assert_true 35 lib/common/tests/strings/pcmk__char_in_any_str_test.c assert_true(pcmk__char_in_any_str('x', "aaa", "bbb", "xxx", NULL)); assert_true 22 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with(NULL, NULL)); assert_true 23 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with(NULL, "")); assert_true 24 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("", NULL)); assert_true 25 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("", "")); assert_true 26 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", NULL)); assert_true 27 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "")); assert_true 32 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "abc")); assert_true 33 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "bc")); assert_true 34 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abc", "c")); assert_true 35 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with("abcbc", "bc")); assert_true 47 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with_ext("ab.c", ".c")); assert_true 48 lib/common/tests/strings/pcmk__ends_with_test.c assert_true(pcmk__ends_with_ext("ab.cb.c", ".c")); assert_true 29 lib/common/tests/strings/pcmk__scan_double_test.c #define assert_float_equal(a, b, epsilon) assert_true(fabs((a) - (b)) < (epsilon)) assert_true 119 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result > DBL_MAX); assert_true 123 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result < -DBL_MAX); assert_true 140 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result >= 0.0); assert_true 141 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result <= DBL_MIN); assert_true 145 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result <= 0.0); assert_true 146 lib/common/tests/strings/pcmk__scan_double_test.c assert_true(result >= -DBL_MIN); assert_true 26 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "a")); assert_true 27 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "ab")); assert_true 28 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("abc", "abc")); assert_true 34 lib/common/tests/strings/pcmk__starts_with_test.c assert_true(pcmk__starts_with("xyz", "")); assert_true 36 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("xxx", "aaa", "bbb", "xxx", NULL)); assert_true 37 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__str_any_of("xxx", "aaa", "bbb", "xxx", NULL)); assert_true 38 lib/common/tests/strings/pcmk__str_any_of_test.c assert_true(pcmk__strcase_any_of("XXX", "aaa", "bbb", "xxx", NULL)); assert_true 35 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list(NULL, list, pcmk__str_null_matches)); assert_true 49 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("xxx", list, pcmk__str_star_matches)); assert_true 50 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("yyy", list, pcmk__str_star_matches)); assert_true 51 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("XXX", list, pcmk__str_star_matches|pcmk__str_casei)); assert_true 52 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("", list, pcmk__str_star_matches)); assert_true 80 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("xxx", list, pcmk__str_none)); assert_true 81 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("XXX", list, pcmk__str_casei)); assert_true 82 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("yyy", list, pcmk__str_none)); assert_true 83 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("YYY", list, pcmk__str_casei)); assert_true 84 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("zzz", list, pcmk__str_none)); assert_true 85 lib/common/tests/strings/pcmk__str_in_list_test.c assert_true(pcmk__str_in_list("ZZZ", list, pcmk__str_casei)); assert_true 24 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, s1, pcmk__str_none)); assert_true 35 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, NULL, pcmk__str_null_matches)); assert_true 58 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, s2, pcmk__str_casei)); assert_true 69 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s1, "a..d", pcmk__str_regex)); assert_true 73 lib/common/tests/strings/pcmk__strcmp_test.c assert_true(pcmk__str_eq(s2, "a..d", pcmk__str_regex|pcmk__str_casei)); assert_true 28 lib/common/tests/strings/pcmk__strikey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-abc"))); assert_true 28 lib/common/tests/strings/pcmk__strkey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-abc"), strdup("val-abc"))); assert_true 36 lib/common/tests/strings/pcmk__strkey_table_test.c assert_true(g_hash_table_insert(tbl, strdup("key-ABC"), strdup("val-abc"))); assert_true 21 lib/common/tests/utils/pcmk_str_is_infinity_test.c assert_true(pcmk_str_is_infinity("INFINITY")); assert_true 22 lib/common/tests/utils/pcmk_str_is_infinity_test.c assert_true(pcmk_str_is_infinity("+INFINITY")); assert_true 21 lib/common/tests/utils/pcmk_str_is_minus_infinity_test.c assert_true(pcmk_str_is_minus_infinity("-INFINITY")); assert_true 111 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(dummy, "dummy")); assert_true 120 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(exim_group, "exim-group")); assert_true 129 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(promotable_0, "promotable-rsc")); assert_true 130 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(promotable_1, "promotable-rsc")); assert_true 142 lib/pengine/tests/native/pe_base_name_eq_test.c assert_true(pe_base_name_eq(httpd_bundle, "httpd-bundle"));