Searched refs:check_if (Results 1 - 5 of 5) sorted by relevance
/macosx-10.10.1/MITKerberosShim-66/mittestcc/ |
H A D | test_ccapi_check.h | 13 check_if(a != b, NULL) 16 * if expression evaluates to true, check_if increments the failure_count and prints: 18 * check_if(a!=a, NULL); 21 * check_if(a!=a, "This shouldn't be happening"); 24 * check_if(a!=a, "This has happened %d times now", 3); 28 #define check_if(expression, format, ...) \ macro 32 check_if(!(expression), format, ## __VA_ARGS__) 38 check_if(err != expected_err, "unexpected error %s (%d), expected %s (%d)", translate_ccapi_error(err), err, translate_ccapi_error(expected_err), expected_err); \
|
H A D | test_ccapi_context.c | 54 check_if(context == NULL, NULL); 60 check_if(context != NULL, NULL); 264 check_if(current_change_time <= last_change_time, "context change time did not increase when it was supposed to (%d <= %d)", current_change_time, last_change_time); 435 check_if(*ccache == NULL, NULL); 441 check_if(strcmp(stored_name->data, name), NULL); 527 check_if(*ccache == NULL, NULL); 533 check_if(strcmp(given_name->data, default_name->data), "name of ccache returned by cc_context_open_default_ccache doesn't match name returned by cc_context_get_default_ccache_name"); 626 check_if(*ccache == NULL, NULL); 631 if (!err) { check_if(strcmp(stored_name->data, name), NULL); } 637 if (!err) { check_if(stored_creds_ver [all...] |
H A D | test_ccapi_ccache.c | 72 check_if(err == ccErrCCacheNotFound, "released ccache was actually destroyed instead"); 146 check_if(err != ccErrCCacheNotFound, "destroyed ccache was actually released instead"); 259 check_if(strcmp(name->data, default_name->data), NULL); 262 check_if(1, "cc_ccache_get_name failed"); 388 check_if(stored_cred_vers != expected_cred_vers, NULL); 496 check_if(strcmp(stored_name->data, expected_name), NULL); 545 check_if(strcmp(stored_principal->data, expected_principal), "expected princ == \"%s\" stored princ == \"%s\"", expected_principal, stored_principal->data); 788 check_if(strcmp(stored_principal->data, in_principal), "expected princ == \"%s\" stored princ == \"%s\"", in_principal, stored_principal->data); 944 check_if((creds != NULL), "stored credentials not found in ccache"); 1099 check_if((cred [all...] |
H A D | test_ccapi_v2.c | 329 check_if(current_change_time <= last_change_time, "context change time did not increase when it was supposed to (%d <= %d)", current_change_time, last_change_time); 409 check_if(*ccache == NULL, NULL); 415 check_if(strcmp(stored_name, name), NULL); 500 check_if(*ccache == NULL, NULL); 505 if (!err) { check_if(strcmp(stored_name, name), NULL); } 509 if (!err) { check_if(stored_creds_vers != cred_vers, NULL); } 512 if (!err) { check_if(strcmp(stored_principal, principal), NULL); } 578 check_if(err == CC_NO_EXIST, "released ccache was actually destroyed instead"); 579 check_if(err != CC_NOERROR, "released ccache cannot be opened"); 643 check_if(er [all...] |
H A D | test_ccapi_iterators.c | 117 check_if(actual_count != expected_count, "iterator didn't iterate over all ccaches"); 241 check_if(actual_count != expected_count, "iterator didn't iterate over all ccaches");
|
Completed in 87 milliseconds