Lines Matching refs:server_mode

236     struct ipa_server_mode_ctx *server_mode;
238 server_mode = talloc_zero(mem_ctx, struct ipa_server_mode_ctx);
239 assert_non_null(server_mode);
241 server_mode->hostname = HOSTNAME;
242 server_mode->realm = DOM_REALM;
244 return server_mode;
308 test_ctx->ipa_ctx->server_mode = mock_server_mode(test_ctx->ipa_ctx);
309 assert_non_null(test_ctx->ipa_ctx->server_mode);
466 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts);
467 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts->next);
469 if (strcmp(test_ctx->ipa_ctx->server_mode->trusts->dom->name,
471 s_trust = test_ctx->ipa_ctx->server_mode->trusts;
472 c_trust = test_ctx->ipa_ctx->server_mode->trusts->next;
474 s_trust = test_ctx->ipa_ctx->server_mode->trusts->next;
475 c_trust = test_ctx->ipa_ctx->server_mode->trusts;
496 assert_null(test_ctx->ipa_ctx->server_mode->trusts->next->next);
506 assert_trust_object(test_ctx->ipa_ctx->server_mode->trusts,
513 assert_null(test_ctx->ipa_ctx->server_mode->trusts->next);
553 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts);
554 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts->next);
556 if (strcmp(test_ctx->ipa_ctx->server_mode->trusts->dom->name,
558 s_trust = test_ctx->ipa_ctx->server_mode->trusts;
559 c_trust = test_ctx->ipa_ctx->server_mode->trusts->next;
561 s_trust = test_ctx->ipa_ctx->server_mode->trusts->next;
562 c_trust = test_ctx->ipa_ctx->server_mode->trusts;
583 assert_null(test_ctx->ipa_ctx->server_mode->trusts->next->next);
707 assert_null(test_ctx->ipa_ctx->server_mode->trusts);
742 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts);
743 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts->next);
745 if (strcmp(test_ctx->ipa_ctx->server_mode->trusts->dom->name,
747 s_trust = test_ctx->ipa_ctx->server_mode->trusts;
748 c_trust = test_ctx->ipa_ctx->server_mode->trusts->next;
750 s_trust = test_ctx->ipa_ctx->server_mode->trusts->next;
751 c_trust = test_ctx->ipa_ctx->server_mode->trusts;
772 assert_null(test_ctx->ipa_ctx->server_mode->trusts->next->next);
791 assert_null(test_ctx->ipa_ctx->server_mode->trusts);
825 assert_null(test_ctx->ipa_ctx->server_mode->trusts);
857 assert_null(test_ctx->ipa_ctx->server_mode->trusts);
909 assert_non_null(test_ctx->ipa_ctx->server_mode->trusts);