1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-04 23:51:17 +00:00
Purism-Calls/tests
Evangelos Ribeiro Tzaras 0b2f146053 manager: support multiple providers
This includes the following changes:
- Introduce a `providers` hash table to keep track of multiple CallProvider's
  and remove the `provider` member
- Remove `calls_manager_get_provider()` and `calls_manager_set_provider()`
  in favour of `calls_manager_add_provider()`, `calls_manager_remove_provider()`
  and `calls_manager_has_provider()`
- Introduce a `origins` GListStore to keep track of available origins.
  `origins` is updated in `items_changed_cb()` when the origins of any
  CallsProvider are updated.
- Adapt to changes with respect to `calls_manager_get_origins()`.
- Introduce `origins_by_protocol` hash table to keep track of available origins
  per protocol.
- Adjust tests
- We temporarily break country code lookup which was handled previously
  with the "default-origin" mechanism. We will add it back to the CallsSettings
  class which will provide a better application-wide mechanism.
2021-06-01 14:52:18 +02:00
..
common.h tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
meson.build test: Add util tests 2021-05-28 13:18:24 +02:00
setup-call.c tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
setup-call.h tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
setup-origin.c provider: Use GListModel to track origins 2021-02-25 08:44:56 +05:30
setup-origin.h Turn providers into plugins courtesy of libpeas 2018-11-23 15:51:46 +00:00
setup-provider.c tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
setup-provider.h tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
test-account.c test: Add account tests 2021-05-04 06:48:36 +02:00
test-call.c calls-dummy-origin: Fix ordering of state change and call removal callbacks 2019-07-22 14:37:27 +01:00
test-manager.c manager: support multiple providers 2021-06-01 14:52:18 +02:00
test-origin.c tests: Add tests for Origin and Calls 2018-10-03 14:21:28 +00:00
test-plugins.c tests: Update year in SPDX header 2021-04-12 08:38:24 +00:00
test-provider.c provider: Use GListModel to track origins 2021-02-25 08:44:56 +05:30
test-sip.c sip: origin: Use CallsAccountState instead of SipAccountState 2021-05-04 05:57:42 +02:00
test-util.c test: Add util tests 2021-05-28 13:18:24 +02:00