| 666 | } host_http_reconcile_test_context_t; |
| 667 | |
| 668 | static void host_http_test_config_load(void *opaque, cbm_ui_config_t *config_out) { |
| 669 | host_http_reconcile_test_context_t *context = opaque; |
| 670 | context->config_loads++; |
| 671 | config_out->ui_enabled = true; |
| 672 | bool change_port = context->config_change_after_load > 0 && |
| 673 | context->config_loads == context->config_change_after_load; |
| 674 | config_out->ui_port = change_port ? CBM_UI_DEFAULT_PORT + 1 : CBM_UI_DEFAULT_PORT; |
| 675 | } |
| 676 | |
| 677 | static cbm_http_server_t *host_http_test_server_new(void *opaque, int port) { |
| 678 | (void)port; |
nothing calls this directly
no outgoing calls
no test coverage detected