Lines Matching defs:conf
31 am_config_t * conf;
57 conf = am_get_config_file(1, path);
59 assert_int_equal(!conf->not_enforced_regex_enable, AM_TRUE);
60 assert_int_equal(conf->not_enforced_map_sz, 2);
61 assert_string_equal(conf->not_enforced_map[0].value, "http://a.b.c:80/path");
62 assert_string_equal(conf->not_enforced_map[1].value, "https://a.b.c:1234/path");
64 assert_int_equal(!conf->not_enforced_ext_regex_enable, AM_TRUE);
65 assert_int_equal(conf->not_enforced_ext_map_sz, 2);
66 assert_string_equal(conf->not_enforced_ext_map[0].value, "http://a.b.c:80/path");
67 assert_string_equal(conf->not_enforced_ext_map[1].value, "https://a.b.c:443/path");
69 assert_int_equal(!conf->logout_regex_enable, AM_TRUE);
70 assert_int_equal(conf->logout_map_sz, 2);
71 assert_string_equal(conf->logout_map[0].value, "http://a.b.c:80/path");
72 assert_string_equal(conf->logout_map[1].value, "https://a.b.c:443/path");
74 assert_int_equal(conf->json_url_map_sz, 2);
75 assert_string_equal(conf->json_url_map[0].value, "http://a.b.c:80/path");
76 assert_string_equal(conf->json_url_map[1].value, "https://a.b.c:443/path");
82 am_config_t conf;
88 memset(&conf, 0, sizeof (am_config_t));
89 conf.login_url = map;
90 conf.login_url_sz = MAP_SIZE;
99 update_agent_configuration_reorder_map_values(&conf);