Lines Matching refs:be_ctx
66 struct be_ctx *be_ctx;
89 test_ctx->be_ctx = mock_be_ctx(test_ctx, test_ctx->tctx);
90 assert_non_null(test_ctx->be_ctx);
92 test_ctx->be_ctx->domain->subdomains = named_domain(test_ctx,
94 test_ctx->be_ctx->domain);
95 assert_non_null(test_ctx->be_ctx->domain->subdomains);
125 assert_domain_state(test_ctx->be_ctx->domain->subdomains,
136 assert_domain_state(test_ctx->be_ctx->domain, DOM_ACTIVE);
137 assert_false(be_is_offline(test_ctx->be_ctx));
139 be_mark_dom_offline(test_ctx->be_ctx->domain, test_ctx->be_ctx);
141 assert_true(be_is_offline(test_ctx->be_ctx));
142 assert_domain_state(test_ctx->be_ctx->domain, DOM_ACTIVE);
152 assert_domain_state(test_ctx->be_ctx->domain->subdomains,
154 assert_false(be_is_offline(test_ctx->be_ctx));
157 be_mark_dom_offline(test_ctx->be_ctx->domain->subdomains, test_ctx->be_ctx);
158 assert_domain_state(test_ctx->be_ctx->domain->subdomains,
165 assert_false(be_is_offline(test_ctx->be_ctx));
169 be_mark_dom_offline(test_ctx->be_ctx->domain->subdomains, test_ctx->be_ctx);
170 assert_domain_state(test_ctx->be_ctx->domain->subdomains,
193 sss_domain_set_state(test_ctx->be_ctx->domain->subdomains, DOM_DISABLED);
194 assert_domain_state(test_ctx->be_ctx->domain->subdomains,
197 be_mark_dom_offline(test_ctx->be_ctx->domain->subdomains, test_ctx->be_ctx);
198 assert_domain_state(test_ctx->be_ctx->domain->subdomains,