]> git.alsa-project.org Git - alsa-gobject.git/commitdiff
ctl: tests: fix a test template for elem_id
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>
Sun, 22 Dec 2019 02:04:26 +0000 (11:04 +0900)
committer坂本 貴史 <o-takashi@sakamocchi.jp>
Sat, 28 Dec 2019 04:16:48 +0000 (13:16 +0900)
Although a test template for elem_id does not run actually, it's better
to keep it as prepared. This commit fixes the test template for the
latest implementation of elem_id.

Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
tests/alsactl-elem-id

index 155b141f15106253980c2f6a4c59f22e77845778..454ff9dfe6958a1167d2771ed29fa34aac6fa216 100644 (file)
@@ -10,15 +10,15 @@ gi.require_version('ALSACtl', '0.0')
 from gi.repository import ALSACtl
 
 target = ALSACtl.ElemId()
-props = (
-    'numid',
-    'iface',
-    'device',
-    'subdevice',
-    'name',
-    'index',
+props = ()
+methods = (
+    'get_numid',
+    'get_iface',
+    'get_device',
+    'get_subdevice',
+    'get_name',
+    'get_index',
 )
-methods = ()
 signals = ()
 
 if not test(target, props, methods, signals):