mirror of
https://gitlab.freedesktop.org/pipewire/wireplumber.git
synced 2026-06-19 11:08:27 +02:00
test-utils: add a restartPlugin API
This commit is contained in:
parent
c88a569835
commit
c7c06351f7
1 changed files with 4 additions and 0 deletions
|
|
@ -82,6 +82,10 @@ function u.createStreamNode (stream_type, props)
|
|||
u.lnkbl_count = u.lnkbl_count + 1
|
||||
end
|
||||
|
||||
function u.restartPlugin (name)
|
||||
u.script_tester_plugin:call ("restart-plugin", name)
|
||||
end
|
||||
|
||||
u.metadata = cu.default_metadata_om:lookup ()
|
||||
assert (u.metadata ~= nil)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue