assert_score 36 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(NULL, pcmk_rc_ok, default_score); assert_score 41 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(NULL, pcmk_rc_ok, -PCMK_SCORE_INFINITY); assert_score 44 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(NULL, pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 61 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("redder", EINVAL, default_score); assert_score 62 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("3.141592", pcmk_rc_ok, 3); assert_score 63 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("0xf00d", pcmk_rc_ok, 0); assert_score 69 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("-INFINITY", pcmk_rc_ok, -PCMK_SCORE_INFINITY); assert_score 70 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("INFINITY", pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 71 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("+INFINITY", pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 77 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("red", pcmk_rc_ok, pcmk__score_red); assert_score 78 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("green", pcmk_rc_ok, pcmk__score_green); assert_score 79 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("yellow", pcmk_rc_ok, pcmk__score_yellow); assert_score 81 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("ReD", pcmk_rc_ok, pcmk__score_red); assert_score 82 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("GrEeN", pcmk_rc_ok, pcmk__score_green); assert_score 83 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("yElLoW", pcmk_rc_ok, pcmk__score_yellow); assert_score 96 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(B(PCMK_SCORE_INFINITY) "00", pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 97 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("-" B(PCMK_SCORE_INFINITY) "00", pcmk_rc_ok, assert_score 101 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(very_long, pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 103 lib/common/tests/scores/pcmk_parse_score_test.c assert_score(very_long, pcmk_rc_ok, -PCMK_SCORE_INFINITY); assert_score 110 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("1234", pcmk_rc_ok, 1234); assert_score 111 lib/common/tests/scores/pcmk_parse_score_test.c assert_score("-1234", pcmk_rc_ok, -1234); assert_score 55 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(NULL, pcmk_rc_ok, default_score); assert_score 60 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(NULL, pcmk_rc_ok, -PCMK_SCORE_INFINITY); assert_score 63 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(NULL, pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 90 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("redder", EINVAL, default_score); assert_score 91 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("3.141592", pcmk_rc_ok, 3); assert_score 92 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("0xf00d", pcmk_rc_ok, 0); assert_score 98 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("-INFINITY", pcmk_rc_ok, -PCMK_SCORE_INFINITY); assert_score 99 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("INFINITY", pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 100 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("+INFINITY", pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 106 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("red", pcmk_rc_ok, pcmk__score_red); assert_score 107 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("green", pcmk_rc_ok, pcmk__score_green); assert_score 108 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("yellow", pcmk_rc_ok, pcmk__score_yellow); assert_score 110 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("ReD", pcmk_rc_ok, pcmk__score_red); assert_score 111 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("GrEeN", pcmk_rc_ok, pcmk__score_green); assert_score 112 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("yElLoW", pcmk_rc_ok, pcmk__score_yellow); assert_score 125 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(B(PCMK_SCORE_INFINITY) "00", pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 126 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("-" B(PCMK_SCORE_INFINITY) "00", pcmk_rc_ok, assert_score 130 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(very_long, pcmk_rc_ok, PCMK_SCORE_INFINITY); assert_score 132 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score(very_long, pcmk_rc_ok, -PCMK_SCORE_INFINITY); assert_score 138 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("1234", pcmk_rc_ok, 1234); assert_score 139 lib/common/tests/xml/pcmk__xe_get_score_test.c assert_score("-1234", pcmk_rc_ok, -1234);