tests: ui-call: Test property equality

And especially if properties get updated on both sides.
This commit is contained in:
Evangelos Ribeiro Tzaras
2022-02-01 22:24:39 +01:00
parent 1ca83bc2bc
commit d5ccb40e68
2 changed files with 60 additions and 2 deletions

View File

@@ -115,10 +115,14 @@ t = executable('util', test_sources,
)
test('util', t, env: test_env)
test_sources = [ 'test-ui-call.c' ]
mock_link_args = [ test_link_args,
'-Wl,--wrap=calls_contacts_provider_new',
]
test_sources = [ 'test-ui-call.c', 'mock-call.c', 'mock-call.h' ]
t = executable('ui-call', test_sources,
c_args : test_cflags,
link_args : test_link_args,
link_args : mock_link_args,
pie: true,
link_with : [calls_vala, libcalls],
dependencies : calls_deps,